org.simpleflatmapper.map.property.TimeZoneProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-map Show documentation
Show all versions of sfm-map Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.map.property;
import org.simpleflatmapper.util.Supplier;
import java.util.TimeZone;
import static org.simpleflatmapper.util.Asserts.requireNonNull;
public class TimeZoneProperty implements Supplier {
private final TimeZone timeZone;
public TimeZoneProperty(TimeZone timeZone) {
this.timeZone = requireNonNull("timeZone", timeZone);
}
public TimeZone get() {
return timeZone;
}
@Override
public String toString() {
return "TimeZone{"+ timeZone.getID() + '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy