Annotation Interface DateTimeFormat


@Retention(RUNTIME) @Target({TYPE,METHOD,FIELD}) @Inherited public @interface DateTimeFormat
Specifies a format pattern for an entity attribute of a date/time type.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Pattern as described for SimpleDateFormat.