Searched refs:datetime_date (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | _strptime.py | 19 from datetime import (date as datetime_date, unknown 285 first_weekday = datetime_date(year, 1, 1).weekday() 307 correction = datetime_date(iso_year, 1, 4).isoweekday() + 3 312 ordinal += datetime_date(iso_year, 1, 1).toordinal() 314 ordinal -= datetime_date(iso_year, 1, 1).toordinal() 543 julian = datetime_date(year, month, day).toordinal() - \ 544 datetime_date(year, 1, 1).toordinal() + 1 547 datetime_result = datetime_date.fromordinal( 549 datetime_date(year, 1, 1).toordinal()) 554 weekday = datetime_date(year, month, day).weekday()
|
/external/python/cpython2/Lib/ |
D | _strptime.py | 19 from datetime import date as datetime_date unknown 282 first_weekday = datetime_date(year, 1, 1).weekday() 457 julian = datetime_date(year, month, day).toordinal() - \ 458 datetime_date(year, 1, 1).toordinal() + 1 461 … datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal()) 466 weekday = datetime_date(year, month, day).weekday()
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 10 from datetime import date as datetime_date unknown 452 dt_date = datetime_date(*ymd_tuple)
|
/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 10 from datetime import date as datetime_date unknown 549 dt_date = datetime_date(*ymd_tuple)
|