Example #1
0
 def _convert_to_24fps(self, time_str):
     ms = time_expression_to_milliseconds(time_str)
     fps_24 = ms/1.001001001
     return milliseconds_to_time_clock_exp(fps_24)
Example #2
0
 def test_expression(self):
     # should looke like 1h:10:20:200
     milliseconds  = (((1 * 3600 ) + (10 * 60 ) + (20 )) * 1000 )  + 200
     self.assertEquals("01:10:20.200", storage.milliseconds_to_time_clock_exp(milliseconds))
Example #3
0
 def test_expression(self):
     # should looke like 1h:10:20:200
     milliseconds = (((1 * 3600) + (10 * 60) + (20)) * 1000) + 200
     self.assertEquals("01:10:20.200",
                       storage.milliseconds_to_time_clock_exp(milliseconds))