public interface LeapSecondEvent
This interface describes that during the last minute of a given calendar day an UTC-leapsecond was either introducted or left out.
Example: If the day is given as [1972-06-30] then this means a leapsecond in the last minute short before midnight of following day, namely at [1972-06-30T23:59:60Z].
| Modifier and Type | Method and Description |
|---|---|
GregorianDate |
getDate()
Returns the date of leapsecond introduction.
|
int |
getShift()
Returns the leapsecond shift of this event only.
|
GregorianDate getDate()
Returns the date of leapsecond introduction.
int getShift()
Returns the leapsecond shift of this event only.
Note: Until the year 2014 there was only the shift of one
second extra so the return value of this method is always +1.
But negative leapseconds with the shift -1 remain
theoretically possible according to UTC definition.
!= 0)