|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Preferences.TimeFormat>
org.apache.wiki.preferences.Preferences.TimeFormat
public static enum Preferences.TimeFormat

Is used to choose between the different date formats that JSPWiki supports.
| Enum Constant Summary | |
|---|---|
DATE
A date format, no time. |
|
DATETIME
A date+time format. |
|
TIME
A time format, no date. |
|
| Method Summary | |
|---|---|
static Preferences.TimeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Preferences.TimeFormat[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Preferences.TimeFormat TIME
public static final Preferences.TimeFormat DATE
public static final Preferences.TimeFormat DATETIME
| Method Detail |
|---|
public static Preferences.TimeFormat[] values()
for (Preferences.TimeFormat c : Preferences.TimeFormat.values()) System.out.println(c);
public static Preferences.TimeFormat 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||