()
| 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 |
no test coverage detected