Note that the largest value you can represent with this class is 9223372036854775807 (Long.MAX_VALUE
), or equivalently, 292471208 yrs 247 days 7 hrs 12 min 55.807 sec. Overflow is not handled gracefully by this class.
Also note that for the purposes of this class, a year has 365 days. I.e., a year corresponds to 365 * 24 * 60 * 60 * 1000
ms.
|
|