Package io.atlasmap.converters
Class DateTimeHelper
java.lang.Object
io.atlasmap.converters.DateTimeHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GregorianCalendar
convertDateToGregorianCalendar
(Date date, String timeZone) static LocalDate
convertDateToLocalDate
(Date date, String timeZone) static LocalDateTime
convertDateToLocalDateTime
(Date date, String timeZone) static LocalTime
convertDateToLocalTime
(Date date, String timeZone) static Date
convertDateToSqlDate
(Date date, String timeZone) static Time
convertDateToTime
(Date date, String timeZone) static Date
convertLocalDateTimeToDate
(LocalDateTime localDateTime, String timeZone) static Date
convertLocalTimeToDate
(LocalTime localTime, String timeZone) static Date
convertSqlDateToDate
(Date date, String timeZone) static Date
convertSqlTimeToDate
(Time time, String timeZone) static ZonedDateTime
toZonedDateTime
(LocalDate date, String timeZone) static ZonedDateTime
toZonedDateTime
(LocalDateTime date, String timeZone) static ZonedDateTime
toZonedDateTime
(LocalTime time, String timeZone) static ZonedDateTime
toZonedDateTime
(Calendar calendar) static ZonedDateTime
toZonedDateTime
(Date date, String timeZone)
-
Constructor Details
-
DateTimeHelper
public DateTimeHelper()
-
-
Method Details
-
convertDateToGregorianCalendar
-
convertSqlDateToDate
-
convertDateToSqlDate
-
convertSqlTimeToDate
-
convertDateToLocalDate
-
convertLocalTimeToDate
-
convertDateToLocalTime
-
convertLocalDateTimeToDate
-
convertDateToLocalDateTime
-
convertDateToTime
-
toZonedDateTime
-
toZonedDateTime
-
toZonedDateTime
-
toZonedDateTime
-
toZonedDateTime
-