A {@code ReadablePartial} supports a subset of those fields on the chronology.It cannot be compared to a {@code ReadableInstant}, as it does not fully specify an instant in time. The time it does specify is a local time, and does not include a time zone.
A {@code ReadablePartial} can be converted to a {@code ReadableInstant}using the {@code toDateTime} method. This works by providing a full baseinstant that can be used to 'fill in the gaps' and specify a time zone.
{@code ReadablePartial} is {@code Comparable} from v2.0.The comparison is based on the fields, compared in order, from largest to smallest. The first field that is non-equal is used to determine the result. @author Stephen Colebourne @since 1.0
|
|
|
|