pasn.misc
Enum ASN1TimeFormat
java.lang.Object
java.lang.Enum<ASN1TimeFormat>
pasn.misc.ASN1TimeFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ASN1TimeFormat>
public enum ASN1TimeFormat
- extends java.lang.Enum<ASN1TimeFormat>
Time format used to create string representations of time values
- Author:
- ncottin
Method Summary |
static ASN1TimeFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ASN1TimeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FORMAT_0
public static final ASN1TimeFormat FORMAT_0
FORMAT_1
public static final ASN1TimeFormat FORMAT_1
FORMAT_2
public static final ASN1TimeFormat FORMAT_2
FORMAT_3
public static final ASN1TimeFormat FORMAT_3
FORMAT_4
public static final ASN1TimeFormat FORMAT_4
FORMAT_5
public static final ASN1TimeFormat FORMAT_5
values
public static final ASN1TimeFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ASN1TimeFormat c : ASN1TimeFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ASN1TimeFormat valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name