|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DateStyleEnum
public final class DateStyleEnum
An enumeration of possible date styles.
A date style defines the level of detail that should be used when creating localised date formats.
Field Summary | |
---|---|
static DateStyleEnum |
FULL
Specifies a full pattern should be used when localised. |
static DateStyleEnum |
LONG
Specifies a long pattern should be used when localised. |
static DateStyleEnum |
MEDIUM
Specifies a medium pattern should be used when localised. |
static DateStyleEnum |
SHORT
Specifies a short pattern should be used when localised. |
Method Summary | |
---|---|
static DateStyleEnum[] |
getEnumArray()
Returns an array containing the members of this enumeration. |
static DateStyleEnum |
getEnumValue(String name)
Returns the enumeration value called name . |
int |
getFormat()
Returns the id from DateFormat to which this enumeration value relates. |
String |
getName()
Returns the name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DateStyleEnum SHORT
public static final DateStyleEnum MEDIUM
public static final DateStyleEnum LONG
public static final DateStyleEnum FULL
Method Detail |
---|
public String getName()
public String toString()
toString
in class Object
public int getFormat()
DateFormat
to which this enumeration value relates.
public static DateStyleEnum[] getEnumArray()
public static DateStyleEnum getEnumValue(String name)
name
.
name
- The name of the enumeration value to return.
null
if none was found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |