Searched refs:day (Results 1 - 12 of 12) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/util/
H A DSimpleTimeZone.java125 * By default, this constructor specifies day-of-week-in-month rules. That
131 * Day of month: To specify an exact day of the month, such as March 1, set
134 * Day of week after day of month: To specify the first day of the week
135 * occurring on or after an exact day of the month, make the day of the week
137 * this indicates the first Monday on or after the 5th day of the
140 * Day of week before day of month: To specify the last day of the week
141 * occurring on or before an exact day o
365 getOffset(int era, int year, int month, int day, int dayOfWeek, int time) argument
601 checkDay(int month, int day) argument
675 setEndRule(int month, int day, int dayOfWeek, int time) argument
700 setEndRule(int month, int day, int dayOfWeek, int time, boolean after) argument
789 setStartRule(int month, int day, int dayOfWeek, int time) argument
814 setStartRule(int month, int day, int dayOfWeek, int time, boolean after) argument
[all...]
H A DDate.java66 * @param day
67 * the day of the month, 1 - 31.
74 public Date(int year, int month, int day) { argument
76 cal.set(1900 + year, month, day);
88 * @param day
89 * the day of the month, 1 - 31.
91 * the hour of day, 0 - 23.
100 public Date(int year, int month, int day, int hour, int minute) { argument
102 cal.set(1900 + year, month, day, hour, minute);
114 * @param day
128 Date(int year, int month, int day, int hour, int minute, int second) argument
585 setDate(int day) argument
757 UTC(int year, int month, int day, int hour, int minute, int second) argument
[all...]
H A DCalendar.java84 * {@code Calendar} defines a locale-specific seven day week using two
85 * parameters: the first day of the week and the minimal days in first week
94 * month or year is defined as the earliest seven day period beginning on
106 * {@code Date} (such as only year and month but no day in the month), or
119 * determining the day, the calendar will look for one of the following
134 * For the time of day:
149 * <li> 24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969
154 * noon belongs to "pm", so on the same day, we have 12:00 am (midnight) &lt; 12:01 am,
281 * possible value to Sunday (where Sunday is the first day of the week).
287 * increment and decrement buttons for the month, day, an
1344 set(int year, int month, int day) argument
1366 set(int year, int month, int day, int hourOfDay, int minute) argument
1391 set(int year, int month, int day, int hourOfDay, int minute, int second) argument
[all...]
H A DGregorianCalendar.java76 * 53. Week 1 for a year is the earliest seven day period starting on
80 * {@code getFirstDayOfWeek()}, and the day of the week of January 1.
99 * contiguous days in that month, ending on the day before
269 * @param day
270 * the day of the month.
273 public GregorianCalendar(int year, int month, int day) { argument
275 set(year, month, day);
286 * @param day
287 * the day of the month.
294 public GregorianCalendar(int year, int month, int day, in argument
317 GregorianCalendar(int year, int month, int day, int hour, int minute, int second) argument
[all...]
H A DFormatter.java240 * <td width="10%">The day of the week</td>
258 * <td width="10%">The day of the month (with or without leading zeros)</td>
277 * <td width="10%">The number of the day (from the beginning of the year).</td>
295 * <td width="10%">The hour of the day, in 12 or 24 hour format, with or
2392 int day = calendar.get(Calendar.DAY_OF_MONTH);
2393 result.append(day);
2397 int day = calendar.get(Calendar.DAY_OF_MONTH);
2398 result.append(paddingZeros(day, 2));
2410 int day = calendar.get(Calendar.DAY_OF_YEAR);
2411 result.append(paddingZeros(day,
[all...]
H A DTimeZone.java408 * @param day
409 * the day of the month.
411 * the {@code Calendar} day of the week.
413 * the time of day in milliseconds.
417 abstract public int getOffset(int era, int year, int month, int day, argument
657 // * hour; tzinfo[3] -> the dst start day of week; tzinfo[4] -> the
659 // * tzinfo[6] -> the dst end hour; tzinfo[7] -> the dst end day of
/dalvik/libcore/sql/src/main/java/java/sql/
H A DDate.java26 * format only deals with year, month and day values. There are no values for
46 * month and day.
56 * the day in the month. Must be in the range {@code [1,31]}.
66 * Creates a date which corresponds to the day determined by the supplied
73 * correspond to 00:00:00 GMT on the day determined by the supplied
176 * set based on the supplied time value and rounded to zero GMT for that day.
186 * elements finer than the day based on zero GMT
236 int day = Integer.parseInt(dateString.substring(secondIndex + 1,
238 return new Date(year - 1900, month - 1, day);
245 * particular day
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
H A DZoneInfo.java129 int year, int month, int day,
149 calc += (day - 1) * MILLISECONDS_PER_DAY;
128 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/text/src/main/java/java/text/
H A DSimpleDateFormat.java95 * <td>day in month</td>
107 * <td>hour in day (0&tilde;23)</td>
131 * <td>day of week</td>
137 * <td>day in year</td>
143 * <td>day of week in month</td>
167 * <td>hour in day (1&tilde;24)</td>
317 * The calendar defines the first day of the week, the first week of the year,
491 int day = calendar.get(Calendar.DAY_OF_WEEK);
493 buffer.append(formatData.shortWeekdays[day]);
495 buffer.append(formatData.weekdays[day]);
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DTimeZoneTest.java212 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
/dalvik/libcore/icu/src/main/native/
H A DResourceInterface.cpp530 // get the First day of week and the minimal days in first week numbers
745 const jchar* day; local
773 day = ures_getStringByIndex(dayNameElemsFormat, i, &dayNameLength, &status);
780 dayU = env->NewString(day, dayNameLength);
1009 // adding the first day of week and minimal days in first week values
1053 // adding day names string array to the result
1060 // adding short day names string array to the result

Completed in 152 milliseconds