|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DateTime>
org.springframework.roo.classpath.operations.DateTime
public enum DateTime
Provides date format options for Date and Calendar types.
| Enum Constant Summary | |
|---|---|
MEDIUM
|
|
NONE
|
|
SHORT
|
|
| Method Summary | |
|---|---|
char |
getShortKey()
|
static int |
parseDateFormat(char style)
This method will return the DateTime style for the character of the style argument. |
static DateTime |
parseDateTimeFormat(char style)
This method will return the DateTime style for the character of the style argument. |
String |
toString()
|
static DateTime |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DateTime[] |
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 DateTime MEDIUM
public static final DateTime NONE
public static final DateTime SHORT
| Method Detail |
|---|
public static DateTime[] values()
for (DateTime c : DateTime.values()) System.out.println(c);
public static DateTime 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 static int parseDateFormat(char style)
style - the date or time style, ie 'S'
public static DateTime parseDateTimeFormat(char style)
style - the date or time style, ie 'S'
public char getShortKey()
public String toString()
toString in class Enum<DateTime>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||