Lines Matching refs:date_string
991 def fromisoformat(cls, date_string): argument
993 if not isinstance(date_string, str):
996 if len(date_string) not in (7, 8, 10):
1000 return cls(*_parse_isoformat_date(date_string))
1852 def fromisoformat(cls, date_string): argument
1854 if not isinstance(date_string, str):
1857 if len(date_string) < 7:
1862 separator_location = _find_isoformat_datetime_separator(date_string)
1863 dstr = date_string[0:separator_location]
1864 tstr = date_string[(separator_location+1):]
2092 def strptime(cls, date_string, format): argument
2095 return _strptime._strptime_datetime(cls, date_string, format)