Searched refs:date_str (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/ |
H A D | nntplib.py | 235 def _parse_datetime(date_str, time_str=None): 241 time_str = date_str[-6:] 242 date_str = date_str[:-6] 246 year = int(date_str[:-4]) 247 month = int(date_str[-4:-2]) 248 day = int(date_str[-2:]) 277 date_str = "{0:02d}{1.month:02d}{1.day:02d}".format(y, dt) 279 date_str = "{0:04d}{1.month:02d}{1.day:02d}".format(y, dt) 280 return date_str, time_st [all...] |
/third_party/python/Lib/test/ |
H A D | test_nntplib.py | 637 def handle_NEWNEWS(self, group, date_str, time_str): 640 if (group == "comp.lang.python" and date_str == "20100913" 648 elif (group == "comp.lang.python" and date_str == "100913" 657 date_str in ('20100101', '100101') and 1440 def gives(y, M, d, h, m, s, date_str, time_str): 1443 (date_str, time_str)) 1445 (date_str, time_str)) 1450 def gives(y, M, d, date_str, time_str): 1453 (date_str, time_str)) 1455 (date_str, time_st [all...] |
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 144 let (version_str, date_str) = match get_version_and_date() { in triple() 152 Some(channel) => match Date::parse(&date_str) { in triple()
|
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 3238 date_str(PyDateTime_Date *self) in date_str() function 3654 (reprfunc)date_str, /* tp_str */
|
Completed in 14 milliseconds