| java.lang.Object org.joda.time.convert.AbstractConverter org.joda.time.convert.NullConverter
Constructor Summary | |
protected | NullConverter() Restricted constructor. |
NullConverter | protected NullConverter()(Code) | | Restricted constructor.
|
getDurationMillis | public long getDurationMillis(Object object)(Code) | | Gets the millisecond duration, which is zero.
Parameters: object - the object to convert, which is null the millisecond duration |
getSupportedType | public Class getSupportedType()(Code) | | Returns null.
null |
setInto | public void setInto(ReadWritablePeriod duration, Object object, Chronology chrono)(Code) | | Sets the given ReadWritableDuration to zero milliseconds.
Parameters: duration - duration to get modified Parameters: object - the object to convert, which is null Parameters: chrono - the chronology to use throws: NullPointerException - if the duration is null |
setInto | public void setInto(ReadWritableInterval writableInterval, Object object, Chronology chrono)(Code) | | Extracts interval endpoint values from an object of this converter's
type, and sets them into the given ReadWritableInterval.
Parameters: writableInterval - interval to get modified, not null Parameters: object - the object to convert, which is null Parameters: chrono - the chronology to use, may be null throws: NullPointerException - if the interval is null |
|
|