Annotation Type CsvDate


@Target(FIELD) @Retention(RUNTIME) public @interface CsvDate
Date is a special case, since it will require a format to be supplied. The format is similar to the one used in SimpleDateFormat. As a matter of fact, this class is used under the hood to arrange the conversion.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The format to use for converting between String and java.util.Date
  • Element Details

    • format

      String format
      The format to use for converting between String and java.util.Date
      Returns:
      format for the Date
      Default:
      "yyyy-MM-dd"