Modifier and Type | Method and Description |
---|---|
PeriodType |
getPeriodType(java.lang.Object object)
Selects a suitable period type for the given object.
|
void |
setInto(ReadWritablePeriod period,
java.lang.Object object,
Chronology chrono)
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
|
getSupportedType
void setInto(ReadWritablePeriod period, java.lang.Object object, Chronology chrono)
period
- the period to modifyobject
- the object to convert, must not be nullchrono
- the chronology to use, must not be nulljava.lang.ClassCastException
- if the object is invalidPeriodType getPeriodType(java.lang.Object object)
object
- the object to examine, must not be nulljava.lang.ClassCastException
- if the object is invalid"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"