public enum HistoricVariant extends java.lang.Enum<HistoricVariant>
Marker for a historical calendar variant.
| Enum Constant and Description |
|---|
INTRODUCTION_ON_1582_10_15
Marks a standard historical calendar with the original gregorian calendar reform.
|
PROLEPTIC_GREGORIAN
Gregorian calendar assumed to be valid for all times.
|
PROLEPTIC_JULIAN
Julian calendar assumed to be valid for all times.
|
SINGLE_CUTOVER_DATE
Marks a standard historical calendar with one single gregorian calendar reform.
|
SWEDEN
Marks the Swedish calendar anomaly.
|
| Modifier and Type | Method and Description |
|---|---|
static HistoricVariant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HistoricVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoricVariant PROLEPTIC_JULIAN
Julian calendar assumed to be valid for all times.
public static final HistoricVariant PROLEPTIC_GREGORIAN
Gregorian calendar assumed to be valid for all times.
public static final HistoricVariant SWEDEN
Marks the Swedish calendar anomaly.
public static final HistoricVariant INTRODUCTION_ON_1582_10_15
Marks a standard historical calendar with the original gregorian calendar reform.
public static final HistoricVariant SINGLE_CUTOVER_DATE
Marks a standard historical calendar with one single gregorian calendar reform.
public static HistoricVariant[] values()
for (HistoricVariant c : HistoricVariant.values()) System.out.println(c);
public static HistoricVariant 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 null