setInto(ReadWritablePeriod writablePeriod, Object object, Chronology chrono) Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
public long getDurationMillis(Object object)(Code)
Extracts the millis from an object of this convertor's type.
Parameters: object - the object to convert, must not be null the millisecond value throws: NullPointerException - if the object is null throws: ClassCastException - if the object is an invalid type throws: IllegalArgumentException - if the object is invalid
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
Parameters: writablePeriod - period to get modified Parameters: object - the object to convert, must not be null Parameters: chrono - the chronology to use, must not be null throws: NullPointerException - if the duration or object is null throws: ClassCastException - if the object is an invalid type throws: IllegalArgumentException - if the object is invalid
Methods inherited from org.joda.time.convert.AbstractConverter