Re: [Quickfix-developers] StartDay and EndDay keys
Brought to you by:
orenmnero
From: Shane T. <str...@co...> - 2008-09-10 13:21:55
|
What is your current configuration setting for start/end day and time? On Mon, Aug 11, 2008 at 11:11 AM, Thiago Melo <thi...@cm...>wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi guys, > > I have a problem about StartDay and EndDay keys. > > When this keys are presents i don't get disconnect because isSessionTime > just return true > > File: SessionTime.cpp > Method: isSessionTime > > ( currentDay == startDay && startDay < endDay ) is true but ( timeOnly > > endTime ) too is true > > I think that missing this ..... > > else if( currentDay == startDay && timeOnly > endTime ) > return false; > > "Houston, have we a problem ?" > > sorry for my english...it's so so > > else if( startDay < endDay ) > { > if( currentDay < startDay || currentDay > endDay ) > return false; > else if( currentDay == startDay && ( timeOnly < startTime ) || > ( timeOnly > endTime ) ) > return false; > else if( currentDay == endDay && timeOnly > endTime ) > return false; > } > > tks > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Shane Trotter Connamara Systems, LLC |