Home
last modified time | relevance | path

Searched refs:parse_date (Results 1 – 5 of 5) sorted by relevance

/external/toybox/toys/posix/
Ddate.c68 static void parse_date(char *str, time_t *t) in parse_date() function
159 } else parse_date(TT.d, &t); in date_main()
184 parse_date(setdate, &t); in date_main()
/external/python/cryptography/tests/
Dtest_fernet.py61 calendar.timegm(iso8601.parse_date(now).utctimetuple()),
72 current_time = calendar.timegm(iso8601.parse_date(now).utctimetuple())
80 current_time = calendar.timegm(iso8601.parse_date(now).utctimetuple())
112 current_time = calendar.timegm(iso8601.parse_date(ts).utctimetuple())
/external/toolchain-utils/pgo_tools/
Dmonitor_pgo_profiles.py30 def parse_date(date: str) -> datetime.datetime: function
55 infos.append(ProfdataInfo(date=parse_date(date), location=url))
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py58 def parse_date(text): function
61 self.assertEqual(parse_date("01 Jan 2001"), (2001, 1, 1, 0, 0, 0.0))
64 self.assertEqual(parse_date("03-Feb-20"), (2020, 2, 3, 0, 0, 0.0))
67 self.assertEqual(parse_date("03-Feb-98"), (1998, 2, 3, 0, 0, 0.0))
134 def parse_date(text): function
138 self.assertEqual(parse_date("19940203T141529Z"),
142 self.assertEqual(parse_date("1994-02-03 07:15:29 -0700"),
146 self.assertEqual(parse_date("1994-02-03 19:45:29 +0530"),
/external/python/cpython2/Lib/test/
Dtest_cookielib.py55 def parse_date(text): function
58 self.assertEqual(parse_date("01 Jan 2001"), (2001, 1, 1, 0, 0, 0.0))
61 self.assertEqual(parse_date("03-Feb-20"), (2020, 2, 3, 0, 0, 0.0))
64 self.assertEqual(parse_date("03-Feb-98"), (1998, 2, 3, 0, 0, 0.0))