Lines Matching refs:firstweekday
231 orig = calendar.firstweekday()
233 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY)
235 self.assertEqual(calendar.firstweekday(), calendar.MONDAY)
295 for firstweekday in range(7):
296 cal = calendar.Calendar(firstweekday)
302 cal = calendar.Calendar(firstweekday=3)
307 for firstweekday in range(7):
308 cal = calendar.Calendar(firstweekday)
312 self.assertEqual(days[0][1], firstweekday)
313 self.assertEqual(days[-1][1], (firstweekday - 1) % 7)
318 self.oldfirstweekday = calendar.firstweekday()
319 calendar.setfirstweekday(self.firstweekday)
332 firstweekday = calendar.MONDAY variable in MondayTestCase
390 firstweekday = calendar.SUNDAY variable in SundayTestCase