org.simpleflatmapper.map.property.time.JavaZoneIdProperty 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.
The newest version!
package org.simpleflatmapper.map.property.time;
import org.simpleflatmapper.util.Supplier;
import java.time.ZoneId;
public class JavaZoneIdProperty implements Supplier {
private final ZoneId zoneId;
public JavaZoneIdProperty(ZoneId zoneId) {
this.zoneId = zoneId;
}
@Override
public ZoneId get() {
return zoneId;
}
@Override
public String toString() {
return "ZoneId{" + zoneId.getId() + '}';
}
}