public enum IsoDateStyle extends Enum<IsoDateStyle>
Determines a suitable style in ISO-format for printing gregorian calendar dates.
| Enum Constant and Description |
|---|
BASIC_CALENDAR_DATE
Style "20160425".
|
BASIC_ORDINAL_DATE
Style "2016116".
|
BASIC_WEEK_DATE
Style "2016W171".
|
EXTENDED_CALENDAR_DATE
Style "2016-04-25".
|
EXTENDED_ORDINAL_DATE
Style "2016-116".
|
EXTENDED_WEEK_DATE
Style "2016-W17-1".
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExtended()
Determines, if this style describes the basic or extended iso-format.
|
static IsoDateStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsoDateStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsoDateStyle BASIC_CALENDAR_DATE
Style "20160425".
public static final IsoDateStyle BASIC_ORDINAL_DATE
Style "2016116".
public static final IsoDateStyle BASIC_WEEK_DATE
Style "2016W171".
public static final IsoDateStyle EXTENDED_CALENDAR_DATE
Style "2016-04-25".
public static final IsoDateStyle EXTENDED_ORDINAL_DATE
Style "2016-116".
public static final IsoDateStyle EXTENDED_WEEK_DATE
Style "2016-W17-1".
public static IsoDateStyle[] values()
for (IsoDateStyle c : IsoDateStyle.values()) System.out.println(c);
public static IsoDateStyle 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 boolean isExtended()
Determines, if this style describes the basic or extended iso-format.
true if extended else falseCopyright © 2014–2017. All rights reserved.