public static enum Calendar.Style extends Enum<Calendar.Style>
Calendar.setStyle(Style)
Enum Constant and Description |
---|
STYLE1
Default style "1".
|
STYLE2
Default style "2".
|
STYLE3
Default style "3".
|
STYLE4
Default style "4".
|
STYLE5
Default style "5".
|
STYLE6
Default style "6".
|
STYLE7
Default style "7".
|
Modifier and Type | Method and Description |
---|---|
static Calendar.Style |
getStyle(int ordinal)
Returns a style for the given ordinal.
|
static Calendar.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calendar.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Calendar.Style STYLE1
public static final Calendar.Style STYLE2
public static final Calendar.Style STYLE3
public static final Calendar.Style STYLE4
public static final Calendar.Style STYLE5
public static final Calendar.Style STYLE6
public static final Calendar.Style STYLE7
public static Calendar.Style[] values()
for (Calendar.Style c : Calendar.Style.values()) System.out.println(c);
public static Calendar.Style 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 static Calendar.Style getStyle(int ordinal)
ordinal
- the ordinal value for which to return a styleCopyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.