Home
last modified time | relevance | path

Searched refs:fromisoformat (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst656 Added new alternate constructors :meth:`datetime.datetime.fromisoformat`,
657 :meth:`datetime.time.fromisoformat` and :meth:`datetime.date.fromisoformat`
D3.8.0a1.rst3429 Fix the .fromisoformat() methods of datetime types crashing when given
3431 datetime.fromisoformat() now accepts surrogate unicode code points used as
D3.9.0a1.rst3695 Added a link to dateutil.parser.isoparse in the datetime.fromisoformat
/external/oss-fuzz/infra/
Dbuild_specified_commit.py358 timestamp = datetime.datetime.fromisoformat(
/external/python/cpython3/Lib/test/
Ddatetimetester.py1828 dt_rt = self.theclass.fromisoformat(dt.isoformat())
1838 dt_rt = DateSubclass.fromisoformat(dt.isoformat())
1860 self.theclass.fromisoformat(bad_str)
1869 self.theclass.fromisoformat(bad_type)
2914 dt_rt = self.theclass.fromisoformat(dtstr)
2939 dt_rt = self.theclass.fromisoformat(dtstr)
2956 dt_rt = self.theclass.fromisoformat(dtstr)
2967 dt_rt = self.theclass.fromisoformat(dtstr)
2993 dt_rt = self.theclass.fromisoformat(dtstr)
3032 self.theclass.fromisoformat(bad_str)
[all …]
/external/python/cpython3/Doc/library/
Ddatetime.rst518 .. classmethod:: date.fromisoformat(date_string)
524 >>> date.fromisoformat('2019-12-04')
704 This is the inverse of :meth:`date.fromisoformat`.
986 .. classmethod:: datetime.fromisoformat(date_string)
1009 >>> datetime.fromisoformat('2011-11-04')
1011 >>> datetime.fromisoformat('2011-11-04T00:05:23')
1013 >>> datetime.fromisoformat('2011-11-04 00:05:23.283')
1015 >>> datetime.fromisoformat('2011-11-04 00:05:23.283+00:00')
1017 >>> datetime.fromisoformat('2011-11-04T00:05:23+04:00') # doctest: +NORMALIZE_WHITESPACE
1755 .. classmethod:: time.fromisoformat(time_string)
[all …]
/external/python/cpython3/Lib/
Ddatetime.py880 def fromisoformat(cls, date_string): member in date
1468 def fromisoformat(cls, time_string): member in time
1752 def fromisoformat(cls, date_string): member in datetime
/external/python/cpython3/Doc/whatsnew/
D3.7.rst860 The new :meth:`datetime.fromisoformat() <datetime.datetime.fromisoformat>`