Package org.apache.directory.api.util
Enum GeneralizedTime.FractionDelimiter
- java.lang.Object
-
- java.lang.Enum<GeneralizedTime.FractionDelimiter>
-
- org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
- All Implemented Interfaces:
Serializable
,Comparable<GeneralizedTime.FractionDelimiter>
- Enclosing class:
- GeneralizedTime
public static enum GeneralizedTime.FractionDelimiter extends Enum<GeneralizedTime.FractionDelimiter>
The fraction delimiter of the generalized time.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneralizedTime.FractionDelimiter
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeneralizedTime.FractionDelimiter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOT
public static final GeneralizedTime.FractionDelimiter DOT
Use a dot as fraction delimiter.
-
COMMA
public static final GeneralizedTime.FractionDelimiter COMMA
Use a comma as fraction delimiter.
-
-
Method Detail
-
values
public static GeneralizedTime.FractionDelimiter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeneralizedTime.FractionDelimiter c : GeneralizedTime.FractionDelimiter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneralizedTime.FractionDelimiter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-