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

Method isNegativeLS

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

Source from the content-addressed store, hash-verified

2016 }
2017
2018 private boolean isNegativeLS() {
2019
2020 LeapSeconds ls = LeapSeconds.getInstance();
2021
2022 if (ls.supportsNegativeLS()) {
2023 long ut = this.posixTime;
2024 return (ls.strip(ls.enhance(ut)) > ut);
2025 } else {
2026 return false;
2027 }
2028
2029 }
2030
2031 private static void checkUnixTime(long unixTime) {
2032

Callers 1

applyMethod · 0.95

Calls 4

getInstanceMethod · 0.95
supportsNegativeLSMethod · 0.95
stripMethod · 0.95
enhanceMethod · 0.95

Tested by

no test coverage detected