content: /*
   * CSVeed (https://github.com/42BV/CSVeed)
   *
   * Copyright 2013-2023 CSVeed.
   *
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of The Apache Software License,
   * Version 2.0 which accompanies this distribution, and is available at
   * https://www.apache.org/licenses/LICENSE-2.0.txt
   */
  package org.csveed.annotations;
  
  import java.lang.annotation.ElementType;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  import java.lang.annotation.Target;
  
  /**
   * 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.
   */
  @Target(ElementType.FIELD)
  @Retention(RetentionPolicy.RUNTIME)
  public @interface CsvDate {
  
      /**
       * The format to use for converting between String and java.util.Date
       *
       * @return format for the Date
       */
      String format() default "yyyy-MM-dd";
  }
  