Package io.micronaut.data.annotation
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 SummaryOptional ElementsModifier and TypeOptional ElementDescriptionAllows to truncate the auto set date value.
- 
Field SummaryFields
- 
Field Details- 
NAMEThe date created name.
 
- 
- 
Element Details- 
truncatedToChronoUnit truncatedToAllows to truncate the auto set date value.- Returns:
- the truncated to constant
- Since:
- 3.4.2
 - Default:
- FOREVER
 
 
-