/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthAdapter.java | 54 int month; field in class:MonthAdapter.CalendarDay 67 month = calendar.get(Calendar.MONTH); 71 public CalendarDay(int year, int month, int day) { 72 setDay(year, month, day); 77 month = date.month; 81 public void setDay(int year, int month, int day) { 83 this.month = month; 191 final int month = position % MONTHS_IN_YEAR; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
NitzData.java | 90 // month is 0 based! 91 int month = Integer.parseInt(nitzSubs[1]) - 1; local 92 c.set(Calendar.MONTH, month);
|
/libcore/ojluni/src/main/java/java/sql/ |
Timestamp.java | 77 * @param month 0 to 11 87 public Timestamp(int year, int month, int date, 89 super(year, month, date, hour, minute, second); 176 int month = 0; local 226 month = Integer.parseInt(mm); 229 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) { 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); 277 int month = super.getMonth() + 1; local 301 if (month < 10) [all...] |
/libcore/ojluni/src/main/java/java/time/ |
MonthDay.java | 91 * A month-day in the ISO-8601 calendar system, such as {@code --12-03}. 94 * of a month and day-of-month. Any field that can be derived from a month and day, 139 * The month-of-year, not null. 141 private final int month; field in class:MonthDay 143 * The day-of-month. 149 * Obtains the current month-day from the system clock in the default time-zone. 152 * time-zone to obtain the current month-day. 157 * @return the current month-day using the system clock and default time-zone, not nul [all...] |
YearMonth.java | 104 * A year-month in the ISO-8601 calendar system, such as {@code 2007-12}. 107 * of a year and month. Any field that can be derived from a year and month, such as 146 * The month-of-year, not null. 148 private final int month; field in class:YearMonth 152 * Obtains the current year-month from the system clock in the default time-zone. 155 * time-zone to obtain the current year-month. 160 * @return the current year-month using the system clock and default time-zone, not null 167 * Obtains the current year-month from the system clock in the specified time-zone. 169 * This will query the {@link Clock#system(ZoneId) system clock} to obtain the current year-month [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
JapaneseDate.java | 196 * system from the era, year-of-era, month-of-year and day-of-month fields. 199 * The day must be valid for the year and month, otherwise an exception will be thrown. 201 * The Japanese month and day-of-month are the same as those in the 213 * @param month the Japanese month-of-year, from 1 to 12 214 * @param dayOfMonth the Japanese day-of-month, from 1 to 31 217 * or if the day-of-month is invalid for the month-year 753 int month = in.readByte(); local [all...] |
MinguoDate.java | 163 * system from the proleptic-year, month-of-year and day-of-month fields. 166 * The day must be valid for the year and month, otherwise an exception will be thrown. 169 * @param month the Minguo month-of-year, from 1 to 12 170 * @param dayOfMonth the Minguo day-of-month, from 1 to 31 173 * or if the day-of-month is invalid for the month-year 175 public static MinguoDate of(int prolepticYear, int month, int dayOfMonth) { 176 return new MinguoDate(LocalDate.of(prolepticYear + YEARS_DIFFERENCE, month, dayOfMonth)) 508 int month = in.readByte(); local [all...] |
ThaiBuddhistDate.java | 163 * system from the proleptic-year, month-of-year and day-of-month fields. 166 * The day must be valid for the year and month, otherwise an exception will be thrown. 169 * @param month the Thai Buddhist month-of-year, from 1 to 12 170 * @param dayOfMonth the Thai Buddhist day-of-month, from 1 to 31 173 * or if the day-of-month is invalid for the month-year 175 public static ThaiBuddhistDate of(int prolepticYear, int month, int dayOfMonth) { 176 return new ThaiBuddhistDate(LocalDate.of(prolepticYear - YEARS_DIFFERENCE, month, dayOfMonth)) 508 int month = in.readByte(); local [all...] |
/libcore/ojluni/src/main/java/java/time/zone/ |
IcuZoneRulesProvider.java | 33 import java.time.Month; 227 // Calendar.JANUARY is 0, transform it into a proper Month. 228 Month month = Month.JANUARY.plus(dateTimeRule.getRuleMonth()); local 234 // Transition always on a specific day of the month. 246 dayOfMonthIndicator = -month.maxLength() + dateTimeRule.getRuleDayOfMonth() - 1; 286 month, dayOfMonthIndicator, dayOfWeek, time, timeEndOfDay, timeDefinition,
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputBuffer.java | 313 int year, month, day, hour, minute, second, millis; local 334 month = 10 * Character.digit((char)buf[pos++], 10); 335 month += Character.digit((char)buf[pos++], 10); 394 if (month == 0 || day == 0 395 || month > 12 || day > 31 405 date.setDate(year, month, day);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
JulianCalendar.java | 148 public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar.Date cache) { 149 boolean isJan1 = month == JANUARY && dayOfMonth == 1; 156 return cache.getCachedJan1() + getDayOfYear(jyear, month, dayOfMonth) - 1; 168 if (month > 0) { 169 days += ((367 * (long) month) - 362) / 12; 171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12); 173 if (month > FEBRUARY) { 199 int month = 12 * priorDays + 373; local 200 if (month > 0) { 201 month /= 367 [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
CopticDate.java | 106 * The month. 108 private final short month; field in class:CopticDate 127 int month = doy0 / 30 + 1; local 129 return new CopticDate(prolepticYear, month, dom); 132 private static CopticDate resolvePreviousValid(int prolepticYear, int month, int day) { 133 if (month == 13 && day > 5) { 136 return new CopticDate(prolepticYear, month, day); 144 * @param month the Coptic month, from 1 to 13 145 * @param dayOfMonth the Coptic day-of-month, from 1 to 3 [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 50 private static final String MONTH = "month"; 71 * @param monthOfYear The month that was set (0-11) for compatibility 73 * @param dayOfMonth The day of the month that was set. 83 * @param monthOfYear The initial month of the dialog. 104 * @param monthOfYear The initial month of the dialog. 149 public void onDateChanged(DatePicker view, int year, int month, int day) { 150 updateTitle(year, month, day); 153 private void updateTitle(int year, int month, int day) { 156 calendar.set(Calendar.MONTH, month) 177 int month = savedInstanceState.getInt(MONTH); local [all...] |
/toolchain/binutils/binutils-2.27/include/nlm/ |
external.h | 64 unsigned char month[NLM_TARGET_LONG_SIZE]; local
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
BatteryStatsSummaryInfoParser.java | 75 final int month = Integer.parseInt(resetTimeMatcher.group(2)); local 80 // Calendar month is zero indexed but the parsed date is 1-12 81 mResetTime.set(year, (month - 1), day, hour, minute, second);
|
/device/google/contexthub/firmware/os/platform/stm32/ |
rtc.c | 259 uint8_t month; local 269 month = (((dr >> 12) & 0x1) * 10) + ((dr >> 8) & 0xf) - 1; 270 time_s = (((((dr >> 4) & 0x3) * 10) + (dr & 0xF) - 1) + (month << 5) - adjust[month]) * 86400ULL;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar",
22 def __init__(self, month):
23 self.month = month
25 return "bad month number %r; must be 1-12" % self.month
39 # Number of days per month (except for February in leap years)
42 # This module used to have hard-coded lists of day and month names, as
110 def weekday(year, month, day):
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 585 month = c.formatmonth variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar",
22 def __init__(self, month):
23 self.month = month
25 return "bad month number %r; must be 1-12" % self.month
39 # Number of days per month (except for February in leap years)
42 # This module used to have hard-coded lists of day and month names, as
110 def weekday(year, month, day):
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 580 month = c.formatmonth variable [all...] |
/external/dng_sdk/source/ |
dng_date_time.cpp | 64 uint32 month, 71 , fMonth (month) 215 uint32 month, 220 fDateTime.fMonth = month; 255 unsigned month = 0; local 261 &month, 268 (uint32) month, 487 unsigned month = 0; local 493 &month, 498 (uint32) month, [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
GregorianCalendar.java | 72 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 74 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month, 76 * week 1 of a year, week 1 of a month may be shorter than 7 days, need 78 * the previous month. Days of a month before week 1 have a 118 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 143 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 246 // len length of month 734 int eyear, month, dayOfMonth, dayOfYear; local [all...] |
HebrewCalendar.java | 27 * the lunar month (approximately 29.53 days) an extra "leap month" is 34 * The leap month is known as "Adar 1" and is inserted between the 35 * months of Shevat and Adar in leap years. Since the leap month does 37 * month numbers are particularly complex. Users of this class should 86 * Constant for Tishri, the 1st month of the Hebrew year. 91 * Constant for Heshvan, the 2nd month of the Hebrew year. 96 * Constant for Kislev, the 3rd month of the Hebrew year. 101 * Constant for Tevet, the 4th month of the Hebrew year. 106 * Constant for Shevat, the 5th month of the Hebrew year. 435 int month = get(MONTH); local 515 int month = get(MONTH); local 786 int month = 0; local [all...] |
IndianCalendar.java | 31 * Month Length Start date (Gregorian) 73 * Constant for Chaitra, the 1st month of the Indian year. 78 * Constant for Vaisakha, the 2nd month of the Indian year. 83 * Constant for Jyaistha, the 3rd month of the Indian year. 88 * Constant for Asadha, the 4th month of the Indian year. 93 * Constant for Sravana, the 5th month of the Indian year. 98 * Constant for Bhadra, the 6th month of the Indian year. 103 * Constant for Asvina, the 7th month of the Indian year. 108 * Constant for Kartika, the 8th month of the Indian year. 113 * Constant for Agrahayana, the 9th month of the Indian year. 499 int year, month, day; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HolidayTest.java | 158 // Stash away a Date for the start of this month 160 // Find the day of week of the first day in this month 164 // Now find the # of days in the month 168 // Finally, find the end of the month, i.e. the start of the next one 170 c.add(Calendar.MONTH, 1); 176 // Calculate the number of full or partial weeks in this month. 182 // Remember which holidays fall on which days in this month, 197 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); 223 int month = fCalendar.get(Calendar.MONTH); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
incaltst.cpp | 149 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 } 173 int32_t month = data[i++]; local 177 grego->set(gregorianYear, month, dayOfMonth); 182 cal.set(year, month, dayOfMonth); 189 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 192 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 213 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 269 UCAL_JUNE, // month 275 UCAL_FEBRUARY, // month 278 0, // test month calculation: 4795 BE = 4252 AD is a leap year, but 4795 AD is not [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarPanel.java | 108 int month = fCalendar[0].get(Calendar.MONTH); local 113 fCalendar[0].set(Calendar.MONTH, month); 142 // Stash away a Date for the start of this month 144 // Find the day of week of the first day in this month 149 // Now find the # of days in the month 153 // Finally, find the end of the month, i.e. the start of the next one 155 c.add(Calendar.MONTH, 1); 165 // Calculate the number of full or partial weeks in this month 331 String month = fSymbols[i].getMonths()[ local [all...] |