Modifier and Type | Method | Description |
---|---|---|
boolean |
isReadableInterval(java.lang.Object object,
Chronology chrono) |
Checks if the input is a ReadableInterval.
|
void |
setInto(ReadWritableInterval writableInterval,
java.lang.Object object,
Chronology chrono) |
Extracts interval endpoint values from an object of this converter's
type, and sets them into the given ReadWritableInterval.
|
getSupportedType
boolean isReadableInterval(java.lang.Object object, Chronology chrono)
If it is, then the calling code should cast and copy the fields directly.
object
- the object to convert, must not be nullchrono
- the chronology to use, may be nulljava.lang.ClassCastException
- if the object is invalidvoid setInto(ReadWritableInterval writableInterval, java.lang.Object object, Chronology chrono)
writableInterval
- interval to get modified, not nullobject
- the object to convert, must not be nullchrono
- the chronology to use, may be nulljava.lang.ClassCastException
- if the object is invalidCopyright © 2002–2018 Joda.org. All rights reserved.