org.apache.commons.convert
Class DateTimeConverters.TimeZoneToString

java.lang.Object
  extended by org.apache.commons.convert.AbstractConverter<TimeZone,String>
      extended by org.apache.commons.convert.DateTimeConverters.TimeZoneToString
All Implemented Interfaces:
Converter<TimeZone,String>, ConverterLoader
Enclosing class:
DateTimeConverters

public static class DateTimeConverters.TimeZoneToString
extends AbstractConverter<TimeZone,String>

An object that converts a java.util.TimeZone to a String ID.


Constructor Summary
DateTimeConverters.TimeZoneToString()
           
 
Method Summary
 String convert(TimeZone obj)
          Converts obj to T.
 
Methods inherited from class org.apache.commons.convert.AbstractConverter
canConvert, getSourceClass, getTargetClass, loadConverters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeConverters.TimeZoneToString

public DateTimeConverters.TimeZoneToString()
Method Detail

convert

public String convert(TimeZone 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.