ma.glasnost.orika.converter.builtin
Class DateAndTimeConverters.CalendarToTimeConverter
java.lang.Object
ma.glasnost.orika.CustomConverter<Calendar,Time>
ma.glasnost.orika.converter.builtin.DateAndTimeConverters.CalendarToTimeConverter
- All Implemented Interfaces:
- Converter<Calendar,Time>, MappedTypePair<Calendar,Time>
- Enclosing class:
- DateAndTimeConverters
public static class DateAndTimeConverters.CalendarToTimeConverter
- extends CustomConverter<Calendar,Time>
Provides conversion between Calendar and Time
- Author:
- matt.deboer@gmail.com
|
Method Summary |
Time |
convert(Calendar source,
Type<? extends Time> destinationType)
Perform the conversion of source into a new instance of
destinationType. |
DateAndTimeConverters.CalendarToTimeConverter
public DateAndTimeConverters.CalendarToTimeConverter()
convert
public Time convert(Calendar source,
Type<? extends Time> destinationType)
- Description copied from interface:
Converter
- Perform the conversion of
source into a new instance of
destinationType.
- Parameters:
source - the source object to be converteddestinationType - the destination type to produce
- Returns:
- a new instance of
destinationType
Copyright © 2013 Glasnost. All Rights Reserved.