public enum DateMask extends Enum<DateMask>
Enum Constant and Description |
---|
YYYY
Mask that signifies only the year is set.
|
YYYY_MM_DD
Mask that signifies a year, month and day of month is set.
|
Modifier and Type | Method and Description |
---|---|
static DateMask |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateMask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateMask YYYY
public static final DateMask YYYY_MM_DD
public static DateMask[] values()
for (DateMask c : DateMask.values()) System.out.println(c);
public static DateMask 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 nullCopyright © 2012–2024 e-Contract.be BV. All rights reserved.