/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 68 // Pick out month names from resources 72 // Find current month and day 78 monthNames[today.month], today.monthDay);
|
/external/autotest/tko/ |
utils_unittest.py | 17 self.assertEquals(utc_date.month, 1)
|
/external/icu/icu4c/source/i18n/ |
ucal.cpp | 409 int32_t month, 416 ((Calendar*)cal)->set(year, month, date); 423 int32_t month, 432 ((Calendar*)cal)->set(year, month, date, hour, minute, second);
|
calendar.cpp | 618 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // MONTH 651 // fields such as MONTH, HOUR, AM_PM, etc. It is possible to compute the 665 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 687 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) [all...] |
/external/python/apitools/apitools/base/protorpclite/ |
util.py | 286 decoded_datetime.month,
|
/external/python/cpython2/Doc/includes/ |
tzinfo-examples.py | 72 tt = (dt.year, dt.month, dt.day,
|
/external/toolchain-utils/ |
buildbot_test_llvm.py | 130 fname = '%d-%02d-%02d.builds' % (date.year, date.month, date.day)
|
generate-waterfall-reports.py | 56 # For int-to-string date conversion. Note, the index of the month in this 57 # list needs to correspond to the month's integer value. i.e. 'Sep' must 74 month = tmp_date % 100 77 month_str = MONTHS[month]
|
/external/icu/icu4c/source/tools/tzcode/ |
tz2icu.cpp | 767 int32_t month; member in struct:FinalRulePart 815 month = _month; 824 if (month < 0 || month >= 12) { 825 os << "Invalid input month " << month; local 827 if (dom < 1 || dom > MONTH_LEN[month]) { 828 os << "Invalid input day of month " << dom; 843 << month << dom << dow << time 960 int32_t month, dom, dow, time, offset local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
handlers.py | 29 # Weekday and month names for HTTP date/time formatting; always English!
31 _monthname = [None, # Dummy so we can use 1-based month numbers
36 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
38 _weekdayname[wd], day, _monthname[month], year, hh, mm, ss
|
/external/icu/icu4c/source/i18n/unicode/ |
ucal.h | 65 * <code>UDate</code> (such as only year and month but no day in the month), 109 * month, day-of-month <em>and</em> day-of-week in some cases. 133 * month up in the date <code>December 12, <b>1996</b></code> results in 213 * Field number indicating the month. This is a calendar-specific value. 214 * The first month of the year is 248 * week number within the current month. The first week of the month, as 252 * the month [all...] |
/external/icu/libandroidicu/include/unicode/ |
ucal.h | 65 * <code>UDate</code> (such as only year and month but no day in the month), 109 * month, day-of-month <em>and</em> day-of-week in some cases. 133 * month up in the date <code>December 12, <b>1996</b></code> results in 213 * Field number indicating the month. This is a calendar-specific value. 214 * The first month of the year is 248 * week number within the current month. The first week of the month, as 252 * the month [all...] |
/external/libchrome/base/metrics/ |
field_trial.h | 440 // to the |total_probability|. Arguments |year|, |month| and |day_of_month| 451 const int month, 471 const int month, [all...] |
/external/pdfium/fxjs/ |
JS_Define.cpp | 137 int month = MonthFromTime(t); local 138 switch (month) {
|
/external/python/cpython2/Lib/wsgiref/ |
handlers.py | 29 # Weekday and month names for HTTP date/time formatting; always English! 31 _monthname = [None, # Dummy so we can use 1-based month numbers 36 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp) 38 _weekdayname[wd], day, _monthname[month], year, hh, mm, ss
|
/external/scapy/scapy/contrib/ |
skinny.py | 209 year,month,dow,day,hour,min,sec,milisecond=struct.unpack('<8I', s) 210 return (year, month, day, hour, min, sec)
|
/external/wpa_supplicant_8/src/utils/ |
os.h | 120 * @month: Month (1 .. 12) 121 * @day: Day of month (1 .. 31) 132 int os_mktime(int year, int month, int day, int hour, int min, int sec, 140 int month; /* 1..12 */ member in struct:os_tm
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
IslamicTest.java | 60 // year month day field amount year month day 62 { 0001, QIDAH, 2, MONTH, 1, 0001, HIJJAH, 2 }, // non-leap years 63 { 0001, QIDAH, 2, MONTH, 2, 0001, MUHARRAM, 2 }, 64 { 0001, QIDAH, 2, MONTH, -1, 0001, SHAWWAL, 2 }, 65 { 0001, MUHARRAM, 2, MONTH, 12, 0001, MUHARRAM, 2 }, 66 { 0001, MUHARRAM, 2, MONTH, 13, 0001, SAFAR, 2 }, 68 { 0001, HIJJAH, 1, DATE, 30, 0001, HIJJAH, 2 }, // 29-day month 69 { 0002, HIJJAH, 1, DATE, 31, 0002, HIJJAH, 2 }, // 30-day month 72 { 0001, MUHARRAM, 30, MONTH, 1, 0001, SAFAR, 29 } 355 int month = cal.get(Calendar.MONTH); local 822 int day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar.RAJAB, initYear = 1434; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
incaltst.cpp | 150 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 } 174 int32_t month = data[i++]; local 178 grego->set(gregorianYear, month, dayOfMonth); 183 cal.set(year, month, dayOfMonth); 190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 193 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 214 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 270 UCAL_JUNE, // month 276 UCAL_FEBRUARY, // month 279 0, // test month calculation: 4795 BE = 4252 AD is a leap year, but 4795 AD is not [all...] |
dtfmttst.cpp | 844 int32_t month,yr,day,hr,min,sec; dateToFields(d,yr,month,day,hr,min,sec); local 845 logln((UnicodeString)" -> parse -> " + s + " (month = " + month + ")"); 846 if (month != UCAL_JUNE) errln((UnicodeString)"FAIL: Month should be June"); 850 dateToFields(d,yr,month,day,hr,min,sec); 851 logln((UnicodeString)" -> parse -> " + s + " (month = " + month + ")"); 852 if (month != UCAL_JULY) errln((UnicodeString)"FAIL: Month should be July") 908 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); local 4047 int32_t month; \/\/ 1-based member in struct:__anon24256 4154 int32_t month = rootChineseCalendar->get(UCAL_MONTH, status) + 1; local 4246 int32_t month; member in struct:__anon24259 4349 int32_t month = cal->get(UCAL_MONTH, status); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
IslamicTest.java | 57 // year month day field amount year month day 59 { 0001, QIDAH, 2, MONTH, 1, 0001, HIJJAH, 2 }, // non-leap years 60 { 0001, QIDAH, 2, MONTH, 2, 0001, MUHARRAM, 2 }, 61 { 0001, QIDAH, 2, MONTH, -1, 0001, SHAWWAL, 2 }, 62 { 0001, MUHARRAM, 2, MONTH, 12, 0001, MUHARRAM, 2 }, 63 { 0001, MUHARRAM, 2, MONTH, 13, 0001, SAFAR, 2 }, 65 { 0001, HIJJAH, 1, DATE, 30, 0001, HIJJAH, 2 }, // 29-day month 66 { 0002, HIJJAH, 1, DATE, 31, 0002, HIJJAH, 2 }, // 30-day month 69 { 0001, MUHARRAM, 30, MONTH, 1, 0001, SAFAR, 29 } 352 int month = cal.get(Calendar.MONTH); local 819 int day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar.RAJAB, initYear = 1434; local [all...] |
/external/dng_sdk/source/ |
dng_xmp.cpp | 423 int month = 0; local 432 &month, 438 month >= 1 && month <= 12 && 445 month, 489 unsigned month = 0; local 499 &month, 507 month >= 1 && month <= 12 && 516 month, [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_datetime.py | 543 self.assertEqual(dt.month, 3)
557 dt2 = self.theclass(dt.year, dt.month, dt.day)
598 for month, maxday in zip(range(1, 13), dim):
599 if month == 2 and isleap:
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
745 year, month, day = 1999, 9, 19
746 ts = time.mktime((year, month, day, 0, 0, 0, 0, 0, -1))
749 self.assertEqual(d.month, month) [all...] |
/external/python/cpython2/Lib/test/ |
test_datetime.py | 583 self.assertEqual(dt.month, 3) 597 dt2 = self.theclass(dt.year, dt.month, dt.day) 638 for month, maxday in zip(range(1, 13), dim): 639 if month == 2 and isleap: 642 d = self.theclass(year, month, day) 649 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 661 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 785 year, month, day = 1999, 9, 19 786 ts = time.mktime((year, month, day, 0, 0, 0, 0, 0, -1)) 789 self.assertEqual(d.month, month [all...] |
/external/libxml2/doc/ |
index.py | 1054 month = time.strftime("%B", T) 1056 url = "http://mail.gnome.org/archives/xml/%d-%s/date.html" % (year, month) 1202 print "Usage index.py [--force] [--archive] [--archive-year year] [--archive-month month] [--API] [--docs]" 1228 for month in months: 1230 str = "%s-%s" % (year, month) 1235 print "Failed to index month archive:" 1237 elif args[i] == '--archive-month': 1239 month = args[i] 1241 T = time.strptime(month, "%Y-%B" [all...] |