public enum Xs2aBodyDateFormatter extends Enum<Xs2aBodyDateFormatter>
| Enum Constant and Description |
|---|
ISO_DATE |
ISO_DATE_TIME |
| Modifier and Type | Method and Description |
|---|---|
DateTimeFormatter |
getFormatter() |
String |
getPattern() |
static Xs2aBodyDateFormatter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Xs2aBodyDateFormatter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Xs2aBodyDateFormatter ISO_DATE
public static final Xs2aBodyDateFormatter ISO_DATE_TIME
public static Xs2aBodyDateFormatter[] values()
for (Xs2aBodyDateFormatter c : Xs2aBodyDateFormatter.values()) System.out.println(c);
public static Xs2aBodyDateFormatter 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 DateTimeFormatter getFormatter()
public String getPattern()
Copyright © 2020. All rights reserved.