org.mycore.datamodel.metadata
Enum MCRMetaISO8601Date.IsoFormat
java.lang.Object
java.lang.Enum<MCRMetaISO8601Date.IsoFormat>
org.mycore.datamodel.metadata.MCRMetaISO8601Date.IsoFormat
- All Implemented Interfaces:
- Serializable, Comparable<MCRMetaISO8601Date.IsoFormat>
- Enclosing class:
- MCRMetaISO8601Date
public static enum MCRMetaISO8601Date.IsoFormat
- extends Enum<MCRMetaISO8601Date.IsoFormat>
YEAR
public static final MCRMetaISO8601Date.IsoFormat YEAR
YEAR_MONTH
public static final MCRMetaISO8601Date.IsoFormat YEAR_MONTH
COMPLETE
public static final MCRMetaISO8601Date.IsoFormat COMPLETE
COMPLETE_HH_MM
public static final MCRMetaISO8601Date.IsoFormat COMPLETE_HH_MM
COMPLETE_HH_MM_SS
public static final MCRMetaISO8601Date.IsoFormat COMPLETE_HH_MM_SS
COMPLETE_HH_MM_SS_SSS
public static final MCRMetaISO8601Date.IsoFormat COMPLETE_HH_MM_SS_SSS
F_YEAR
public static final String F_YEAR
- See Also:
- Constant Field Values
F_YEAR_MONTH
public static final String F_YEAR_MONTH
- See Also:
- Constant Field Values
F_COMPLETE
public static final String F_COMPLETE
- See Also:
- Constant Field Values
F_COMPLETE_HH_MM
public static final String F_COMPLETE_HH_MM
- See Also:
- Constant Field Values
F_COMPLETE_HH_MM_SS
public static final String F_COMPLETE_HH_MM_SS
- See Also:
- Constant Field Values
F_COMPLETE_HH_MM_SS_SSS
public static final String F_COMPLETE_HH_MM_SS_SSS
- See Also:
- Constant Field Values
values
public static final MCRMetaISO8601Date.IsoFormat[] 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(MCRMetaISO8601Date.IsoFormat c : MCRMetaISO8601Date.IsoFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MCRMetaISO8601Date.IsoFormat 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
toString
public String toString()
- Overrides:
toString in class Enum<MCRMetaISO8601Date.IsoFormat>
getFormat
public static MCRMetaISO8601Date.IsoFormat getFormat(String format)