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