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().
| Modifier and Type | Class and Description |
|---|---|
| public static @interface | DurationMin.List
Defines several |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public Class | |
| public long | |
| public boolean | Returns: true if the value must be higher or equal to the specified minimum,
false if the value must be higherSpecifies whether the specified minimum is inclusive or exclusive. |
| public String | |
| public long | |
| public long | |
| public long | |
| public Class | |
| public long |
| days | back to summary |
|---|---|
| public long days() | |
| groups | back to summary |
|---|---|
| public Class | |
| hours | back to summary |
|---|---|
| public long hours() | |
| inclusive | back to summary |
|---|---|
| public boolean inclusive() Specifies whether the specified minimum is inclusive or exclusive. By default, it is inclusive.
| |
| message | back to summary |
|---|---|
| public String message() | |
| millis | back to summary |
|---|---|
| public long millis() | |
| minutes | back to summary |
|---|---|
| public long minutes() | |
| nanos | back to summary |
|---|---|
| public long nanos() | |
| payload | back to summary |
|---|---|
| public Class | |
| seconds | back to summary |
|---|---|
| public long seconds() | |
@DurationMin annotations on the same element.
| Modifier and Type | Method and Description |
|---|---|
| public DurationMin[] |
| value | back to summary |
|---|---|
| public DurationMin[] value() | |