Home
last modified time | relevance | path

Searched refs:datetime_date (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/
D_strptime.py19 from datetime import (date as datetime_date, unknown
276 first_weekday = datetime_date(year, 1, 1).weekday()
298 correction = datetime_date(iso_year, 1, 4).isoweekday() + 3
303 ordinal += datetime_date(iso_year, 1, 1).toordinal()
305 ordinal -= datetime_date(iso_year, 1, 1).toordinal()
534 julian = datetime_date(year, month, day).toordinal() - \
535 datetime_date(year, 1, 1).toordinal() + 1
538 datetime_result = datetime_date.fromordinal(
540 datetime_date(year, 1, 1).toordinal())
545 weekday = datetime_date(year, month, day).weekday()
/third_party/python/Lib/test/
Dtest_strptime.py11 from datetime import date as datetime_date unknown
555 dt_date = datetime_date(*ymd_tuple)