Home
last modified time | relevance | path

Searched refs:setfirstweekday (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/
Dtest_calendar.py504 self.assertRaises(TypeError, calendar.setfirstweekday, 'flabber')
505 self.assertRaises(ValueError, calendar.setfirstweekday, -1)
506 self.assertRaises(ValueError, calendar.setfirstweekday, 200)
508 calendar.setfirstweekday(calendar.SUNDAY)
510 calendar.setfirstweekday(calendar.MONDAY)
512 calendar.setfirstweekday(orig)
516 calendar.setfirstweekday(123)
626 calendar.setfirstweekday(self.firstweekday)
629 calendar.setfirstweekday(self.oldfirstweekday)
/third_party/python/Doc/library/
Dcalendar.rst17 (the European convention). Use :func:`setfirstweekday` to set the first day of
147 :meth:`setfirstweekday` method.
161 :meth:`setfirstweekday` method. The earliest year for which a calendar
302 .. function:: setfirstweekday(weekday)
310 calendar.setfirstweekday(calendar.SUNDAY)
353 unless set by :func:`setfirstweekday`.
/third_party/python/Lib/
Dcalendar.py160 def setfirstweekday(self, firstweekday): member in Calendar
163 firstweekday = property(getfirstweekday, setfirstweekday)
607 def setfirstweekday(firstweekday): function