MCPcopy Create free account
hub / github.com/MenoData/Time4J / checkHour

Method checkHour

base/src/main/java/net/time4j/PlainTime.java:1913–1920  ·  view source on GitHub ↗
(long hour)

Source from the content-addressed store, hash-verified

1911 }
1912
1913 private static void checkHour(long hour) {
1914
1915 if (hour < 0 || hour > 24) {
1916 throw new IllegalArgumentException(
1917 "HOUR_OF_DAY out of range: " + hour);
1918 }
1919
1920 }
1921
1922 private static void checkMinute(long minute) {
1923

Callers 2

PlainTimeMethod · 0.95
ofMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected