/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
D | unbirthday.py | 34 day = int(sys.argv[3]) 36 day = int(raw_input('And on what day of that month? (1-31) ')) 41 if not (1 <= day <= maxday): 42 print 'There are no', day, 'days in that month!' 45 bdaytuple = (year, month, day) 66 if bdaytuple < (y, month, day) <= todaytuple: 78 def format((year, month, day)): argument 79 return '%d %s %d' % (day, calendar.month_name[month], year) 87 def mkdate((year, month, day)): argument 100 days = days + day
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | Dates.py | 83 date.day 92 del ans.ord, ans.month, ans.day, ans.year # un-initialize it 113 ans.month, ans.day, ans.year = month, n-dbm, year 121 def __init__(self, month, day, year): argument 125 if not 1 <= day <= dim: 126 raise ValueError, 'day must be in 1..%r: %r' % (dim, day) 127 self.month, self.day, self.year = month, day, year 147 self.day, 222 (fd.month,fd.day,fd.year,ld.month,ld.day,ld.year):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | calendar.py | 110 def weekday(year, month, day): argument 113 return datetime.date(year, month, day).weekday() 177 yield (date.day, date.weekday()) 188 yield date.day 267 def formatday(self, day, weekday, width): argument 271 if day == 0: 274 s = '%2i' % day # right-align single-digit days 283 def formatweekday(self, day, width): argument 291 return names[day][:width].center(width) 380 def formatday(self, day, weekday): argument [all …]
|
D | _strptime.py | 330 month = day = 1 365 day = int(found_dict['d']) 439 julian = datetime_date(year, month, day).toordinal() - \ 446 day = datetime_result.day 448 weekday = datetime_date(year, month, day).weekday() 449 return (time.struct_time((year, month, day,
|
D | BaseHTTPServer.py | 471 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp) 474 day, self.monthname[month], year, 481 year, month, day, hh, mm, ss, x, y, z = time.localtime(now) 483 day, self.monthname[month], year, hh, mm, ss)
|
D | cookielib.py | 137 def _str2time(day, mon, yr, hr, min, sec, tz): argument 159 day = int(day) 176 t = _timegm((yr, mon, day, hr, min, sec, tz)) 257 day, mon, yr, hr, min, sec, tz = [None]*7 262 day, mon, yr, hr, min, sec, tz = m.groups() 266 return _str2time(day, mon, yr, hr, min, sec, tz) 300 day, mon, yr, hr, min, sec, tz = [None]*7 307 yr, mon, day, hr, min, sec, tz, _ = m.groups() 311 return _str2time(day, mon, yr, hr, min, sec, tz)
|
D | Cookie.py | 392 year, month, day, hh, mm, ss, wd, y, z = gmtime(now + future) 394 (weekdayname[wd], day, monthname[month], year, hh, mm, ss)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | calendar.py | 110 def weekday(year, month, day): argument 113 return datetime.date(year, month, day).weekday() 181 yield (date.day, date.weekday()) 192 yield date.day 271 def formatday(self, day, weekday, width): argument 275 if day == 0: 278 s = '%2i' % day # right-align single-digit days 287 def formatweekday(self, day, width): argument 295 return names[day][:width].center(width) 384 def formatday(self, day, weekday): argument [all …]
|
D | BaseHTTPServer.py | 468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp) 471 day, self.monthname[month], year, 478 year, month, day, hh, mm, ss, x, y, z = time.localtime(now) 480 day, self.monthname[month], year, hh, mm, ss)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | datetime.h | 210 #define PyDate_FromDate(year, month, day) \ argument 211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) 213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ argument 214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | datetime.h | 210 #define PyDate_FromDate(year, month, day) \ argument 211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) 213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ argument 214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_datetime.py | 544 self.assertEqual(dt.day, 1) 557 dt2 = self.theclass(dt.year, dt.month, dt.day) 601 for day in range(1, maxday+1): 602 d = self.theclass(year, month, day) 609 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 621 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 688 day = timedelta(1) 691 self.assertEqual(a + day, self.theclass(2002, 3, 3)) 692 self.assertEqual(day + a, self.theclass(2002, 3, 3)) 693 self.assertEqual(a - day, self.theclass(2002, 3, 1)) [all …]
|
D | test_calendar.py | 278 self.assertEqual(weeks[i], sum(day != 0 for day in cal[i]))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | datetimemodule.c | 244 ord_to_ymd(int ordinal, int *year, int *month, int *day) in ord_to_ymd() argument 302 *day = 31; in ord_to_ymd() 323 *day = n + 1; in ord_to_ymd() 328 ymd_to_ord(int year, int month, int day) in ymd_to_ord() argument 330 return days_before_year(year) + days_before_month(year, month) + day; in ymd_to_ord() 335 weekday(int year, int month, int day) in weekday() argument 337 return (ymd_to_ord(year, month, day) + 6) % 7; in weekday() 379 check_date_args(int year, int month, int day) in check_date_args() argument 392 if (day < 1 || day > days_in_month(year, month)) { in check_date_args() 564 normalize_date(int *year, int *month, int *day) in normalize_date() argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | datetimemodule.c | 244 ord_to_ymd(int ordinal, int *year, int *month, int *day) in ord_to_ymd() argument 302 *day = 31; in ord_to_ymd() 323 *day = n + 1; in ord_to_ymd() 328 ymd_to_ord(int year, int month, int day) in ymd_to_ord() argument 330 return days_before_year(year) + days_before_month(year, month) + day; in ymd_to_ord() 335 weekday(int year, int month, int day) in weekday() argument 337 return (ymd_to_ord(year, month, day) + 6) % 7; in weekday() 379 check_date_args(int year, int month, int day) in check_date_args() argument 392 if (day < 1 || day > days_in_month(year, month)) { in check_date_args() 564 normalize_date(int *year, int *month, int *day) in normalize_date() argument [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | localedef.h | 87 const char *day[7]; member
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
D | Main.vfi | 156 …day varid = Date.Day, // Note that it is a member of NULL, so the RTC will be the syste… 164 // If the day is 31 AND months is any of the following 2, 4, 6, 9, 11 171 // If the day is 30 AND month is 2 178 // If the day is 29 AND month is 2 AND it year is NOT a leapyear
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | nl_langinfo.c | 49 s = _CurrentTimeLocale->day[(size_t)(item - DAY_1)]; in nl_langinfo()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
D | Theory.txt | 57 origin-1 day number not counting February 29 59 origin-0 day number counting February 29 if present 61 for the dth day of week n of month m of the year, 62 where week 1 is the first week in which day d appears, 63 and `5' stands for the last week in which day d appears 365 with 30-day months plus 5 holidays, with a 5-day week. 366 On 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the 367 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it 368 reverted to the 7-day week. With the 6-day week the usual days 519 A Mars solar day is called a "sol" and has a mean period equal to
|
D | strptime.c | 181 bp = find_string(bp, &tm->tm_wday, _ctloc(day), in strptime()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | handlers.py | 36 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp) 38 _weekdayname[wd], day, _monthname[month], year, hh, mm, ss
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
D | handlers.py | 264 day = t[6] # 0 is Monday 265 if day != self.dayOfWeek: 266 if day < self.dayOfWeek: 267 daysToWait = self.dayOfWeek - day 269 daysToWait = 6 - day + self.dayOfWeek + 1
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | cvslib.py | 330 day = string.atoi(words[2]) 333 return time.mktime((year, month, day, hh, mm, ss, 0, 0, 0))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | dutree.doc | 20 sometimes it's not worth it. I actually wrote a C program the other day
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 304 int day, mon, year; in nmea_reader_update_date() local 310 day = str2int(tok.p, tok.p+2); in nmea_reader_update_date() 314 if ((day|mon|year) < 0) { in nmea_reader_update_date() 321 r->utc_day = day; in nmea_reader_update_date()
|