Lines Matching refs:day

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) {
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) {
101 cal.set(1900 + year, month, day, hour, minute);
113 * @param day
114 * the day of the month, 1 - 31.
116 * the hour of day, 0 - 23.
126 public Date(int year, int month, int day, int hour, int minute, int second) {
128 cal.set(1900 + year, month, day, hour, minute, second);
235 * Returns the gregorian calendar day of the month for this {@code Date} object.
237 * @return the day of the month.
247 * Returns the gregorian calendar day of the week for this {@code Date} object.
249 * @return the day of the week.
259 * Returns the gregorian calendar hour of the day for this {@code Date} object.
261 * @return the hour of the day.
564 * Sets the gregorian calendar day of the month for this {@code Date} object.
566 * @param day
567 * the day of the month.
569 * @deprecated Use {@code Calendar.set(Calendar.DATE, day)} instead.
572 public void setDate(int day) {
574 cal.set(Calendar.DATE, day);
579 * Sets the gregorian calendar hour of the day for this {@code Date} object.
582 * the hour of the day.
739 * @param day
740 * the day of the month, 1 - 31.
742 * the hour of day, 0 - 23.
751 * cal.set(year + 1900, month, day, hour, minute, second);
755 public static long UTC(int year, int month, int day, int hour, int minute,
759 cal.set(1900 + year, month, day, hour, minute, second);