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

Method checkSecond

base/src/main/java/net/time4j/PlainTime.java:1931–1938  ·  view source on GitHub ↗
(long second)

Source from the content-addressed store, hash-verified

1929 }
1930
1931 private static void checkSecond(long second) {
1932
1933 if (second < 0 || second > 59) {
1934 throw new IllegalArgumentException(
1935 "SECOND_OF_MINUTE out of range: " + second);
1936 }
1937
1938 }
1939
1940 private static void checkNano(int nano) {
1941

Callers 2

PlainTimeMethod · 0.95
withValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected