Home
last modified time | relevance | path

Searched refs:calendar (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_calendar.py1 import calendar
187 self.normalize_calendar(calendar.calendar(2004)),
193 calendar.TextCalendar().formatyear(2004).strip(),
199 calendar.HTMLCalendar().formatyearpage(2004).strip(),
210 self.assertEqual(calendar.isleap(2000), 1)
211 self.assertEqual(calendar.isleap(2001), 0)
212 self.assertEqual(calendar.isleap(2002), 0)
213 self.assertEqual(calendar.isleap(2003), 0)
216 self.assertRaises(ValueError, calendar.setfirstweekday, 'flabber')
217 self.assertRaises(ValueError, calendar.setfirstweekday, -1)
[all …]
Dtest_strftime.py5 import calendar
90 ('%a', calendar.day_abbr[now[6]], 'abbreviated weekday name'),
91 ('%A', calendar.day_name[now[6]], 'full weekday name'),
92 ('%b', calendar.month_abbr[now[1]], 'abbreviated month name'),
93 ('%B', calendar.month_name[now[1]], 'full month name'),
145 ('%h', calendar.month_abbr[now[1]], 'abbreviated month name'),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dunbirthday.py10 import calendar
37 if month == 2 and calendar.isleap(year):
40 maxday = calendar.mdays[month]
79 return '%d %s %d' % (day, calendar.month_name[month], year)
96 if i == 2 and calendar.isleap(year):
99 days = days + calendar.mdays[i]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_strptime.py15 import calendar
91 a_weekday = [calendar.day_abbr[i].lower() for i in range(7)]
92 f_weekday = [calendar.day_name[i].lower() for i in range(7)]
98 a_month = [calendar.month_abbr[i].lower() for i in range(13)]
99 f_month = [calendar.month_name[i].lower() for i in range(13)]
Dcalendar.py581 calendar = c.formatyear variable
Dmailbox.py14 import calendar
1605 message.set_date(calendar.timegm(time.strptime(maybe_date,
Dtarfile.py2570 import calendar
2573 tinfo.mtime = calendar.timegm(zinfo.date_time)
Dcookielib.py38 from calendar import timegm
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dmailerdaemon.py4 import calendar
198 date = '%s %02d' % (calendar.month_abbr[mm], dd)
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
DTheory.txt348 <a href="http://emr.cs.uiuc.edu/home/reingold/calendar-book/index.shtml">
356 Gregorian calendar adopted 1582-12-20.
357 French Revolutionary calendar used 1793-11-24 through 1805-12-31,
367 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it
381 still dated using the conventional, Gregorian calendar?
399 those unsightly calendar gaps :-), they simply decreed that the next leap
400 year after 1696 would be in 1744 -- putting the whole country on a calendar
427 Gregorian calendar:
467 1617 - duchy of Kurland (reverted to the Julian calendar in
504 convert to the Gregorian calendar until the Soviet revolution of 1917.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcalendar.py586 calendar = c.formatyear variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/
DPythonReadMe.txt225 calendar.py ntpath.py struct.py
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/
DPy2710ReadMe.txt247 calendar.py ntpath.py struct.py