Package org.apache.ofbiz.base.conversion
Class DateTimeConverters.StringToTimeZone
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.lang.String,java.util.TimeZone>
-
- org.apache.ofbiz.base.conversion.DateTimeConverters.StringToTimeZone
-
- All Implemented Interfaces:
Converter<java.lang.String,java.util.TimeZone>
,ConverterLoader
- Enclosing class:
- DateTimeConverters
public static class DateTimeConverters.StringToTimeZone extends AbstractConverter<java.lang.String,java.util.TimeZone>
-
-
Constructor Summary
Constructors Constructor Description StringToTimeZone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.TimeZone
convert(java.lang.String obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.util.TimeZone convert(java.lang.String obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-