/external/icu/icu4c/source/test/intltest/ |
tzbdtest.cpp | 225 * Check that the given year/month/dom/hour maps to and from the 233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, 238 cal.set(year, month, dom, hour, 0, 0); 242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 245 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 251 cal.get(UCAL_MONTH, status) == month && 265 ", expected " + year + "/" + (month+1) + "/" + dom +
|
caltest.h | 61 virtual void verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day);
|
caltest.cpp | 607 cal->roll(Calendar::MONTH, (int32_t)100, status); 668 int32_t year = 1997, month = UCAL_APRIL, date = 1; 669 gc->set(year, month, date); 677 gc->get(UCAL_MONTH, status) != month || 883 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day) 891 m == month && 898 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day + 1383 int32_t month = UCAL_OCTOBER; local 2453 int32_t month; member in class:CalFields 2791 int32_t month = cal->get(UCAL_MONTH, status); local 3259 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434; local 3294 int32_t month = tstCal->get(UCAL_MONTH, status); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 204 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 223 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 267 int offset = time_zone.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 278 ", month=" + cal.get(Calendar.MONTH) + 292 * Check that the given year/month/dom/hour maps to and from the 300 void verifyMapping(Calendar cal, int year, int month, int dom, int hour, 304 cal.set(year, month, dom, hour, 0, 0); 309 logln("Ok: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 312 errln("FAIL: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " [all...] |
TimeZoneRegression.java | 227 * BEGINNING OR END OF A MONTH. We must add this code because 246 testCal.get(Calendar.MONTH), 320 int month = cal.get(Calendar.MONTH); local 329 long offset = tz.getOffset(era, year, month, day, dayOfWeek, millis); 490 int month = DATA[i+1]; local 497 zone.setStartRule(month, day, dayOfWeek, time); 502 errln("setStartRule(month=" + month + ", day=" + day + 510 zone.setEndRule(month, day, dayOfWeek, time) [all...] |
/external/v8/test/webkit/ |
date-constructor.js | 78 var month = { valueOf: function() { testStr += 2; return 2; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/external/libchrome/base/time/ |
time_unittest.cc | 38 15, // day of month 39 10 - 1, // month 76 EXPECT_EQ(tms.tm_mon + 1, exploded.month); 371 EXPECT_EQ(12, exploded.month); 383 EXPECT_EQ(12, exploded.month); 395 EXPECT_EQ(12, exploded.month); 407 EXPECT_EQ(12, exploded.month); 419 EXPECT_EQ(12, exploded.month); 432 EXPECT_EQ(1, exploded.month); 444 EXPECT_EQ(1, exploded.month); [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
LocalGregorianCalendar.java | 295 int month = ldate.getMonth(); local 297 if (month > sinceMonth) { 300 if (month == sinceMonth) {
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 46 * A view for selecting a month / year / day based on a calendar like layout. 87 * @param monthOfYear The month that was set (0-11) for compatibility 89 * @param dayOfMonth The day of the month that was set. 120 mMonthPicker = (NumberPicker) findViewById(R.id.month); 126 * If the user is in a locale where the month names are numeric, 127 * use just the number instead of the "month" character for 147 /* We display the month 1-12 but store it 0-11 so always 151 // Adjust max day of the month 185 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear [all...] |
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
datetime_utils.py | 27 'year', 'month', 'week', 'day', 'hour', 'minute', 'second', 60 month = timedelta(days=30) variable
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 264 int month = Integer.parseInt(buildIdParts[buildIdSegment].substring(4, 6)) - 1; local 269 calendar.set(year, month, date, hours, min); 276 int month = Integer.parseInt(buildIdParts[0].substring(5, 7)) - 1; local 280 calendar.set(year, month, date, hours, min);
|
/external/icu/icu4c/source/test/cintltst/ |
utmstest.c | 351 int32_t month; member in struct:DotNetDateTimeTicks 360 * with the DateTime constructor taking int values for year, month, and date. 363 /* year, month, day, ticks */ 468 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */ 473 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day); 481 (int)i, (int)(ticks/dayTicks), (int)(dt->ticks/dayTicks), (int)dt->year, (int)dt->month, (int)dt->day);
|
/external/iptables/extensions/ |
libxt_time.c | 93 unsigned int month = 1, day = 1, hour = 0, minute = 0, second = 0; local 107 month = strtoul(s, &e, 10); 108 if ((*e != '-' && *e != '\0') || month > 12) 141 tm.tm_mon = month - 1;
|
/external/v8/test/intl/date-format/ |
property-override.js | 47 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short', 58 'minute', 'month', 'numberingSystem',
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 106 * This is not actually a useful month name in all locales. 220 * Return a localized string for the month of the year. 221 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY}, 227 * @return Localized month of the year. 231 public static String getMonthString(int month, int abbrev) { 242 return names[month]; 455 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) 472 int thenMonth = time.month; 477 && (thenMonth == time.month) [all...] |
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/ |
maxds3231m.cxx | 66 time.month = BCDtoDEC(buffer[5] & 0x1F);
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
wt5001.cxx | 360 bool WT5001::setDate(uint16_t year, uint8_t month, uint8_t day) 370 pkt[5] = month; // month 544 bool WT5001::getDate(uint16_t *year, uint8_t *month, uint8_t *day) 566 *month = buf[2];
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 85 * <a name="datetimefield-month"/> 87 * <td> month </td> 95 * <td> Independent of month, max range is 1 to 31 or {@link DatatypeConstants#FIELD_UNDEFINED}.<br/> 96 * The normative value constraint stated relative to month 197 * int month, 206 * int month, 216 * int month, 272 * <p>Set month.</p> 276 * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a> [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 292 const wchar_t * _WLocale_full_monthname(_Locale_time_t * ltime, int month,
294 { GetLocaleInfoW(ltime->lc.id, LOCALE_SMONTHNAME1 + month, buf, (int)bufSize); return buf; }
296 const wchar_t * _WLocale_abbrev_monthname(_Locale_time_t * ltime, int month,
298 { GetLocaleInfoW(ltime->lc.id, LOCALE_SABBREVMONTHNAME1 + month, buf, (int)bufSize); return buf; }
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 169 public void onDateSet(DatePicker view, int year, int month, int day) { 172 setDate(activity, year, month, day); 216 calendar.get(Calendar.MONTH), 252 calendar.get(Calendar.MONTH), 318 /* package */ static void setDate(Context context, int year, int month, int day) { 322 c.set(Calendar.MONTH, month);
|
/toolchain/binutils/binutils-2.25/include/nlm/ |
internal.h | 211 long month; member in struct:nlm_internal_version_header
|
/frameworks/base/core/java/android/widget/ |
CalendarViewLegacyDelegate.java | 70 * Affects when the month selection will change while scrolling upe 179 * The name of the month to display. 204 * Which month should be displayed/highlighted [0-11]. 244 * The first day of the focused month. 681 selectedDay.get(Calendar.MONTH), 756 * in range it will move the list so that the first of the month containing 794 // and if so scroll to the month that contains it 833 * Updates the title and selected month if the <code>view</code> has moved to a new 834 * month. 856 // Use some hysteresis for checking which month to highlight. Thi [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRegression.java | 231 * BEGINNING OR END OF A MONTH. We must add this code because 250 testCal.get(Calendar.MONTH), 324 int month = cal.get(Calendar.MONTH); local 333 long offset = tz.getOffset(era, year, month, day, dayOfWeek, millis); 494 int month = DATA[i+1]; local 501 zone.setStartRule(month, day, dayOfWeek, time); 506 errln("setStartRule(month=" + month + ", day=" + day + 514 zone.setEndRule(month, day, dayOfWeek, time) [all...] |
/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/chromium-trace/catapult/telemetry/telemetry/ |
decorators.py | 41 def __init__(self, year, month, day, extra_guidance=''): 42 self._date_of_support_removal = datetime.date(year, month, day)
|