@ReadingConverter public static enum Jsr310Converters.InstantToLocalDateTimeConverter extends Enum<Jsr310Converters.InstantToLocalDateTimeConverter> implements Converter<Instant,LocalDateTime>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
LocalDateTime |
convert(Instant source) |
static Jsr310Converters.InstantToLocalDateTimeConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Jsr310Converters.InstantToLocalDateTimeConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Jsr310Converters.InstantToLocalDateTimeConverter INSTANCE
public static Jsr310Converters.InstantToLocalDateTimeConverter[] values()
for (Jsr310Converters.InstantToLocalDateTimeConverter c : Jsr310Converters.InstantToLocalDateTimeConverter.values()) System.out.println(c);
public static Jsr310Converters.InstantToLocalDateTimeConverter 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 null@Nonnull public LocalDateTime convert(Instant source)
convert
in interface Converter<Instant,LocalDateTime>
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.