(int hour)
| 1148 | * @throws IllegalArgumentException if given hour is out of range |
| 1149 | */ |
| 1150 | public static PlainTime of(int hour) { |
| 1151 | |
| 1152 | checkHour(hour); |
| 1153 | return HOURS[hour]; |
| 1154 | |
| 1155 | } |
| 1156 | |
| 1157 | /** |
| 1158 | * <p>Creates a wall time with hour and minute. </p> |