|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TimeFormatter>
com.smartgwt.client.types.TimeFormatter
DateDisplayFormatter instead
@Deprecated public enum TimeFormatter
String designating a standard time formatter for displaying the times associated with dates strings.
| Enum Constant Summary | |
|---|---|
TO24HOURTIME
Deprecated. String will display with seconds in 24 hour time: [H]H:MM:SS. |
|
TOPADDED24HOURTIME
Deprecated. String will display with seconds, with a 2 digit hour in 24 hour format: HH:MM:SS
Examples: 15:25:15, 03:16:45 |
|
TOPADDEDTIME
Deprecated. String will display with seconds, with a 2 digit hour and am/pm indicator: HH:MM:SS
am|pm Example: 03:25:15 pm |
|
TOSHORT24HOURTIME
Deprecated. String will have no seconds and be in 24 hour format: [H]H:MMExample: 15:25 |
|
TOSHORTPADDED24HOURTIME
Deprecated. String will have no seconds and will display with a 2 digit hour in 24 hour clock format: HH:MMExamples: 15:25, 03:16 |
|
TOSHORTPADDEDTIME
Deprecated. String will have no seconds and will display a 2 digit hour, in 12 hour clock format: HH:MM
am|pmExmaple: 03:25 pm |
|
TOSHORTTIME
Deprecated. String will have no seconds and be in 12 hour format: [H]H:MM am|pmExample: 3:25 pm |
|
TOTIME
Deprecated. String will display with seconds and am/pm indicator: [H]H:MM:SS am|pm. |
|
| Method Summary | |
|---|---|
String |
getValue()
Deprecated. |
static TimeFormatter |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static TimeFormatter[] |
values()
Deprecated. 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 TimeFormatter TOTIME
[H]H:MM:SS am|pm. 3:25:15 pm
public static final TimeFormatter TO24HOURTIME
[H]H:MM:SS. 15:25:15
public static final TimeFormatter TOPADDEDTIME
HH:MM:SS
am|pm 03:25:15 pm
public static final TimeFormatter TOPADDED24HOURTIME
HH:MM:SS
15:25:15, 03:16:45
public static final TimeFormatter TOSHORTTIME
[H]H:MM am|pm3:25 pm
public static final TimeFormatter TOSHORT24HOURTIME
[H]H:MM15:25
public static final TimeFormatter TOSHORTPADDEDTIME
HH:MM
am|pm03:25 pm
public static final TimeFormatter TOSHORTPADDED24HOURTIME
HH:MM15:25, 03:16
| Method Detail |
|---|
public static TimeFormatter[] values()
for (TimeFormatter c : TimeFormatter.values()) System.out.println(c);
public static TimeFormatter 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 getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||