Constructor and Description |
---|
SqlDateConverter() |
Modifier and Type | Method and Description |
---|---|
Calendar |
toCalendar(Date date) |
Date |
toDate(Date date,
String sourceFormat,
String targetFormat) |
GregorianCalendar |
toGregorianCalendar(Date date) |
LocalDate |
toLocalDate(Date date) |
LocalDateTime |
toLocalDateTime(Date date) |
Timestamp |
toSqlTimestamp(Date date) |
ZonedDateTime |
toZonedDateTime(Date date) |
public GregorianCalendar toGregorianCalendar(Date date)
public LocalDateTime toLocalDateTime(Date date)
public ZonedDateTime toZonedDateTime(Date date)
Copyright © 2020 JBoss by Red Hat. All rights reserved.