Lines Matching refs:hour
47 * A widget for selecting the time of day, in either 24-hour or AM/PM mode.
96 * @param hourOfDay The current hour.
168 * Sets the currently selected hour using 24-hour time.
170 * @param hour the hour to set, in the range (0-23)
173 public void setHour(@IntRange(from = 0, to = 23) int hour) {
174 mDelegate.setHour(MathUtils.constrain(hour, 0, 23));
178 * Returns the currently selected hour using 24-hour time.
180 * @return the currently selected hour, in the range (0-23)
208 * Sets the currently selected hour using 24-hour time.
210 * @param currentHour the hour to set, in the range (0-23)
219 * @return the currently selected hour, in the range (0-23)
250 * Sets whether this widget displays time in 24-hour mode or 12-hour mode
253 * @param is24HourView {@code true} to display in 24-hour mode,
254 * {@code false} for 12-hour mode with AM/PM
266 * @return {@code true} if this widget displays time in 24-hour mode,
363 void setHour(@IntRange(from = 0, to = 23) int hour);
369 void setDate(@IntRange(from = 0, to = 23) int hour,
480 * This method must be called every time the value of the hour and/or minute is changed by
493 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode) {
494 this(superState, hour, minute, is24HourMode, 0);
497 public SavedState(Parcelable superState, int hour, int minute, boolean is24HourMode,
500 mHour = hour;