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

Method checkFraction

base/src/main/java/net/time4j/Moment.java:2040–2047  ·  view source on GitHub ↗
(int nanoFraction)

Source from the content-addressed store, hash-verified

2038 }
2039
2040 private static void checkFraction(int nanoFraction) {
2041
2042 if ((nanoFraction >= MRD) || (nanoFraction < 0)) {
2043 throw new IllegalArgumentException(
2044 "Nanosecond out of range: " + nanoFraction);
2045 }
2046
2047 }
2048
2049 private Moment transformForPrint(TimeScale scale) {
2050

Callers 2

MomentMethod · 0.95
readTimestampMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected