Searched refs:month (Results 1 - 16 of 16) sorted by relevance

/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_TimeZone.java47 * let's assume this timezone has daylight savings from the 4th month till
48 * the 10th month of the year to ame things simple.
57 int month = cal.get(Calendar.MONTH);
59 if (month > 4 && month < 10) {
/dalvik/libcore/luni/src/main/java/java/util/
H A DGregorianCalendar.java85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
88 * contiguous days in that month, ending on the day before
90 * month may be shorter than 7 days, need not start on
92 * previous month. Days of a month before week 1 have a
248 * @param month
249 * the month.
251 * the day of the month.
253 public GregorianCalendar(int year, int month, int day) { argument
255 set(year, month, da
273 GregorianCalendar(int year, int month, int day, int hour, int minute) argument
295 GregorianCalendar(int year, int month, int day, int hour, int minute, int second) argument
952 daysInMonth(boolean leapYear, int month) argument
971 daysInYear(boolean leapYear, int month) argument
[all...]
H A DSimpleTimeZone.java43 * {@code SimpleTimeZone} should count from the end of the month
142 * By default, this constructor specifies day-of-week-in-month rules. That
148 * Day of month: To specify an exact day of the month, such as March 1, set
151 * Day of week after day of month: To specify the first day of the week
152 * occurring on or after an exact day of the month, make the day of the week
157 * Day of week before day of month: To specify the last day of the week
158 * occurring on or before an exact day of the month, make the day of the
159 * week and the day of the month negative. For example, if {@code startDay} is {@code -21}
174 * the daylight savings starting month
397 getOffset(int era, int year, int month, int day, int dayOfWeek, int time) argument
633 checkRange(int month, int dayOfWeek, int time) argument
646 checkDay(int month, int day) argument
696 setEndRule(int month, int dayOfMonth, int time) argument
725 setEndRule(int month, int day, int dayOfWeek, int time) argument
755 setEndRule(int month, int day, int dayOfWeek, int time, boolean after) argument
828 setStartRule(int month, int dayOfMonth, int time) argument
857 setStartRule(int month, int day, int dayOfWeek, int time) argument
887 setStartRule(int month, int day, int dayOfWeek, int time, boolean after) argument
[all...]
H A DDate.java68 * @param month
69 * the month, 0 - 11.
71 * the day of the month, 1 - 31.
77 public Date(int year, int month, int day) { argument
79 cal.set(1900 + year, month, day);
89 * @param month
90 * the month, 0 - 11.
92 * the day of the month, 1 - 31.
102 public Date(int year, int month, int day, int hour, int minute) { argument
104 cal.set(1900 + year, month, da
129 Date(int year, int month, int day, int hour, int minute, int second) argument
621 setMonth(int month) argument
760 UTC(int year, int month, int day, int hour, int minute, int second) argument
[all...]
H A DCalendar.java56 * fields, as well as their meaning. For example, the first month of the year
71 * values between 1 and the length of the month.
83 * the first week of the month or year as a reference point. The first week of a
84 * month or year is defined as the earliest seven day period beginning on
86 * {@code getMinimalDaysInFirstWeek()} days of that month or year. Weeks
96 * {@code Date} (such as only year and month but no day in the month), or
223 * rule 2, since it is expected to change when the month changes in a
244 * the {@code DAY_OF_MONTH} cannot be 31 in the month April. Add rule 2
264 * increment and decrement buttons for the month, da
1195 set(int year, int month, int day) argument
1216 set(int year, int month, int day, int hourOfDay, int minute) argument
1240 set(int year, int month, int day, int hourOfDay, int minute, int second) argument
[all...]
H A DFormatter.java347 * <td width="25%">Localized month name (abbreviated).</td>
353 * <td width="25%">Localized month name (full).</td>
371 * <td width="25%">2-digit day of month (01-31).</td>
383 * <td width="25%">Day of month (1-31).</td>
437 * <td width="25%">2-digit month of year (01-12).</td>
2386 int month = calendar.get(Calendar.MONTH);
2387 // The returned month starts from zero, which needs to be
2389 month++;
2390 result.append(paddingZeros(month, 2));
2426 int month
[all...]
H A DTimeZone.java375 * @param month
376 * the {@code Calendar} month.
378 * the day of the month.
385 abstract public int getOffset(int era, int year, int month, int day, argument
658 * dst start week of month; tzinfo[5] -> the dst start month;
660 * week; tzinfo[8] -> the dst end week of month; tzinfo[9] -> the
661 * dst end month;
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/
H A DDatatypeFactory.java141 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
143 * year, month, day, hour, minute, and second.
170 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
172 * year, month, day, hour, minute, and second.
190 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
364 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
518 * whose lexical representation contains only year and month components.
557 * whose lexical representation contains only year and month components.
576 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
579 * <p>Any remaining milliseconds after determining the year and month ar
613 newDurationYearMonth( final boolean isPositive, final BigInteger year, final BigInteger month) argument
646 newDurationYearMonth( final boolean isPositive, final int year, final int month) argument
781 newXMLGregorianCalendar( final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) argument
817 newXMLGregorianCalendar( final int year, final int month, final int day, final int hour, final int minute, final int second, final int millisecond, final int timezone) argument
879 newXMLGregorianCalendarDate( final int year, final int month, final int day, final int timezone) argument
[all...]
H A DXMLGregorianCalendar.java85 * <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">mont
282 setMonth(int month) argument
[all...]
/dalvik/libcore/sql/src/main/java/java/sql/
H A DDate.java24 * format only deals with year, month and day values. There are no values for
41 * month and day.
48 * the month, specified as a number with 0 = January. Must be in
51 * the day in the month. Must be in the range {@code [1,31]}.
231 int month = Integer.parseInt(dateString.substring(firstIndex + 1,
235 return new Date(year - 1900, month - 1, day);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DUtil.java124 int year = -1, month = -1, date = -1;
170 } else if (year == -1 && month != -1 && date != -1)
180 } else if (month == -1 && (month = parse(text, MONTHS)) != -1) {
191 if (year != -1 && month != -1 && date != -1) {
206 cal.set(Calendar.MONTH, month);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
H A DZoneInfo.java140 int year, int month, int day,
159 calc += mlen[month] * MILLISECONDS_PER_DAY;
139 getOffset(@uppressWarningsÓ) int era, int year, int month, int day, @SuppressWarnings(Ó) int dayOfWeek, int millis) argument
H A DZoneInfoDB.java410 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { argument
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDateTest.java105 static private long getTime(int year, int month, int date, int hour, argument
107 aCal.set(year, month, date, hour, minute, second);
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DTimeZoneTest.java213 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
/dalvik/libcore/icu/src/main/native/
H A DResources.cpp443 // the array length is +1 because the harmony locales had an empty string at the end of their month name array
447 const jchar* month = ures_getStringByIndex(monthNameElemsFormat.get(), i, &monthNameLength, &status); local
451 jstring monthU = env->NewString(month, monthNameLength);

Completed in 282 milliseconds