public enum TimestampFormat extends Enum<TimestampFormat>
Enum Constant and Description |
---|
YYYYMMDD |
YYYYMMDDHHMMSS |
YYYYMMDDHHMMSSMsec |
YYYYMMDDHHMMSSNsec |
YYYYMMDDHHMMSSPsec |
YYYYMMDDHHMMSSUsec |
Modifier and Type | Method and Description |
---|---|
static TimestampFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimestampFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimestampFormat YYYYMMDD
public static final TimestampFormat YYYYMMDDHHMMSS
public static final TimestampFormat YYYYMMDDHHMMSSMsec
public static final TimestampFormat YYYYMMDDHHMMSSUsec
public static final TimestampFormat YYYYMMDDHHMMSSNsec
public static final TimestampFormat YYYYMMDDHHMMSSPsec
public static TimestampFormat[] values()
for (TimestampFormat c : TimestampFormat.values()) System.out.println(c);
public static TimestampFormat 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 © 2005–2024 Onix Solutions. All rights reserved.