fr.cnes.genopus.time
Enum GPDateField.GPDateFormat
java.lang.Object
java.lang.Enum<GPDateField.GPDateFormat>
fr.cnes.genopus.time.GPDateField.GPDateFormat
- All Implemented Interfaces:
- Serializable, Comparable<GPDateField.GPDateFormat>
- Enclosing class:
- GPDateField
public static enum GPDateField.GPDateFormat
- extends Enum<GPDateField.GPDateFormat>
Date formats.
- Author:
- aadt
- See Also:
GPDateField.setFormat(GPDateFormat)
Cal
public static final GPDateField.GPDateFormat Cal
ISO_8601
public static final GPDateField.GPDateFormat ISO_8601
jj_1950
public static final GPDateField.GPDateFormat jj_1950
jj_2000
public static final GPDateField.GPDateFormat jj_2000
jj_sec_1950
public static final GPDateField.GPDateFormat jj_sec_1950
jj_sec_2000
public static final GPDateField.GPDateFormat jj_sec_2000
values
public static GPDateField.GPDateFormat[] 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 (GPDateField.GPDateFormat c : GPDateField.GPDateFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GPDateField.GPDateFormat 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 name
NullPointerException - if the argument is null
toString
public String toString()
-
- Overrides:
toString in class Enum<GPDateField.GPDateFormat>
Copyright © 2017. All rights reserved.