public static enum JodaTimeConverters.DateToDateTimeConverter extends Enum<JodaTimeConverters.DateToDateTimeConverter> implements org.springframework.core.convert.converter.Converter<Date,org.joda.time.DateTime>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
convert(Date source) |
static JodaTimeConverters.DateToDateTimeConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JodaTimeConverters.DateToDateTimeConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JodaTimeConverters.DateToDateTimeConverter INSTANCE
public static JodaTimeConverters.DateToDateTimeConverter[] values()
for (JodaTimeConverters.DateToDateTimeConverter c : JodaTimeConverters.DateToDateTimeConverter.values()) System.out.println(c);
public static JodaTimeConverters.DateToDateTimeConverter 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 © 2011–2017 Pivotal Software, Inc.. All rights reserved.