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

org.simpleflatmapper.map.property.TimeZoneProperty 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;


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