public static enum TFMT.TimeStructure extends Enum<TFMT.TimeStructure> implements INumberEnum<Byte>
Enum Constant and Description |
---|
CDATETIME
DATE TIME or TIME Today or TIME Yesterday
|
DATE
DATE
|
DATETIME
DATE TIME
|
TIME
TIME
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static TFMT.TimeStructure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TFMT.TimeStructure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TFMT.TimeStructure DATE
public static final TFMT.TimeStructure TIME
public static final TFMT.TimeStructure DATETIME
public static final TFMT.TimeStructure CDATETIME
public static TFMT.TimeStructure[] values()
for (TFMT.TimeStructure c : TFMT.TimeStructure.values()) System.out.println(c);
public static TFMT.TimeStructure 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.