HomeSort by relevance Sort by last modified time
    Searched refs:normalize_timedelta (Results 1 - 2 of 2) sorted by null

  /external/chromium-trace/catapult/third_party/Paste/tests/test_util/
test_datetimeutil.py 10 assert('' == normalize_timedelta(""))
11 assert('0.10' == normalize_timedelta("6m"))
12 assert('0.50' == normalize_timedelta("30m"))
13 assert('0.75' == normalize_timedelta("45m"))
14 assert('1.00' == normalize_timedelta("60 min"))
15 assert('1.50' == normalize_timedelta("90min"))
16 assert('1.50' == normalize_timedelta("1.50"))
17 assert('4.50' == normalize_timedelta("4 : 30"))
18 assert('1.50' == normalize_timedelta("1h 30m"))
19 assert('1.00' == normalize_timedelta("1")
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
datetimeutil.py 59 __all__ = ['parse_timedelta', 'normalize_timedelta',
99 def normalize_timedelta(val): function

Completed in 90 milliseconds