Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_calendar.py228 self.assertRaises(ValueError, calendar.setfirstweekday, 'flabber')
229 self.assertRaises(ValueError, calendar.setfirstweekday, -1)
230 self.assertRaises(ValueError, calendar.setfirstweekday, 200)
232 calendar.setfirstweekday(calendar.SUNDAY)
234 calendar.setfirstweekday(calendar.MONDAY)
236 calendar.setfirstweekday(orig)
319 calendar.setfirstweekday(self.firstweekday)
322 calendar.setfirstweekday(self.oldfirstweekday)
/external/python/cpython3/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)
602 calendar.setfirstweekday(self.firstweekday)
605 calendar.setfirstweekday(self.oldfirstweekday)
/external/python/cpython2/Doc/library/
Dcalendar.rst16 (the European convention). Use :func:`setfirstweekday` to set the first day of
126 :meth:`setfirstweekday` method.
140 :meth:`setfirstweekday` method. The earliest year for which a calendar
209 .. function:: setfirstweekday(weekday)
217 calendar.setfirstweekday(calendar.SUNDAY)
266 unless set by :func:`setfirstweekday`.
/external/python/cpython3/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`.
/external/python/cpython2/Lib/
Dcalendar.py138 def setfirstweekday(self, firstweekday): member in Calendar
141 firstweekday = property(getfirstweekday, setfirstweekday)
572 def setfirstweekday(firstweekday): function
/external/python/cpython3/Lib/
Dcalendar.py160 def setfirstweekday(self, firstweekday): member in Calendar
163 firstweekday = property(getfirstweekday, setfirstweekday)
620 def setfirstweekday(firstweekday): function