|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<DateFormatSetting.DateTimeStyle>
oracle.webcenter.generalsettings.model.DateFormatSetting.DateTimeStyle
public static enum DateFormatSetting.DateTimeStyle
Provides the date and time styles in an application. The Java style date and time formats should be used by the application/ services for formatting/parsing date/time. The value returned by the getValue() of each style will be stored in the preference store.
Enum Constant Summary | |
---|---|
FULL |
|
LONG |
|
MEDIUM |
|
SHORT |
Method Summary | |
---|---|
int |
getId() Returns the corresponding java.text.DateFormat style identifier. |
static DateFormatSetting.DateTimeStyle |
getStyle(java.lang.String value) An useful method for getting the DateTimeStyle instance for the specified value. |
java.lang.String |
getValue() Returns the value of the style. |
java.lang.String |
toString() Returns whatever getValue() returns. |
static DateFormatSetting.DateTimeStyle |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static DateFormatSetting.DateTimeStyle[] |
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 DateFormatSetting.DateTimeStyle SHORT
public static final DateFormatSetting.DateTimeStyle MEDIUM
public static final DateFormatSetting.DateTimeStyle LONG
public static final DateFormatSetting.DateTimeStyle FULL
Method Detail |
---|
public static DateFormatSetting.DateTimeStyle[] values()
for (DateFormatSetting.DateTimeStyle c : DateFormatSetting.DateTimeStyle.values()) System.out.println(c);
public static DateFormatSetting.DateTimeStyle 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 DateFormatSetting.DateTimeStyle getStyle(java.lang.String value)
value
- The value for which the style instance is requiredpublic int getId()
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<DateFormatSetting.DateTimeStyle>
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |