public class DubiousYearException
extends java.lang.Exception
UTC began at 1960 January 1.0 (JD 2436934.5) and it is improper to call a function with an earlier date. Such a date is considered dubious.
Because leap seconds cannot, in principle, be predicted in advance, a reliable check for dates beyond the valid range is impossible. To guard against gross errors, a year five or more after the release year of the present function (see the constant IYV) is considered dubious.
| Constructor and Description |
|---|
DubiousYearException(java.lang.String message) |
DubiousYearException(java.lang.String message,
java.lang.Throwable cause) |