public class AdapterOffsetDateTime extends XmlAdapter<String,OffsetDateTime>
<xjc:javaType name="java.time.OffsetDateTime" xmlType="xsd:dateTime" adapter="com.helger.jaxb.adapter.AdapterOffsetDateTime" />| Constructor and Description |
|---|
AdapterOffsetDateTime() |
| Modifier and Type | Method and Description |
|---|---|
static Function<LocalDateTime,ZoneOffset> |
getFallbackZoneOffsetSupplier() |
String |
marshal(OffsetDateTime aValue) |
static void |
setFallbackZoneOffsetSupplier(Function<LocalDateTime,ZoneOffset> aZOSupplier) |
OffsetDateTime |
unmarshal(String sValue) |
@Nonnull public static Function<LocalDateTime,ZoneOffset> getFallbackZoneOffsetSupplier()
@Nonnull public static void setFallbackZoneOffsetSupplier(@Nonnull Function<LocalDateTime,ZoneOffset> aZOSupplier)
public OffsetDateTime unmarshal(@Nullable String sValue)
unmarshal in class XmlAdapter<String,OffsetDateTime>public String marshal(@Nullable OffsetDateTime aValue)
marshal in class XmlAdapter<String,OffsetDateTime>Copyright © 2015–2021 Philip Helger. All rights reserved.