public static enum CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter extends Enum<CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter> implements Converter<com.datastax.driver.core.LocalDate,org.joda.time.DateMidnight>
LocalDates to their DateMidnight
representation.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateMidnight |
convert(com.datastax.driver.core.LocalDate source) |
static CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter INSTANCE
public static CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter[] values()
for (CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter c : CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter.values()) System.out.println(c);
public static CassandraJodaTimeConverters.CassandraLocalDateToDateMidnightConverter 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–2019 Pivotal Software, Inc.. All rights reserved.