org.apache.commons.convert
Class DateTimeConverters.StringToTimeZone
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,TimeZone>
org.apache.commons.convert.DateTimeConverters.StringToTimeZone
- All Implemented Interfaces:
- Converter<String,TimeZone>, ConverterLoader
- Enclosing class:
- DateTimeConverters
public static class DateTimeConverters.StringToTimeZone
- extends AbstractConverter<String,TimeZone>
An object that converts a String
ID to a
java.util.TimeZone
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeConverters.StringToTimeZone
public DateTimeConverters.StringToTimeZone()
convert
public TimeZone convert(String obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.