public enum DateShowFormat extends Enum<DateShowFormat> implements INumberEnum<Byte>
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static DateShowFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateShowFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateShowFormat ALL
public static final DateShowFormat YM
public static final DateShowFormat WMD
public static final DateShowFormat W
public static final DateShowFormat M
public static final DateShowFormat MD
public static final DateShowFormat MDY
public static final DateShowFormat D
public static final DateShowFormat Y
public static DateShowFormat[] values()
for (DateShowFormat c : DateShowFormat.values()) System.out.println(c);
public static DateShowFormat 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.