/libcore/luni/src/main/java/java/util/ |
H A D | Grego.java | 86 * Convert a year, month, and day-of-month, given in the proleptic
90 * @param dom 1-based day of month
91 * @return the day number, with day 0 == Jan 1 1970
99 return julian - JULIAN_1970_CE; // JD => epoch day
103 * Return the day of week on the 1970-epoch day
104 * @param day the 1970-epoch day (integral value)
105 * @return the day o 107 dayOfWeek(long day) argument 115 dayToFields(long day, int[] fields) argument [all...] |
H A D | SimpleTimeZone.java | 102 * By default, this constructor specifies day-of-week-in-month rules. That 108 * Day of month: To specify an exact day of the month, such as March 1, set 111 * Day of week after day of month: To specify the first day of the week 112 * occurring on or after an exact day of the month, make the day of the week 114 * this indicates the first Monday on or after the 5th day of the 117 * Day of week before day of month: To specify the last day of the week 118 * occurring on or before an exact day o 342 getOffset(int era, int year, int month, int day, int dayOfWeek, int time) argument 567 checkDay(int month, int day) argument 639 setEndRule(int month, int day, int dayOfWeek, int time) argument 663 setEndRule(int month, int day, int dayOfWeek, int time, boolean after) argument 748 setStartRule(int month, int day, int dayOfWeek, int time) argument 772 setStartRule(int month, int day, int dayOfWeek, int time, boolean after) argument [all...] |
H A D | Date.java | 37 * as the current month or day of week, or to construct a {@code Date} from a broken-down 69 * @param day 70 * the day of the month, 1 - 31. 75 public Date(int year, int month, int day) { argument 77 cal.set(1900 + year, month, day); 89 * @param day 90 * the day of the month, 1 - 31. 92 * the hour of day, 0 - 23. 99 public Date(int year, int month, int day, int hour, int minute) { argument 101 cal.set(1900 + year, month, day, hou 126 Date(int year, int month, int day, int hour, int minute, int second) argument 572 setDate(int day) argument 755 UTC(int year, int month, int day, int hour, int minute, int second) argument [all...] |
H A D | GregorianCalendar.java | 65 * 53. Week 1 for a year is the earliest seven day period starting on 69 * {@code getFirstDayOfWeek()}, and the day of the week of January 1. 88 * contiguous days in that month, ending on the day before 242 * @param day 243 * the day of the month. 245 public GregorianCalendar(int year, int month, int day) { argument 247 set(year, month, day); 258 * @param day 259 * the day of the month. 265 public GregorianCalendar(int year, int month, int day, in argument 287 GregorianCalendar(int year, int month, int day, int hour, int minute, int second) argument [all...] |
H A D | Calendar.java | 75 * {@code Calendar} defines a locale-specific seven day week using two 76 * parameters: the first day of the week and the minimal days in first week 85 * month or year is defined as the earliest seven day period beginning on 97 * {@code Date} (such as only year and month but no day in the month), or 110 * determining the day, the calendar will look for one of the following 125 * For the time of day: 140 * <li> 24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 145 * noon belongs to "pm", so on the same day, we have 12:00 am (midnight) < 12:01 am, 260 * possible value to Sunday (where Sunday is the first day of the week). 265 * increment and decrement buttons for the month, day, an 1141 set(int year, int month, int day) argument 1152 set(int year, int month, int day, int hourOfDay, int minute) argument 1163 set(int year, int month, int day, int hourOfDay, int minute, int second) argument [all...] |
H A D | TimeZone.java | 319 public abstract int getOffset(int era, int year, int month, int day, argument
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 413 int hours = (int) (val % 24L); // 24 hours per day 430 BigInteger hours = BigInteger.valueOf(val % 24L); // 24 hours per day 438 * <code>day</cod 466 newDurationDayTime( final boolean isPositive, final BigInteger day, final BigInteger hour, final BigInteger minute, final BigInteger second) argument 508 newDurationDayTime( final boolean isPositive, final int day, final int hour, final int minute, final int second) argument 788 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 824 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 886 newXMLGregorianCalendarDate( final int year, final int month, final int day, final int timezone) argument [all...] |
H A D | XMLGregorianCalendar.java | 91 * <a name="datetimefield-day"/> 93 * <td> day </td> 198 * int day, 207 * int day, 217 * int day, 289 * @param day value constraints summarized in <a href="#datetimefield-day">day field of date/time field mapping table</a>. 291 * @throws IllegalArgumentException if <code>day</code> parameter is 295 public abstract void setDay(int day); argument [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | Date.java | 24 * format only deals with year, month and day values. There are no values for 42 * month and day. 52 * the day in the month. Must be in the range {@code [1,31]}. 60 * Creates a date which corresponds to the day determined by the supplied 67 * correspond to 00:00:00 GMT on the day determined by the supplied 157 * set based on the supplied time value and rounded to zero GMT for that day. 166 * elements finer than the day based on zero GMT 229 int day = Integer.parsePositiveInt(parts[2]); 230 return new Date(year - 1900, month - 1, day); 237 * particular day [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | CalendarTest.java | 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { argument 152 calendar.set(year, month, day, hour, minute); 155 assertEquals(day, calendar.get(Calendar.DAY_OF_MONTH)); 199 int year, int month, int day, int hour, int minute) { 202 assertEquals(day, calendar.get(Calendar.DATE)); 198 assertCalendarEquals(Calendar calendar, int year, int month, int day, int hour, int minute) argument
|
H A D | OldTimeZoneTest.java | 30 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | CalendarTest.java | 528 // test by day 842 for (int day = 1; day <= 7; day++) { 843 cal.set(Calendar.DAY_OF_WEEK, day); 844 value = symbols.getShortWeekdays()[day]; 847 value = symbols.getWeekdays()[day];
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfo.java | 183 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { argument 202 calc += (day - 1) * MILLISECONDS_PER_DAY; 347 // Unfortunately, it cannot represent an initial state with a zero day and would
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_ICU.cpp | 509 ScopedResourceBundle day(ures_getByKey(fields.get(), "day", NULL, &status)); 510 ScopedResourceBundle relative(ures_getByKey(day.get(), "relative", NULL, &status));
|