Lines Matching refs:date_string
980 def fromisoformat(cls, date_string): argument
982 if not isinstance(date_string, str):
985 if len(date_string) not in (7, 8, 10):
989 return cls(*_parse_isoformat_date(date_string))
1827 def fromisoformat(cls, date_string): argument
1829 if not isinstance(date_string, str):
1832 if len(date_string) < 7:
1837 separator_location = _find_isoformat_datetime_separator(date_string)
1838 dstr = date_string[0:separator_location]
1839 tstr = date_string[(separator_location+1):]
2060 def strptime(cls, date_string, format): argument
2063 return _strptime._strptime_datetime(cls, date_string, format)