Home
last modified time | relevance | path

Searched refs:normalize_timedelta (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/tests/test_util/
Dtest_datetimeutil.py10 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/
Ddatetimeutil.py99 def normalize_timedelta(val): function