Searched refs:setfirstweekday (Results 1 – 3 of 3) sorted by relevance
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)
16 (the European convention). Use :func:`setfirstweekday` to set the first day of126 :meth:`setfirstweekday` method.140 :meth:`setfirstweekday` method. The earliest year for which a calendar209 .. function:: setfirstweekday(weekday)217 calendar.setfirstweekday(calendar.SUNDAY)266 unless set by :func:`setfirstweekday`.
138 def setfirstweekday(self, firstweekday): member in Calendar141 firstweekday = property(getfirstweekday, setfirstweekday)572 def setfirstweekday(firstweekday): function