Package com.ethlo.time
Class LeapSecondException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ethlo.time.LeapSecondException
-
- All Implemented Interfaces:
Serializable
public class LeapSecondException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LeapSecondException(OffsetDateTime nearestDateTime, int secondsInMinute, boolean isVerifiedValidLeapYearMonth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimegetNearestDateTime()intgetSecondsInMinute()booleanisVerifiedValidLeapYearMonth()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LeapSecondException
public LeapSecondException(OffsetDateTime nearestDateTime, int secondsInMinute, boolean isVerifiedValidLeapYearMonth)
-
-
Method Detail
-
getSecondsInMinute
public int getSecondsInMinute()
-
getNearestDateTime
public OffsetDateTime getNearestDateTime()
-
isVerifiedValidLeapYearMonth
public boolean isVerifiedValidLeapYearMonth()
-
-