/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 23 int month, int year, String timezone) { 25 t.set(second, minute, hour, monthDay, month, year);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BuddhistCalendar.java | 136 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 141 public BuddhistCalendar(int year, int month, int date) { 142 super(year, month, date); 151 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 162 public BuddhistCalendar(int year, int month, int date, int hour, 165 super(year, month, date, hour, minute, second) [all...] |
CopticCalendar.java | 30 * the 1st month of the Coptic year. 36 * the 2nd month of the Coptic year. 42 * the 3rd month of the Coptic year. 48 * the 4th month of the Coptic year. 54 * the 5th month of the Coptic year. 60 * the 6th month of the Coptic year. 66 * the 7th month of the Coptic year. 72 * the 8th month of the Coptic year. 78 * the 9th month of the Coptic year. 84 * the 10th month of the Coptic year. [all...] |
GregorianCalendar.java | 70 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 72 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month, 74 * week 1 of a year, week 1 of a month may be shorter than 7 days, need 76 * the previous month. Days of a month before week 1 have a 116 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 141 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 244 // len length of month 732 int eyear, month, dayOfMonth, dayOfYear; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BuddhistCalendar.java | 144 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 150 public BuddhistCalendar(int year, int month, int date) { 151 super(year, month, date); 160 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 172 public BuddhistCalendar(int year, int month, int date, int hour, 175 super(year, month, date, hour, minute, second) [all...] |
CopticCalendar.java | 30 * the 1st month of the Coptic year. 37 * the 2nd month of the Coptic year. 44 * the 3rd month of the Coptic year. 51 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 65 * the 6th month of the Coptic year. 72 * the 7th month of the Coptic year. 79 * the 8th month of the Coptic year. 86 * the 9th month of the Coptic year. 93 * the 10th month of the Coptic year. [all...] |
GregorianCalendar.java | 69 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 71 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month, 73 * week 1 of a year, week 1 of a month may be shorter than 7 days, need 75 * the previous month. Days of a month before week 1 have a 115 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 140 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 246 // len length of month 757 int eyear, month, dayOfMonth, dayOfYear; local [all...] |
/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...] |
/external/icu/icu4c/source/i18n/unicode/ |
simpletz.h | 52 * count from the end of the month backwards. For example, if Daylight Savings 53 * Time starts or ends at the last Sunday a month, use <code>dayOfWeekInMonth = -1</code> 140 * @param savingsStartMonth The daylight savings starting month. Month is 143 * day-of-week-in-month. See setStartRule() for a 149 * @param savingsEndMonth The daylight savings ending month. Month is 151 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month. 181 * @param savingsStartMonth The daylight savings starting month. Month i [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
SimpleDate.java | 26 * Represents a date (year, month, day) 30 public int month; // MM field in class:SimpleDate 50 this.month = sCalendarInstance.get(Calendar.MONTH); 63 result = prime * result + month; 83 if (month != other.month) { 98 int monthDiff = this.month - other.getMonth(); 112 return month;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 68 * Return the number of days in the given month. 70 * @param month 0-based month, with 0==Jan 71 * @return the number of days in the given month 73 public static final int monthLength(int year, int month) { 74 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; 78 * Return the length of a previous month of the Gregorian calendar. 80 * @param month 0-based month, with 0==Jan 81 * @return the number of days in the month previous to the given mont 145 int month = (12 * (dayOfYear + correction) + 6) \/ 367; \/\/ zero-based month local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 66 * Return the number of days in the given month. 68 * @param month 0-based month, with 0==Jan 69 * @return the number of days in the given month 71 public static final int monthLength(int year, int month) { 72 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; 76 * Return the length of a previous month of the Gregorian calendar. 78 * @param month 0-based month, with 0==Jan 79 * @return the number of days in the month previous to the given mont 143 int month = (12 * (dayOfYear + correction) + 6) \/ 367; \/\/ zero-based month local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 90 String month = lexer.ttoken().toLowerCase(); local 91 if (month.equals("jan")) { 92 retval.set(Calendar.MONTH, Calendar.JANUARY); 93 } else if (month.equals("feb")) { 94 retval.set(Calendar.MONTH, Calendar.FEBRUARY); 95 } else if (month.equals("mar")) { 96 retval.set(Calendar.MONTH, Calendar.MARCH); 97 } else if (month.equals("apr")) { 98 retval.set(Calendar.MONTH, Calendar.APRIL); 99 } else if (month.equals("may")) [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
Date.java | 45 * year, month, and day. 51 * @param month 0 to 11 56 public Date(int year, int month, int day) { 57 super(year, month, day); 133 int month = Integer.parseInt(mm); local 136 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) { 137 d = new Date(year - 1900, month - 1, day); 157 int month = super.getMonth() + 1; local 165 buf[5] = Character.forDigit(month/10,10) [all...] |
/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/i18n/ |
cecal.h | 66 * Return JD of start of given month/extended year 69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const; 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 107 * @param month the month 113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date, 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 122 * @param month receives the month 127 int32_t& year, int32_t& month, int32_t& day) [all...] |
islamcal.cpp | 195 int32_t mask = (int32_t) (0x01 << (11 - m)); // set mask for bit corresponding to month 279 // a month as having 31 days. Since date parsing now uses range checks based 280 // on the table below, we need to change the range for last day of month to 287 { 0, 0, 11, 11}, // MONTH 385 * Return the day # on which the given month starts. Days are counted 389 * @param month The hijri month, 0-based (assumed to be in range 0..11) 391 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { 394 return (int32_t)uprv_ceil(29.5*month) 397 return trueMonthStart(12*(year-1) + month); 535 int32_t month = 12*(extendedYear-1); local 606 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 34 private int month = 0; field in class:XMPDateTimeImpl 81 this.month = intCalendar.get(Calendar.MONTH) + 1; // cal is from 0..12 103 this.month = calendar.get(Calendar.MONTH) + 1; // cal is from 0..12 148 return month; 155 public void setMonth(int month) 157 if (month < 1) 159 this.month = 1; 161 else if (month > 12 [all...] |
/libcore/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) {
|
/system/core/logcat/tests/ |
logcat_benchmark.cpp | 34 int month; member in class:timestamp 48 &month, &day, &hour, &minute, &second, &millisecond) == 6; 60 || (month < T.month) 61 || ((month == T.month)
|
/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...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 35 private final int month; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 45 this.month = month; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 71 c.set(year, month - 1, day, hour, minute, second); 91 return month;
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 35 private final int month; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 45 this.month = month; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 71 c.set(year, month - 1, day, hour, minute, second); 91 return month;
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
Alarm.java | 35 public int month; field in class:Alarm 45 month = in.readInt(); 71 parcel.writeInt(month); 85 jsonObject.put("month", month); 107 alarm.month = jsonObject.getInt("month"); 122 ", month=" + month + 139 month == alarm.month & [all...] |
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
Alarm.java | 35 public int month; field in class:Alarm 45 month = in.readInt(); 71 parcel.writeInt(month); 85 jsonObject.put("month", month); 107 alarm.month = jsonObject.getInt("month"); 122 ", month=" + month + 139 month == alarm.month & [all...] |