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

  /external/chromium-trace/catapult/third_party/Paste/tests/test_util/
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/
datetimeutil.py 31 ``parse_time`` and ``normalize_time``
60 'parse_time', 'normalize_time',
156 def normalize_time(value, ampm): function

Completed in 70 milliseconds