org.apache.commons.convert
Class DateTimeConverters.CalendarToLong
java.lang.Object
org.apache.commons.convert.AbstractConverter<Calendar,Long>
org.apache.commons.convert.DateTimeConverters.CalendarToLong
- All Implemented Interfaces:
- Converter<Calendar,Long>, ConverterLoader
- Enclosing class:
- DateTimeConverters
public static class DateTimeConverters.CalendarToLong
- extends AbstractConverter<Calendar,Long>
An object that converts a Calendar
to a Long
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeConverters.CalendarToLong
public DateTimeConverters.CalendarToLong()
convert
public Long convert(Calendar obj)
throws ConversionException
- Returns the millisecond value of
obj
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.