|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DateStyle>
onbon.bx06.area.DateStyle
public enum DateStyle
日期样式。
DateTimeBxArea
Enum Constant Summary | |
---|---|
DD_MM_1
日期格式:DD-MM。 |
|
DD_MM_YYYY_1
日期格式:DD-MM-YYYY。 |
|
DD_MM_YYYY_2
日期格式:DD/MM/YYYY。 |
|
LUNAR
农历。 |
|
MM_DD_1
日期格式:MM-DD。 |
|
MM_DD_2
日期格式:MM/DD。 |
|
MM_DD_3
日期格式:MM月DD日。 |
|
YYYY_MM_DD_1
日期格式:YYYY-MM-DD。 |
|
YYYY_MM_DD_2
日期格式:YYYY/MM/DD。 |
|
YYYY_MM_DD_3
日期格式:YYYY年MM月DD日。 |
Field Summary | |
---|---|
String |
name
|
Method Summary | |
---|---|
String |
toString()
|
static DateStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DateStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DateStyle YYYY_MM_DD_1
public static final DateStyle YYYY_MM_DD_2
public static final DateStyle YYYY_MM_DD_3
public static final DateStyle DD_MM_YYYY_1
public static final DateStyle DD_MM_YYYY_2
public static final DateStyle MM_DD_1
public static final DateStyle MM_DD_2
public static final DateStyle MM_DD_3
public static final DateStyle DD_MM_1
public static final DateStyle LUNAR
Field Detail |
---|
public final String name
Method Detail |
---|
public static DateStyle[] values()
for (DateStyle c : DateStyle.values()) System.out.println(c);
public static DateStyle valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DateStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |