public static enum Nengo.Selector extends java.lang.Enum<Nengo.Selector> implements ChronoCondition<Nengo>
Represents a strategy how to select nengos.
| Enum Constant and Description |
|---|
ASUKA_PERIOD
Selects all nengos of the Asuka period (538-710).
|
AZUCHI_MOMOYAMA_PERIOD
Wählt alle Nengos der Azuchi-Momoyama-Zeit aus (1573-1603).
|
EDO_PERIOD
Wählt alle Nengos der Edo-Zeit aus (1603-1868).
|
HEIAN_PERIOD
Wählt alle Nengos der Heian-Zeit aus (794-1185).
|
KAMAKURA_PERIOD
Wählt alle Nengos der Kamakura-Zeit aus (1185-1332).
|
MODERN
Selects only nengos from Meiji onwards (introduction of japanese-gregorian
calendar in year 1873 = Meiji 6).
|
MUROMACHI_PERIOD
Wählt alle Nengos der Muromachi-Zeit aus (1336-1573).
|
NARA_PERIOD
Wählt alle Nengos der Nara-Zeit aus (710-794).
|
NORTHERN_COURT
Selects the nengos of the northern court only (during the Nanboku-chō period 1336-1392
and in addition, the nengo Shōkei (1332)).
|
OFFICIAL
Selects all nengos with the exception of those of the northern court
in the Nanboku-chō period (1336-1392).
|
SOUTHERN_COURT
Selects the nengos of the southern court only (during the Nanboku-chō period 1336-1392).
|
| Modifier and Type | Method and Description |
|---|---|
static Nengo.Selector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Nengo.Selector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftestpublic static final Nengo.Selector OFFICIAL
Selects all nengos with the exception of those of the northern court in the Nanboku-chō period (1336-1392).
This selector is the default.
public static final Nengo.Selector MODERN
Selects only nengos from Meiji onwards (introduction of japanese-gregorian calendar in year 1873 = Meiji 6).
public static final Nengo.Selector EDO_PERIOD
Wählt alle Nengos der Edo-Zeit aus (1603-1868).
Siehe auch Wikipedia.
public static final Nengo.Selector AZUCHI_MOMOYAMA_PERIOD
Wählt alle Nengos der Azuchi-Momoyama-Zeit aus (1573-1603).
Siehe auch Wikipedia.
public static final Nengo.Selector MUROMACHI_PERIOD
Wählt alle Nengos der Muromachi-Zeit aus (1336-1573).
Siehe auch Wikipedia. Die Nengos der Kenmu-Restauration gehören nicht zu dieser Zeit. Auch werden die Nengos des Nordhofs ausgeschlossen, weil sonst eine historische Sortierung von generierten Listen schwierig wird.
public static final Nengo.Selector NORTHERN_COURT
Selects the nengos of the northern court only (during the Nanboku-chō period 1336-1392 and in addition, the nengo Shōkei (1332)).
The northern variant of the Nengo Kenmu (Kenmu restoration) is also matched by this selector.
public static final Nengo.Selector SOUTHERN_COURT
Selects the nengos of the southern court only (during the Nanboku-chō period 1336-1392).
The southern variant of the Nengo Kenmu (Kenmu restoration) is also matched by this selector. Historical note: The last year 10 of nengo Genchū was then replaced by Meitoku 4.
public static final Nengo.Selector KAMAKURA_PERIOD
Wählt alle Nengos der Kamakura-Zeit aus (1185-1332).
Siehe auch Wikipedia
public static final Nengo.Selector HEIAN_PERIOD
Wählt alle Nengos der Heian-Zeit aus (794-1185).
Siehe auch Wikipedia
public static final Nengo.Selector NARA_PERIOD
Wählt alle Nengos der Nara-Zeit aus (710-794).
Siehe auch Wikipedia
public static final Nengo.Selector ASUKA_PERIOD
Selects all nengos of the Asuka period (538-710).
See also Wikipedia. Time4J only supports the last three nengos of this period because the historical data are not exactly known and there were also historical gaps in nengo counting.
public static Nengo.Selector[] values()
for (Nengo.Selector c : Nengo.Selector.values()) System.out.println(c);
public static Nengo.Selector 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