Package org.joda.time.convert
Interface DurationConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDurationMillis(java.lang.Object object)
Extracts the millis from an object of this converter's type.-
Methods inherited from interface org.joda.time.convert.Converter
getSupportedType
-
-
-
-
Method Detail
-
getDurationMillis
long getDurationMillis(java.lang.Object object)
Extracts the millis from an object of this converter's type.- Parameters:
object
- the object to convert, must not be null- Returns:
- the millisecond duration
- Throws:
java.lang.ClassCastException
- if the object is invalid
-
-