[Quickfix-developers] StartDay and EndDay keys
Brought to you by:
orenmnero
From: Thiago M. <thi...@cm...> - 2008-08-11 16:08:56
|
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 |