public abstract class BaseInterval extends AbstractInterval implements ReadableInterval, java.io.Serializable
long millisecond fields.
This class should generally not be used directly by API users.
The ReadableInterval interface should be used when different
kinds of interval objects are to be referenced.
BaseInterval subclasses may be mutable and not thread-safe.
| Modifier and Type | Method and Description |
|---|---|
Chronology |
getChronology()
Gets the chronology of this interval.
|
long |
getEndMillis()
Gets the end of this time interval which is exclusive.
|
long |
getStartMillis()
Gets the start of this time interval which is inclusive.
|
contains, contains, contains, containsNow, equals, getEnd, getStart, hashCode, isAfter, isAfter, isAfter, isAfterNow, isBefore, isBefore, isBefore, isBeforeNow, isEqual, overlaps, toDuration, toDurationMillis, toInterval, toMutableInterval, toPeriod, toPeriod, toStringcontains, contains, equals, getEnd, getStart, hashCode, isAfter, isAfter, isBefore, isBefore, overlaps, toDuration, toDurationMillis, toInterval, toMutableInterval, toPeriod, toPeriod, toStringpublic Chronology getChronology()
getChronology in interface ReadableIntervalpublic long getStartMillis()
getStartMillis in interface ReadableIntervalpublic long getEndMillis()
getEndMillis in interface ReadableIntervalCopyright © 2010 - 2023 Adobe. All Rights Reserved