org.csveed.bean.conversion.TimeZoneConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csveed Show documentation
Show all versions of csveed Show documentation
Java toolkit for mapping CSV-to-Bean mapping and vice versa. Redirection to Introduction in 5 seconds!
package org.csveed.bean.conversion;
import java.util.TimeZone;
public class TimeZoneConverter extends AbstractConverter {
public TimeZoneConverter() {
super(TimeZone.class);
}
@Override
public TimeZone fromString(String text) throws Exception {
return TimeZone.getTimeZone(text);
}
@Override
public String toString(TimeZone value) throws Exception {
return value.getDisplayName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy