All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.map.property.time.JavaDateTimeFormatterProperty Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version
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