def floorTimestamps(self, start, end, timeline):
ret = {}<EOL>for timestamp, value in timeline.items():<EOL><INDENT>ts = timestamp / <NUM_LIT> * <NUM_LIT><EOL>if start <= ts <= end:<EOL><INDENT>ret[ts] = value<EOL><DEDENT><DEDENT>return ret<EOL>
floor timestamp