def setDefault(self, constant, start, end):
starttime = start / <NUM_LIT> * <NUM_LIT><EOL>if starttime < start:<EOL><INDENT>starttime += <NUM_LIT><EOL><DEDENT>endtime = end / <NUM_LIT> * <NUM_LIT><EOL>while starttime <= endtime:<EOL><INDENT>if starttime not in self.timeline or self.timeline[starttime] == <NUM_LIT:0>:<EOL><INDENT>self.timeline[starttime] = constant<EOL><DEDENT>starttime += <NUM_LIT><EOL><DEDENT>
set default time