org.shept.org.springframework.web.servlet.mvc.support
public enum DateTimeLocaleConstants extends Enum<DateTimeLocaleConstants>
| Enum Constant and Description |
|---|
DATE_FORMAT_LONG |
DATE_FORMAT_SHORT |
DATETIME_FORMAT_LONG |
DATETIME_FORMAT_SHORT |
TIME_FORMAT_LONG |
TIME_FORMAT_SHORT |
| Modifier and Type | Method and Description |
|---|---|
static DateTimeLocaleConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeLocaleConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeLocaleConstants TIME_FORMAT_SHORT
public static final DateTimeLocaleConstants TIME_FORMAT_LONG
public static final DateTimeLocaleConstants DATE_FORMAT_SHORT
public static final DateTimeLocaleConstants DATE_FORMAT_LONG
public static final DateTimeLocaleConstants DATETIME_FORMAT_SHORT
public static final DateTimeLocaleConstants DATETIME_FORMAT_LONG
public static DateTimeLocaleConstants[] values()
for (DateTimeLocaleConstants c : DateTimeLocaleConstants.values()) System.out.println(c);
public static DateTimeLocaleConstants valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.