Enum Constant and Description |
---|
all_leap |
gregorian |
julian |
noleap |
none |
proleptic_gregorian |
uniform30day |
Modifier and Type | Method and Description |
---|---|
static Calendar |
get(java.lang.String s) |
static Calendar |
getDefault() |
static boolean |
isDefaultChronology(Calendar cal) |
static Calendar |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Calendar get(java.lang.String s)
public static Calendar getDefault()
public static boolean isDefaultChronology(Calendar cal)