public class DateTimeHelper extends Object
Constructor and Description |
---|
DateTimeHelper() |
public static GregorianCalendar convertDateToGregorianCalendar(Date date, String timeZone)
public static Date convertLocalTimeToDate(LocalTime localTime, String timeZone)
public static Date convertLocalDateTimeToDate(LocalDateTime localDateTime, String timeZone)
public static LocalDateTime convertDateToLocalDateTime(Date date, String timeZone)
public static ZonedDateTime toZonedDateTime(Calendar calendar)
public static ZonedDateTime toZonedDateTime(Date date, String timeZone)
public static ZonedDateTime toZonedDateTime(LocalDate date, String timeZone)
public static ZonedDateTime toZonedDateTime(LocalTime time, String timeZone)
public static ZonedDateTime toZonedDateTime(LocalDateTime date, String timeZone)
Copyright © 2019 JBoss by Red Hat. All rights reserved.