Package com.ethlo.time
Class DefaultLeapSecondHandler
- java.lang.Object
-
- com.ethlo.time.DefaultLeapSecondHandler
-
- All Implemented Interfaces:
LeapSecondHandler
public class DefaultLeapSecondHandler extends Object implements LeapSecondHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringLEAP_SECOND_PATH_CSV-
Fields inherited from interface com.ethlo.time.LeapSecondHandler
LEAP_SECOND_SECONDS
-
-
Constructor Summary
Constructors Constructor Description DefaultLeapSecondHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YearMonthgetLastKnownLeapSecond()booleanisValidLeapSecondDate(YearMonth needle)
-
-
-
Field Detail
-
LEAP_SECOND_PATH_CSV
public static final String LEAP_SECOND_PATH_CSV
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidLeapSecondDate
public boolean isValidLeapSecondDate(YearMonth needle)
- Specified by:
isValidLeapSecondDatein interfaceLeapSecondHandler
-
getLastKnownLeapSecond
public YearMonth getLastKnownLeapSecond()
- Specified by:
getLastKnownLeapSecondin interfaceLeapSecondHandler
-
-