public class JsonbDateConverter extends JsonbDateConverterBase<Date>
Modifier and Type | Field and Description |
---|---|
private boolean |
hasTimezone |
private boolean |
isIso |
private static ZoneId |
UTC |
formatter
Constructor and Description |
---|
JsonbDateConverter(javax.json.bind.annotation.JsonbDateFormat dateFormat) |
Modifier and Type | Method and Description |
---|---|
private Date |
fromIso(String text) |
private Date |
fromLocalDateTime(String text) |
Date |
fromString(String text) |
private Date |
fromStringWithFormatter(String text) |
private Date |
fromZonedDateTime(String text) |
private String |
toIsoString(Instant instant) |
String |
toString(Date instance) |
private String |
toStringFromLocalDateTime(Instant instant) |
private String |
toStringFromZonedDateTime(Instant instant) |
private String |
toStringWithFormatter(Date instance) |
newLocale
private static final ZoneId UTC
private volatile boolean hasTimezone
private volatile boolean isIso
public JsonbDateConverter(javax.json.bind.annotation.JsonbDateFormat dateFormat)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.