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

Method check1972

base/src/main/java/net/time4j/Moment.java:1888–1895  ·  view source on GitHub ↗

Prüft, ob der Zeitpunkt vor 1972 liegt. @param context Prüfzeitpunkt @throws UnsupportedOperationException wenn der Zeitpunkt vor 1972 ist

(Moment context)

Source from the content-addressed store, hash-verified

1886 * @throws UnsupportedOperationException wenn der Zeitpunkt vor 1972 ist
1887 */
1888 static void check1972(Moment context) {
1889
1890 if (context.posixTime < POSIX_UTC_DELTA) {
1891 throw new UnsupportedOperationException(
1892 "Cannot calculate SI-duration before 1972-01-01.");
1893 }
1894
1895 }
1896
1897 private String toStringUTC(boolean extended) {
1898

Callers 2

betweenMethod · 0.95
plusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected