public static enum DateTimeFormatterBuilder.FormatStyle extends Enum<DateTimeFormatterBuilder.FormatStyle>
| Enum Constant and Description |
|---|
FULL
Full text style, with the most detail.
|
LONG
Long text style, with lots of detail.
|
MEDIUM
Medium text style, with some detail.
|
SHORT
Short text style, typically numeric.
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeFormatterBuilder.FormatStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeFormatterBuilder.FormatStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeFormatterBuilder.FormatStyle FULL
public static final DateTimeFormatterBuilder.FormatStyle LONG
public static final DateTimeFormatterBuilder.FormatStyle MEDIUM
public static final DateTimeFormatterBuilder.FormatStyle SHORT
public static DateTimeFormatterBuilder.FormatStyle[] values()
for (DateTimeFormatterBuilder.FormatStyle c : DateTimeFormatterBuilder.FormatStyle.values()) System.out.println(c);
public static DateTimeFormatterBuilder.FormatStyle 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 © 2025. All rights reserved.