Home
last modified time | relevance | path

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

/external/toolchain-utils/
Dauto_delete_nightly_test_data.py236 d = datetime.datetime.today().isoweekday()
/external/python/dateutil/dateutil/tz/
Dwin.py339 weekdayone = first.replace(day=((dayofweek - first.isoweekday()) % 7) + 1)
/external/python/cpython3/Lib/
D_strptime.py298 correction = datetime_date(iso_year, 1, 4).isoweekday() + 3
Ddatetime.py1092 def isoweekday(self): member in date
/external/python/cpython2/Doc/library/
Ddatetime.rst503 :meth:`isoweekday`.
506 .. method:: date.isoweekday()
509 For example, ``date(2002, 12, 4).isoweekday() == 3``, a Wednesday. See also
1000 The same as ``self.date().weekday()``. See also :meth:`isoweekday`.
1003 .. method:: datetime.isoweekday()
1006 The same as ``self.date().isoweekday()``. See also :meth:`weekday`,
/external/python/cpython3/Doc/library/
Ddatetime.rst662 :meth:`isoweekday`.
665 .. method:: date.isoweekday()
668 For example, ``date(2002, 12, 4).isoweekday() == 3``, a Wednesday. See also
1393 The same as ``self.date().weekday()``. See also :meth:`isoweekday`.
1396 .. method:: datetime.isoweekday()
1399 The same as ``self.date().isoweekday()``. See also :meth:`weekday`,
/external/python/cpython2/Lib/test/
Dtest_datetime.py834 self.assertEqual(self.theclass(2002, 3, 4+i).isoweekday(), i+1)
837 self.assertEqual(self.theclass(1956, 1, 2+i).isoweekday(), i+1)
/external/python/cpython3/Lib/test/
Ddatetimetester.py1351 self.assertEqual(self.theclass(2002, 3, 4+i).isoweekday(), i+1)
1354 self.assertEqual(self.theclass(1956, 1, 2+i).isoweekday(), i+1)