Searched refs:parse_date (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/posix/ |
D | date.c | 63 static void parse_date(char *str, time_t *t) in parse_date() function 134 } else parse_date(TT.d, &t); in date_main() 159 parse_date(setdate, &t); in date_main()
|
/external/python/cpython3/Lib/test/ |
D | test_http_cookiejar.py | 57 def parse_date(text): function 60 self.assertEqual(parse_date("01 Jan 2001"), (2001, 1, 1, 0, 0, 0.0)) 63 self.assertEqual(parse_date("03-Feb-20"), (2020, 2, 3, 0, 0, 0.0)) 66 self.assertEqual(parse_date("03-Feb-98"), (1998, 2, 3, 0, 0, 0.0)) 126 def parse_date(text): function 130 self.assertEqual(parse_date("19940203T141529Z"), 134 self.assertEqual(parse_date("1994-02-03 07:15:29 -0700"), 138 self.assertEqual(parse_date("1994-02-03 19:45:29 +0530"),
|
/external/python/cpython2/Lib/test/ |
D | test_cookielib.py | 55 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))
|