/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
AbstractTestLog.java | 115 public boolean isDateAtLeast(int year, int month, int day){ 117 Calendar c = new GregorianCalendar(year, month, day);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 55 * @param month months from 1 to 12<br> 56 * <em>Note:</em> Remember that the month in {@link Calendar} is defined from 0 to 11. 64 public static XMPDateTime create(int year, int month, int day, 69 dt.setMonth(month);
|
/frameworks/base/core/java/android/widget/ |
CalendarViewMaterialDelegate.java | 117 final int month = day.get(Calendar.MONTH); 119 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
|
DatePicker.java | 41 * set to {@code spinner}, the date can be selected using year, month, and day 48 * set to {@code calendar}, the month and day can be selected using a 93 * @param monthOfYear The month that was set (0-11) for compatibility 95 * @param dayOfMonth The day of the month that was set. 152 * @param monthOfYear The initial month <strong>starting from zero</strong>. 153 * @param dayOfMonth The initial day of the month. 166 * @param month The month which is <strong>starting from zero</strong>. 167 * @param dayOfMonth The day of the month. 169 public void updateDate(int year, int month, int dayOfMonth) [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
Utils.java | 61 public static int getDaysInMonth(int month, int year) { 62 switch (month) { 79 throw new IllegalArgumentException("Invalid Month");
|
/external/icu/icu4c/source/i18n/ |
chnsecal.cpp | 176 { 0, 0, 11, 11}, // MONTH 233 * extended year and month. 236 * whether or not the given month is a leap month. 239 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 240 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - 252 * <li>MONTH 310 * given month in the given extended year. 313 * whether the given month is a leap month 696 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 97 * Day of month [1-31] 102 * Month [0-11] 104 public int month; field in class:Time 149 public static final int MONTH = 5; 269 int n = DAYS_PER_MONTH[this.month]; 277 case MONTH: 310 this.month = 0; 438 // month 442 month = n; 444 // day of month [all...] |
DateFormat.java | 126 public static final char MONTH = 'M'; 236 * {@code ja_JP} where there is only one length of month. 315 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'})) 319 * not just the day, month, and year, and not necessarily in the same 500 inDate.get(Calendar.MONTH), count, c); 544 private static String getMonthString(LocaleData ld, int month, int count, int kind) { 547 return standalone ? ld.tinyStandAloneMonthNames[month] : ld.tinyMonthNames[month]; 549 return standalone ? ld.longStandAloneMonthNames[month] : ld.longMonthNames[month]; [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which 39 a_month -- abbreviated month names (13-item list, dummy value in 331 month = day = 1 360 month = int(found_dict['m']) 362 month = locale_time.f_month.index(found_dict['B'].lower()) 364 month = locale_time.a_month.index(found_dict['b'].lower()) 430 if year is None and month == 2 and day == 29: 446 julian = datetime_date(year, month, day).toordinal() - \ 452 month = datetime_result.month [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which 39 a_month -- abbreviated month names (13-item list, dummy value in 331 month = day = 1 360 month = int(found_dict['m']) 362 month = locale_time.f_month.index(found_dict['B'].lower()) 364 month = locale_time.a_month.index(found_dict['b'].lower()) 430 if year is None and month == 2 and day == 29: 446 julian = datetime_date(year, month, day).toordinal() - \ 452 month = datetime_result.month [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which 39 a_month -- abbreviated month names (13-item list, dummy value in 331 month = day = 1 360 month = int(found_dict['m']) 362 month = locale_time.f_month.index(found_dict['B'].lower()) 364 month = locale_time.a_month.index(found_dict['b'].lower()) 430 if year is None and month == 2 and day == 29: 446 julian = datetime_date(year, month, day).toordinal() - \ 452 month = datetime_result.month [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which 39 a_month -- abbreviated month names (13-item list, dummy value in 331 month = day = 1 360 month = int(found_dict['m']) 362 month = locale_time.f_month.index(found_dict['B'].lower()) 364 month = locale_time.a_month.index(found_dict['b'].lower()) 430 if year is None and month == 2 and day == 29: 446 julian = datetime_date(year, month, day).toordinal() - \ 452 month = datetime_result.month [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
DatePicker.java | 35 * year, month, and day Columns. The "minDate" and "maxDate" from which dates to be selected 210 mTempDate.add(Calendar.MONTH, newVal - oldVal); 216 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), 301 private void setDate(int year, int month, int dayOfMonth) { 302 mCurrentDate.set(year, month, dayOfMonth); 314 * @param month The month which is <strong>starting from zero</strong>. 315 * @param dayOfMonth The day of the month. 318 public void updateDate(int year, int month, int dayOfMonth, boolean animation) { 319 if (!isNewDate(year, month, dayOfMonth)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CopticTest.java | 105 // Julian Day Era Year Month Day WkDay Hour Min Sec 151 for (int m = 0; m < 12; ++m) { // don't understand rules for 13th month 152 for (int d = 1; d < 25; d += 3) { // play it safe on days per month 156 int month = cal.get(Calendar.MONTH); local 159 m == month && 166 " m: " + month + 197 cal.get(MONTH) + "/" + 203 cal.get(MONTH) + "/" + 220 * maximum month length [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CopticTest.java | 101 // Julian Day Era Year Month Day WkDay Hour Min Sec 147 for (int m = 0; m < 12; ++m) { // don't understand rules for 13th month 148 for (int d = 1; d < 25; d += 3) { // play it safe on days per month 152 int month = cal.get(Calendar.MONTH); local 155 m == month && 162 " m: " + month + 193 cal.get(MONTH) + "/" + 199 cal.get(MONTH) + "/" + 216 * maximum month length [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 51 time.month = other.month; 111 c.get(Calendar.MONTH), 123 public void set(int second, int minute, int hour, int monthDay, int month, int year) { 128 time.month = month; 137 public void set(int monthDay, int month, int year) { 138 set(0, 0, 0, monthDay, month, year); 152 time.month = 0; 260 c.set(time.year, time.month, time.monthDay, time.hour, time.minute, time.second) [all...] |
/external/lzma/CPP/Windows/ |
TimeUtils.cpp | 169 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
173 if (year < kFileTimeStartYear || year >= 10000 || month < 1 || month > 12 ||
181 month--;
182 for (unsigned i = 0; i < month; i++)
|
/external/wpa_supplicant_8/src/utils/ |
os_win32.c | 62 int os_mktime(int year, int month, int day, int hour, int min, int sec, 69 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 76 tm.tm_mon = month - 1; 114 tm->month = tm2->tm_mon + 1;
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 134 * <h4>Week Of Month</h4> 137 * to 6. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 139 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month, 141 * week 1 of a year, week 1 of a month may be shorter than 7 days, need 143 * the previous month. Days of a month before week 1 have a 190 * <code>MONTH<br></code> 277 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 302 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)) 923 int month = internalGet(MONTH) + amount; local 2369 int month = cdate.getMonth() - 1; \/\/ 0-based local 2939 int month = JANUARY; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
AnnualTimeZoneRule.java | 123 int month = dateTimeRule.getRuleMonth(); local 128 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 132 ruleDay = Grego.fieldsToDay(year, month, dom);
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 43 static void cal(int32_t month, int32_t year, 115 int32_t month = -1, year = -1; local 152 /* Get the month and year to display, if specified */ 155 /* Month and year specified */ 157 sscanf(argv[optInd], "%d", (int*)&month); 160 /* Make sure the month value is legal */ 161 if(month < 0 || month > 12) { 162 printf("icucal: Bad value for month -- %d\n", (int)month); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
AnnualTimeZoneRule.java | 133 int month = dateTimeRule.getRuleMonth(); local 138 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 142 ruleDay = Grego.fieldsToDay(year, month, dom);
|
/external/v8/test/intl/date-format/ |
resolved-options.js | 30 // Default (year, month, day) formatter. 46 assertTrue(resolved.hasOwnProperty('month')); 47 assertEquals('numeric', resolved.month); 78 assertFalse(resolved.hasOwnProperty('month')); 86 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short', 101 assertTrue(resolved.hasOwnProperty('month'));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 52 * A calendar-like view displaying a specified month and the appropriate selectable day numbers 53 * within the specified month. 71 public static final String VIEW_PARAMS_MONTH = "month"; 93 * Which month is currently in focus, as defined by {@link Time#month} 98 * If this month should display week numbers. false if 0, true otherwise. 143 // The month of the first day in this week 145 // The month of the last day in this week 334 * will only update if a new value is included, except for focus month, 335 * which will always default to no focus month if no value is passed in. Se [all...] |