Duration
constraints.See: Description
Annotation Type | Description |
---|---|
DurationMax |
The annotated
Duration element must be shorter than or equal to the one constructed as a sum of
DurationMax.nanos() , DurationMax.millis() , DurationMax.seconds() ,
DurationMax.minutes() , DurationMax.hours() , DurationMax.days() . |
DurationMax.List |
Defines several
@DurationMax annotations on the same element. |
DurationMin |
The annotated
Duration element must be longer than or equal to the one constructed as a sum of
DurationMin.nanos() , DurationMin.millis() , DurationMin.seconds() ,
DurationMin.minutes() , DurationMin.hours() , DurationMin.days() . |
DurationMin.List |
Defines several
@DurationMin annotations on the same element. |
Hibernate Validator Duration
constraints.
This package is part of the public Hibernate Validator API.
Copyright © 2021 JBoss by Red Hat. All rights reserved.