/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 132 def __init__(self, firstweekday=0): 133 self.firstweekday = firstweekday # 0 = Monday, 6 = Sunday 138 def setfirstweekday(self, firstweekday): 139 self._firstweekday = firstweekday 141 firstweekday = property(getfirstweekday, setfirstweekday) variable in class:Calendar 148 for i in range(self.firstweekday, self.firstweekday + 7): 159 days = (date.weekday() - self.firstweekday) % 569 firstweekday = c.getfirstweekday variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 132 def __init__(self, firstweekday=0): 133 self.firstweekday = firstweekday # 0 = Monday, 6 = Sunday 138 def setfirstweekday(self, firstweekday): 139 self._firstweekday = firstweekday 141 firstweekday = property(getfirstweekday, setfirstweekday) variable in class:Calendar 148 for i in range(self.firstweekday, self.firstweekday + 7): 159 days = (date.weekday() - self.firstweekday) % 569 firstweekday = c.getfirstweekday variable [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleMac.mm | 152 // The document for NSCalendar - firstWeekday doesn't have an explanation of 153 // firstWeekday value. We can guess it by the document of NSDateComponents - 155 return [m_gregorianCalendar.get() firstWeekday] - 1;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_calendar.py | 220 orig = calendar.firstweekday() 222 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY) 224 self.assertEqual(calendar.firstweekday(), calendar.MONDAY) 286 self.oldfirstweekday = calendar.firstweekday() 287 calendar.setfirstweekday(self.firstweekday) 300 firstweekday = calendar.MONDAY variable in class:MondayTestCase 358 firstweekday = calendar.SUNDAY variable in class:SundayTestCase
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_calendar.py | 220 orig = calendar.firstweekday() 222 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY) 224 self.assertEqual(calendar.firstweekday(), calendar.MONDAY) 286 self.oldfirstweekday = calendar.firstweekday() 287 calendar.setfirstweekday(self.firstweekday) 300 firstweekday = calendar.MONDAY variable in class:MondayTestCase 358 firstweekday = calendar.SUNDAY variable in class:SundayTestCase
|