org.simpleflatmapper.map.property.time.JavaDateTimeFormatterProperty 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.time;
import org.simpleflatmapper.util.Supplier;
import java.time.format.DateTimeFormatter;
public class JavaDateTimeFormatterProperty implements Supplier {
private final DateTimeFormatter formatter;
public JavaDateTimeFormatterProperty(DateTimeFormatter formatter) {
this.formatter = formatter;
}
@Override
public DateTimeFormatter get() {
return formatter;
}
@Override
public String toString() {
return "DateTimeFormatter{" + formatter + '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy