|Modifier and Type||Method and Description|
Selects a suitable period type for the given object.
Extracts duration values from an object of this converter's type, and sets them into the given ReadWritableDuration.
void setInto(ReadWritablePeriod period, Object object, Chronology chrono)
period- the period to modify
object- the object to convert, must not be null
chrono- the chronology to use, must not be null
ClassCastException- if the object is invalid
Copyright © 2002–2020 Joda.org. All rights reserved.