We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af387d0 commit 167451bCopy full SHA for 167451b
lib/java/com/google/android/material/timepicker/MaterialTimePicker.java
@@ -169,7 +169,7 @@ public int getHour() {
169
170
/** Sets the hour of day in the range [0, 23]. */
171
public void setHour(@IntRange(from = 0, to = 23) int hour) {
172
- time.setHour(hour);
+ time.setHourOfDay(hour);
173
if (activePresenter != null) {
174
activePresenter.invalidate();
175
}
0 commit comments