Searched refs:normalize_time (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/third_party/Paste/tests/test_util/ |
D | test_datetimeutil.py | 29 assert('03:00 PM' == normalize_time("3p", ampm=True)) 30 assert('03:00 AM' == normalize_time("300", ampm=True)) 31 assert('03:22 AM' == normalize_time("322", ampm=True)) 32 assert('01:22 PM' == normalize_time("1322", ampm=True)) 33 assert('01:00 PM' == normalize_time("13", ampm=True)) 34 assert('12:00 PM' == normalize_time("noon", ampm=True)) 35 assert("06:00 PM" == normalize_time("6", ampm=True)) 36 assert("01:00 PM" == normalize_time("1", ampm=True)) 37 assert("07:00 AM" == normalize_time("7", ampm=True)) 38 assert("01:00 PM" == normalize_time("1 pm", ampm=True)) [all …]
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
D | datetimeutil.py | 156 def normalize_time(value, ampm): function
|