public class GwtJavaTimeWorkaroundUtil extends Object
| Constructor and Description |
|---|
GwtJavaTimeWorkaroundUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getGWTTime(LocalTime time) |
static int |
getOffsetInMinutes(LocalDate date,
ZoneOffset offset) |
static String |
offsetDateTimeToISO(OffsetDateTime offsetDateTime) |
static Date |
toDate(LocalDateTime localDateTime) |
static Date |
toDate(OffsetDateTime offsetDateTime) |
static Date |
toDateAsLocalTime(OffsetDateTime offsetDateTime) |
static LocalDate |
toLocalDate(OffsetDateTime time) |
static LocalDateTime |
toLocalDateTime(OffsetDateTime time) |
static LocalDateTime |
toLocalDateTimeInZone(OffsetDateTime dateTime,
ZoneId zoneId) |
static LocalTime |
toLocalTime(OffsetDateTime time) |
static LocalTime |
toLocalTime(OffsetTime time) |
static OffsetDateTime |
toOffsetDateTime(LocalDate date,
OffsetTime offsetTime) |
public static LocalDateTime toLocalDateTime(OffsetDateTime time)
public static LocalDateTime toLocalDateTimeInZone(OffsetDateTime dateTime, ZoneId zoneId)
public static LocalDate toLocalDate(OffsetDateTime time)
public static LocalTime toLocalTime(OffsetDateTime time)
public static LocalTime toLocalTime(OffsetTime time)
public static OffsetDateTime toOffsetDateTime(LocalDate date, OffsetTime offsetTime)
public static Date toDate(OffsetDateTime offsetDateTime)
public static Date toDateAsLocalTime(OffsetDateTime offsetDateTime)
public static Date toDate(LocalDateTime localDateTime)
public static String offsetDateTimeToISO(OffsetDateTime offsetDateTime)
public static int getOffsetInMinutes(LocalDate date, ZoneOffset offset)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.