public static enum YearBxUnit.YearBxUnitMode extends java.lang.Enum<YearBxUnit.YearBxUnitMode>
| Enum Constant and Description |
|---|
CHINESE_ERA
天干地支。
|
CHINESE_ZODIAC
十二生肖。
|
Y2
四位西元年。
|
Y4
两位西元年。
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static YearBxUnit.YearBxUnitMode |
typeof(byte code) |
static YearBxUnit.YearBxUnitMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YearBxUnit.YearBxUnitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YearBxUnit.YearBxUnitMode CHINESE_ERA
public static final YearBxUnit.YearBxUnitMode CHINESE_ZODIAC
public static final YearBxUnit.YearBxUnitMode Y2
public static final YearBxUnit.YearBxUnitMode Y4
public java.lang.String toString()
toString in class java.lang.Enum<YearBxUnit.YearBxUnitMode>public static YearBxUnit.YearBxUnitMode typeof(byte code)
public static YearBxUnit.YearBxUnitMode 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 YearBxUnit.YearBxUnitMode[] values()
for (YearBxUnit.YearBxUnitMode c : YearBxUnit.YearBxUnitMode.values()) System.out.println(c);