Lines Matching refs:firstweekday
507 orig = calendar.firstweekday()
509 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY)
511 self.assertEqual(calendar.firstweekday(), calendar.MONDAY)
572 cal = calendar.Calendar(firstweekday=3)
578 for firstweekday in range(7):
579 cal = calendar.Calendar(firstweekday)
585 cal = calendar.Calendar(firstweekday=3)
590 for firstweekday in range(7):
591 cal = calendar.Calendar(firstweekday)
595 self.assertEqual(days[0][1], firstweekday)
596 self.assertEqual(days[-1][1], (firstweekday - 1) % 7)
601 self.oldfirstweekday = calendar.firstweekday()
602 calendar.setfirstweekday(self.firstweekday)
615 firstweekday = calendar.MONDAY variable in MondayTestCase
673 firstweekday = calendar.SUNDAY variable in SundayTestCase