Searched refs:setfirstweekday (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_calendar.py | 228 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/ |
D | test_calendar.py | 504 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/ |
D | calendar.rst | 16 (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/ |
D | calendar.rst | 17 (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/ |
D | calendar.py | 138 def setfirstweekday(self, firstweekday): member in Calendar 141 firstweekday = property(getfirstweekday, setfirstweekday) 572 def setfirstweekday(firstweekday): function
|
/external/python/cpython3/Lib/ |
D | calendar.py | 160 def setfirstweekday(self, firstweekday): member in Calendar 163 firstweekday = property(getfirstweekday, setfirstweekday) 620 def setfirstweekday(firstweekday): function
|