Lines Matching refs:day
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) {
247 set(year, month, day);
258 * @param day
259 * the day of the month.
265 public GregorianCalendar(int year, int month, int day, int hour, int minute) {
267 set(year, month, day, hour, minute);
278 * @param day
279 * the day of the month.
287 public GregorianCalendar(int year, int month, int day, int hour,
290 set(year, month, day, hour, minute, second);
479 // it to millis (the number of milliseconds in the current day) instead.
705 // know for sure in this case, so we always prefer the week-month-day
1003 * for the day of month field.
1026 * for the day of month field.
1153 int days, day, mod, maxWeeks, newWeek;
1161 day = DAY_OF_YEAR;
1162 mod = mod7(fields[DAY_OF_WEEK] - fields[day]
1168 if (fields[day] > addDays && fields[day] + addDays > days) {
1174 int week = (fields[day] - ((fields[day] - 1) / 7 * 7) - 1 + mod) / 7 + 1;
1186 day = DATE;
1187 mod = mod7(fields[DAY_OF_WEEK] - fields[day]
1192 if (fields[day] + (newWeek - fields[field]) * 7 > days) {
1193 set(day, days);
1198 int week = (fields[day] - ((fields[day] - 1) / 7 * 7) - 1 + mod) / 7 + 1;
1200 set(day, 1);