The implementation of this interface may be mutable or immutable. This interface only gives access to retrieve data, never to change it.
Methods that are passed a duration as a parameter will treat null
as a zero length duration.
The {@code compareTo} method is no longer defined in this class in version 2.0.Instead, the definition is simply inherited from the {@code Comparable} interface.This approach is necessary to preserve binary compatibility. The definition of the comparison is ascending order by millisecond duration. Implementors are recommended to extend {@code AbstractInstant} instead of this interface. @see ReadableInterval @see ReadablePeriod @author Brian S O'Neill @author Stephen Colebourne @since 1.0
|
|
|
|