public enum Calendar extends Enum<Calendar>
Enum Constant and Description |
---|
all_leap |
gregorian |
julian |
noleap |
none |
proleptic_gregorian |
uniform30day |
Modifier and Type | Method and Description |
---|---|
static Calendar |
get(String s) |
static Calendar |
getDefault() |
static boolean |
isDefaultChronology(Calendar cal) |
static Calendar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calendar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Calendar gregorian
public static final Calendar proleptic_gregorian
public static final Calendar noleap
public static final Calendar all_leap
public static final Calendar uniform30day
public static final Calendar julian
public static final Calendar none
public static Calendar[] values()
for (Calendar c : Calendar.values()) System.out.println(c);
public static Calendar 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 getDefault()
public static boolean isDefaultChronology(Calendar cal)