Package org.joda.time.convert
Interface Converter
- All Known Subinterfaces:
DurationConverter
,InstantConverter
,IntervalConverter
,PartialConverter
,PeriodConverter
- All Known Implementing Classes:
AbstractConverter
public interface Converter
Basic converter interface for specifying what object type can be converted.
- Since:
- 1.0
- Author:
- Brian S O'Neill
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> Returns the object type that this converter supports, which may specified by a class, superclass, abstract class, interface, or null.
-
Method Details
-
getSupportedType
Class<?> getSupportedType()Returns the object type that this converter supports, which may specified by a class, superclass, abstract class, interface, or null.- Returns:
- the object type that this converter supports
-