public static enum ITimestamp.Format extends Enum<ITimestamp.Format>
ITimestamp.format(Format)| Enum Constant and Description |
|---|
DATE
Format to "YYYY/MM/DD".
|
DATE_TIME
Format to "YYYY/MM/DD HH:MM".
|
DATE_TIME_SECOND
Format to "YYYY/MM/DD HH:MM:SS".
|
FULL
Format to "YYYY/MM/DD HH:MM:SS.000000000".
|
| Modifier and Type | Method and Description |
|---|---|
static ITimestamp.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITimestamp.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITimestamp.Format DATE
public static final ITimestamp.Format DATE_TIME
public static final ITimestamp.Format DATE_TIME_SECOND
public static final ITimestamp.Format FULL
public static ITimestamp.Format[] values()
for (ITimestamp.Format c : ITimestamp.Format.values()) System.out.println(c);
public static ITimestamp.Format 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 © 2023 European Spallation Source. All rights reserved.