| org.joda.time.convert.IntervalConverter |
IntervalConverter defines how an object is converted to an interval.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks if the input is a ReadableInterval.
| |||||||||||
Extracts interval endpoint values from an object of this converter's
type, and sets them into the given ReadWritableInterval.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.joda.time.convert.Converter
| |||||||||||
Checks if the input is a ReadableInterval.
If it is, then the calling code should cast and copy the fields directly.
| object | the object to convert, must not be null |
|---|---|
| chrono | the chronology to use, may be null |
| ClassCastException | if the object is invalid |
|---|
Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.
| writableInterval | interval to get modified, not null |
|---|---|
| object | the object to convert, must not be null |
| chrono | the chronology to use, may be null |
| ClassCastException | if the object is invalid |
|---|