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

Method getElapsedTimeUTC

base/src/main/java/net/time4j/Moment.java:1948–1957  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1946 }
1947
1948 private long getElapsedTimeUTC() {
1949
1950 if (LeapSeconds.getInstance().isEnabled()) {
1951 long time = LeapSeconds.getInstance().enhance(this.posixTime);
1952 return (this.isPositiveLS() ? time + 1 : time);
1953 } else {
1954 return this.posixTime - POSIX_UTC_DELTA;
1955 }
1956
1957 }
1958
1959 // Datum in der UTC-Zeitzone
1960 private PlainDate getDateUTC() {

Callers 6

getElapsedTimeMethod · 0.95
getNanosecondMethod · 0.95
plusMethod · 0.95
compareToMethod · 0.95
toStringUTCMethod · 0.95
getModernUTMethod · 0.95

Calls 4

getInstanceMethod · 0.95
isPositiveLSMethod · 0.95
isEnabledMethod · 0.45
enhanceMethod · 0.45

Tested by

no test coverage detected