public static enum TFMT.DateFormat extends Enum<TFMT.DateFormat> implements INumberEnum<Byte>
Enum Constant and Description |
---|
CPARTIAL
month and day, year if not this year
|
CPARTIAL4
month and day, year(4digit) if not this year
|
DPARTIAL
year and month
|
DPARTIAL4
year(4digit) and month
|
FULL
year, month, and day
|
FULL4
year(4digit), month, and day
|
PARTIAL
month and day
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static TFMT.DateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TFMT.DateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TFMT.DateFormat FULL
public static final TFMT.DateFormat CPARTIAL
public static final TFMT.DateFormat PARTIAL
public static final TFMT.DateFormat DPARTIAL
public static final TFMT.DateFormat FULL4
public static final TFMT.DateFormat CPARTIAL4
public static final TFMT.DateFormat DPARTIAL4
public static TFMT.DateFormat[] values()
for (TFMT.DateFormat c : TFMT.DateFormat.values()) System.out.println(c);
public static TFMT.DateFormat 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 nullpublic long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
public Byte getValue()
getValue
in interface INumberEnum<Byte>
Copyright © 2019–2021 HCL. All rights reserved.