|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TimeStyle>
onbon.bx06.area.TimeStyle
public enum TimeStyle
时间样式。
DateTimeBxArea
Enum Constant Summary | |
---|---|
AMPM_HH_MM
时间格式:AMPM HH:MM。 |
|
HH_MM_1
时间格式:HH:MM。 |
|
HH_MM_2
时间格式:HH时MM分。 |
|
HH_MM_AMPM
时间格式:HH:MM AMPM。 |
|
HH_MM_SS_1
时间格式:HH:MM:SS。 |
|
HH_MM_SS_2
时间格式:HH时MM分SS秒。 |
|
HH12_MM_1
时间格式:HH:MM。 |
|
HH12_MM_2
时间格式:HH时MM分。 |
|
HH12_MM_SS_1
时间格式:HH:MM:SS。 |
|
HH12_MM_SS_2
时间格式:HH时MM分SS秒。 |
Field Summary | |
---|---|
String |
name
|
Method Summary | |
---|---|
String |
toString()
|
static TimeStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeStyle[] |
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 TimeStyle HH_MM_SS_1
public static final TimeStyle HH_MM_SS_2
public static final TimeStyle HH12_MM_SS_1
public static final TimeStyle HH12_MM_SS_2
public static final TimeStyle HH_MM_1
public static final TimeStyle HH_MM_2
public static final TimeStyle HH12_MM_1
public static final TimeStyle HH12_MM_2
public static final TimeStyle AMPM_HH_MM
public static final TimeStyle HH_MM_AMPM
Field Detail |
---|
public final String name
Method Detail |
---|
public static TimeStyle[] values()
for (TimeStyle c : TimeStyle.values()) System.out.println(c);
public static TimeStyle 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<TimeStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |