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, toString
contains, contains, equals, getEnd, getStart, hashCode, isAfter, isAfter, isBefore, isBefore, overlaps, toDuration, toDurationMillis, toInterval, toMutableInterval, toPeriod, toPeriod, toString
public Chronology getChronology()
getChronology
in interface ReadableInterval
public long getStartMillis()
getStartMillis
in interface ReadableInterval
public long getEndMillis()
getEndMillis
in interface ReadableInterval
Copyright © 2010 - 2020 Adobe. All Rights Reserved