public enum DeadlineRoundingType extends Enum<DeadlineRoundingType>
Java class for DeadlineRoundingType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DeadlineRoundingType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="none"/> <enumeration value="hour"/> <enumeration value="day"/> </restriction> </simpleType>
Enum Constant and Description |
---|
DAY
The deadline will be rounded to 23:59:59 of the computed day.
|
HOUR
The deadline will be rounded to 59:59 of the computed hour.
|
NONE
The deadline will not be rounded.
|
Modifier and Type | Method and Description |
---|---|
static DeadlineRoundingType |
fromValue(String v) |
String |
value() |
static DeadlineRoundingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeadlineRoundingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeadlineRoundingType NONE
public static final DeadlineRoundingType HOUR
public static final DeadlineRoundingType DAY
public static DeadlineRoundingType[] values()
for (DeadlineRoundingType c : DeadlineRoundingType.values()) System.out.println(c);
public static DeadlineRoundingType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static DeadlineRoundingType fromValue(String v)
Copyright © 2021 Evolveum. All rights reserved.