/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TimeZone.java | 46 * let's assume this timezone has daylight savings from the 4th month till 47 * the 10th month of the year to ame things simple. 56 int month = cal.get(Calendar.MONTH); local 58 if (month > 4 && month < 10) {
|
/external/icu/icu4c/source/test/intltest/ |
calcasts.h | 33 int32_t month; member in struct:CalendarCaseTest::TestCase
|
/external/protobuf/src/google/protobuf/stubs/ |
time.h | 41 int month; member in struct:google::protobuf::internal::DateTime
|
/external/u-boot/drivers/rtc/ |
m48t35ax.c | 28 uchar sec, min, hour, cent_day, date, month, year; local 41 month = rtc_read (0x6); 49 debug ( "Get RTC year: %02x month: %02x date: %02x cent_day: %02x " 51 year, month, date, cent_day, 58 tmp->tm_mon = bcd2bin (month & 0x1F);
|
m41t60.c | 90 uchar min, date, month, years; local 115 month = data[RTC_MONTH] & 0x3F; 121 0x12 < month || 123 daysInMonth[month] < date || 0x09 < (date & 0x0F) || 0x00 == date || 124 (0x29 == date && 0x02 == month &&
|
/external/v8/src/ |
dateparser.cc | 15 // Day and month defaults to 1. 21 int month = kNone; local 28 month = comp_[1]; 32 month = comp_[0]; 37 month = named_month_; 57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 60 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 162 // Word longer than keyword is only allowed for month names.
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
Alarm.java | 34 public int month; field in class:Alarm 43 public Alarm(int id, int month, int date, int hour, int minute) { 45 this.month = month; 63 jsonObject.put("month", month); 85 alarm.month = jsonObject.getInt("month"); 100 ", month=" + month [all...] |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 66 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 68 alarm.month, alarm.date)); 103 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 108 return new Alarm(id, month, date, hour, minute); 114 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
Alarm.java | 34 public int month; field in class:Alarm 43 public Alarm(int id, int month, int date, int hour, int minute) { 45 this.month = month; 63 jsonObject.put("month", month); 85 alarm.month = jsonObject.getInt("month"); 100 ", month=" + month [all...] |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 66 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 68 alarm.month, alarm.date)); 103 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 108 return new Alarm(id, month, date, hour, minute); 114 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
Alarm.java | 34 public int month; field in class:Alarm 43 public Alarm(int id, int month, int date, int hour, int minute) { 45 this.month = month; 63 jsonObject.put("month", month); 85 alarm.month = jsonObject.getInt("month"); 100 ", month=" + month [all...] |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 65 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 67 alarm.month, alarm.date)); 102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 107 return new Alarm(id, month, date, hour, minute); 113 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/external/icu/icu4c/source/i18n/ |
coptccal.cpp | 80 int32_t eyear, month, day, era, year; local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 94 internalSet(UCAL_MONTH, month); 96 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 155 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 157 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
ethpccal.cpp | 106 int32_t eyear, month, day, era, year; local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 125 internalSet(UCAL_MONTH, month); 127 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 199 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 201 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
persncal.cpp | 40 { 0, 0, 11, 11}, // MONTH 126 * Return the day # on which the given month starts. Days are counted 130 * @param year The Persian month, 0-based 132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { 133 return handleComputeMonthStart(year,month,TRUE); 141 * Return the length (in days) of the given month. 144 * @param year The Persian month, 0-based 146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 147 // If the month is out of range, adjust it into range, and 149 if (month < 0 || month > 11) 213 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
/external/icu/icu4c/source/test/compat/ |
tzdate.c | 34 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 41 int year, month, day, hour, minute; local 46 sysyear = year = month = day = 0; 54 month = atoi(argv[2]); 63 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 111 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 122 ts.tm_mon = month - OFFSET_MONTH;
|
/external/libchrome/base/time/ |
time_exploded_posix.cc | 158 exploded->month = timestruct.tm_mon + 1; 169 CheckedNumeric<int> month = exploded.month; local 170 month--; 173 if (!month.IsValid() || !year.IsValid()) { 183 timestruct.tm_mon = month.ValueOrDie(); 282 // If |exploded.day_of_month| is set to 31 on a 28-30 day month, it will 283 // return the first day of the next month. Thus round-trip the time and
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
CreditCardExpirationDateCompoundView.java | 40 * 2 {@link Spinner spinners} to represent the credit card expiration month and year. 105 int month = mCcExpMonthSpinner.getSelectedItemPosition(); local 107 calendar.set(Calendar.MONTH, month); 120 int month = calendar.get(Calendar.MONTH); local 122 mCcExpMonthSpinner.setSelection(month);
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
CreditCardExpirationDateCompoundView.java | 40 * 2 {@link Spinner spinners} to represent the credit card expiration month and year. 105 int month = mCcExpMonthSpinner.getSelectedItemPosition(); local 107 calendar.set(Calendar.MONTH, month); 120 int month = calendar.get(Calendar.MONTH); local 122 mCcExpMonthSpinner.setSelection(month);
|
/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 55 * Mon can be the full name of the month. 89 int month = Calendar.JANUARY; local 96 month = getMonth(rfcMatcher.group(2)); 102 month = getMonth(ansicMatcher.group(1)); 114 month = Calendar.JANUARY; 120 month, year);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
AnnualTimeZoneRule.java | 125 int month = dateTimeRule.getRuleMonth(); local 130 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 134 ruleDay = Grego.fieldsToDay(year, month, dom);
|
DateTimeRule.java | 16 * a rule specified by month, day of month, day of week and 26 * Date rule type defined by exact day of month. 32 * Date rule type defined by day of week in month. 39 * after exact day of month. 46 * before exact day of month. 68 private final int month; field in class:DateTimeRule 77 * Constructs a <code>DateTimeRule</code> by the day of month and 81 * @param month The rule month, for example, <code>Calendar.JANUARY</code [all...] |
PersianCalendar.java | 30 * and the final month is 29 days in non-leap years and 30 days in leap 31 * ones. Historically, the lengths of the month differed in different 91 // len length of month 92 // len2 length of month in a leap year 93 // st days in year before start of month 217 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar. 218 * Note that the month value is 0-based. e.g., 0 for Farvardin. 226 public PersianCalendar(int year, int month, int date 423 int year, month, dayOfMonth, dayOfYear; local [all...] |
SimpleDateRule.java | 26 * Construct a rule for a fixed date within a month 28 * @param month The month in which this rule occurs (0-based). 29 * @param dayOfMonth The date in that month (1-based). 32 public SimpleDateRule(int month, int dayOfMonth) 34 this.month = month; 40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) 42 this.month = month; 220 private int month; field in class:SimpleDateRule [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
AnnualTimeZoneRule.java | 135 int month = dateTimeRule.getRuleMonth(); local 140 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 144 ruleDay = Grego.fieldsToDay(year, month, dom);
|