/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
ZipUtilTest.java | 43 final int month = cal.get(Calendar.MONTH) + 1; local 45 | (month << 21)
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DateTest.java | 99 static private long getTime(int year, int month, int date, int hour, 101 aCal.set(year, month, date, hour, minute, second);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
ZoneInflections.java | 229 public static long getDateLong(int year, int month, int day) { 231 cal.set(year, month - 1, day);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
JavaTimeZone.java | 113 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { 114 return javatz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
|
/external/icu/icu4c/source/i18n/unicode/ |
timezone.h | 472 * @param month The reference date's month (0-based; 0 is January) 473 * @param day The reference date's day-in-month (1-based) 480 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 493 * @param month the month in the given date. 494 * Month is 0-based. e.g., 0 for January. 495 * @param day the day-in-month of the given date. 498 * @param monthLength the length of the given month in days. 503 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
JavaTimeZone.java | 111 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { 112 return javatz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 88 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { 89 return fJdkTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
|
/external/libtextclassifier/utils/calendar/ |
calendar-javaicu.cc | 181 TC3_DEFINE_ADD(Month, month) 186 TC3_DEFINE_SET(Month, month)
|
/external/pdfium/fpdfsdk/ |
cpdfsdk_datetime.cpp | 25 uint8_t GetMonthDays(int16_t year, uint8_t month) { 27 switch (month) {
|
/external/pdfium/xfa/fwl/ |
cfwl_monthcalendar.h | 46 DATE(int32_t year, int32_t month, int32_t day) 47 : iYear(year), iMonth(month), iDay(day) {}
|
/external/python/dateutil/dateutil/test/ |
test_relativedelta.py | 307 no_wday = relativedelta(year=1997, month=4) 308 wday_mo_1 = relativedelta(year=1997, month=4, weekday=MO(+1)) 309 wday_mo_2 = relativedelta(year=1997, month=4, weekday=MO(+2)) 310 wday_tu = relativedelta(year=1997, month=4, weekday=TU) 342 self.assertEqual(repr(relativedelta(month=3, hour=3, weekday=SU(3))), 343 'relativedelta(month=3, weekday=SU(+3), hour=3)') 360 relativedelta(month=1.29) 583 month=1, 601 month=1,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTest.java | 110 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based 138 cal.set(Calendar.MONTH, cmonth-1); 156 * month zero. This was a problem with some of the astronomical 169 cal.get(Calendar.MONTH) + 211 // ** Millis->fields gives 0-based month -1 215 // Julian Day Era Year Month Leap DOM WkDay 283 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78 317 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM 318 // Note: exp.month is ONE-BASED 325 // If we set MONTH only, that should be use 375 int month = cal.get(Calendar.MONTH); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsdtfmsy.cpp | 43 const UnicodeString* month; local 48 month=symbol->getMonths(cnt); 54 logln(month[i]); 73 const UnicodeString * month = symbol->getMonths(cnt,context[i],width[j]); local 78 logln(month[k]);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTest.java | 107 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based 135 cal.set(Calendar.MONTH, cmonth-1); 153 * month zero. This was a problem with some of the astronomical 166 cal.get(Calendar.MONTH) + 208 // ** Millis->fields gives 0-based month -1 212 // Julian Day Era Year Month Leap DOM WkDay 280 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78 314 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM 315 // Note: exp.month is ONE-BASED 322 // If we set MONTH only, that should be use 372 int month = cal.get(Calendar.MONTH); local [all...] |
/external/wpa_supplicant_8/src/utils/ |
os_unix.c | 130 int os_mktime(int year, int month, int day, int hour, int min, int sec, 137 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 144 tm.tm_mon = month - 1; 182 tm->month = tm2->tm_mon + 1;
|
/external/fonttools/Lib/fontTools/ufoLib/ |
validators.py | 159 year, month, day = date.split("/") 162 if len(month) != 2: 168 month = int(month) 172 if month < 1 or month > 12: 174 monthMaxDay = calendar.monthrange(year, month)[1]
|
/external/icu/icu4c/source/i18n/ |
rbtz.cpp | 365 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 370 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) { 374 return getOffset(era, year, month, day, dayOfWeek, millis, 375 Grego::monthLength(year, month), status); 380 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 392 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
|
/external/libaom/libaom/test/ |
gviz_api.py | 55 o.year, o.month - 1, o.day, o.hour, o.minute, o.second) 58 o.year, o.month - 1, o.day, o.hour, o.minute, o.second, 61 return "Date(%d,%d,%d)" % (o.year, o.month - 1, o.day) 241 return datetime.date(value.year, value.month, value.day) 273 value.month - 1, # To match JS 280 value.month - 1, # match JS 287 return "new Date(%d,%d,%d)" % (value.year, value.month - 1, value.day) [all...] |
/external/webrtc/webrtc/base/ |
httpcommon.cc | 347 char month[4], zone[6]; local 348 memset(month, 0, sizeof(month)); 352 &tval.tm_mday, month, &tval.tm_year, 356 switch (toupper(month[2])) { 357 case 'N': tval.tm_mon = (month[1] == 'A') ? 0 : 5; break; 359 case 'R': tval.tm_mon = (month[0] == 'M') ? 2 : 3; break;
|
/external/libchrome/base/metrics/ |
field_trial.cc | 96 // Created a time value based on |year|, |month| and |day_of_month| parameters. 97 Time CreateTimeFromParams(int year, int month, int day_of_month) { 99 DCHECK_GT(month, 0); 100 DCHECK_LT(month, 13); 106 exploded.month = month; 526 const int month, 531 trial_name, total_probability, default_group_name, year, month, 541 const int month, 595 if (GetBuildTime() > CreateTimeFromParams(year, month, day_of_month) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
ICUZDump.java | 167 public long getTime(int year, int month, int dayOfMonth, int hour, int minute, int second) { 173 cal.set(year, month, dayOfMonth, hour, minute, second); 179 cal.set(year, month, dayOfMonth, hour, minute, second);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatTest.java | 88 {DateFormat.MONTH, "MMMM", "en", "LLLL"}, 428 DateFormat.Field.MONTH, 515 DateFormat.Field.MONTH, // M 539 DateFormat.Field.MONTH, // L 1686 int month, yr, day; local 1749 int year,month,day; local 4180 public int month; \/\/ here 1-based field in class:DateFormatTest.ChineseCalTestDate 4278 int month = rootChineseCalendar.get(Calendar.MONTH) + 1; local 4297 public int month; field in class:DateFormatTest.CalAndFmtTestItem 4395 int month = cal.get(Calendar.MONTH); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatTest.java | 85 {DateFormat.MONTH, "MMMM", "en", "LLLL"}, 425 DateFormat.Field.MONTH, 512 DateFormat.Field.MONTH, // M 536 DateFormat.Field.MONTH, // L 1683 int month, yr, day; local 1746 int year,month,day; local 4177 public int month; \/\/ here 1-based field in class:DateFormatTest.ChineseCalTestDate 4275 int month = rootChineseCalendar.get(Calendar.MONTH) + 1; local 4294 public int month; field in class:DateFormatTest.CalAndFmtTestItem 4392 int month = cal.get(Calendar.MONTH); local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 41 import java.time.Month; 93 time.month = 2; 99 assertEquals(3, cal.get(Calendar.MONTH)); 101 assertEquals(expectedMonth, time.month); 105 time.month = 2; 108 assertEquals(expectedMonth, time.month); 125 final int month = 5; local 128 time.set(date, month, year); 130 assertEquals(month, time.month); [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 79 // Pick out month names from resources 83 // Find current month and day 89 monthNames[today.month], today.monthDay);
|