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

me.landmesser.simplecsv.annotation.CSVDateFormat Maven / Gradle / Ivy

Go to download

Module that allows exporting Java beans into CSV format. Configuration can be done via annotations. Under the hood, apache commons csv is used for writing

There is a newer version: 1.0
Show newest version
package me.landmesser.simplecsv.annotation;

import me.landmesser.simplecsv.CSVWriter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Tells the {@link CSVWriter} to use the given format for a any
 * date or date/time format derived from {@link java.time.temporal.TemporalAccessor}
 * implementing a method format() for conversion to String, and
 * parse() for parsing a String back into a date.
 *
 * 

* For the formatting syntax see {@link java.time.format.DateTimeFormatter} *

*/ @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface CSVDateFormat { String value(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy