def compareResultByTimeTuplesAndFlags(result, check, dateOnly=False):
return (_compareTimeTuples(result[<NUM_LIT:0>], check[<NUM_LIT:0>], dateOnly) and<EOL>_compareFlags(result[<NUM_LIT:1>], check[<NUM_LIT:1>]))<EOL>
Ensures that flags are an exact match and time tuples a close match when
given data in the format ((timetuple), flag)