Annotation Interface DateUpdated


@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented @AutoPopulated public @interface DateUpdated
Can be applied to date type to indicate the property should be populated when it was last updated.
Since:
1.0
Author:
graemerocher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Allows to truncate the auto set date value.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The date created name.
  • Field Details

    • NAME

      static final String NAME
      The date created name.
  • Element Details

    • truncatedTo

      ChronoUnit truncatedTo
      Allows to truncate the auto set date value.
      Returns:
      the truncated to constant
      Since:
      3.4.2
      Default:
      FOREVER