public class JaxbDateAdapter extends Object
XMLGregorianCalendar
to OffsetDateTime
.Modifier and Type | Method and Description |
---|---|
static OffsetDateTime |
parseDate(String dateStr) |
static OffsetDateTime |
parseDateTime(String dtStr) |
static String |
printDate(OffsetDateTime dt) |
static String |
printDateTime(OffsetDateTime dt) |
@Nullable public static OffsetDateTime parseDate(@Nullable String dateStr)
@Nullable public static String printDate(@Nullable OffsetDateTime dt)
@Nullable public static OffsetDateTime parseDateTime(@Nullable String dtStr)
@Nullable public static String printDateTime(@Nullable OffsetDateTime dt)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.