@Immutable public final class PDTFactory extends Object
@Nonnull public static ZonedDateTime getCurrentZonedDateTime()
@Nonnull public static ZonedDateTime getCurrentZonedDateTimeUTC()
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable OffsetDateTime aODT)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable LocalDateTime aLDT)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable LocalDate aLD)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable YearMonth aYM)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable Year aYear)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable LocalTime aLT)
@Nonnull public static ZonedDateTime createZonedDateTime(int nYear, Month eMonth, int nDay)
@Nonnull public static ZonedDateTime createZonedDateTime(int nYear, @Nonnull Month eMonth, int nDay, int nHour, int nMinute, int nSecond)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable Instant aInstant)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable GregorianCalendar aCal)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable Date aDate)
@Nullable public static ZonedDateTime createZonedDateTime(@Nullable Timestamp aTimestamp)
@Nonnull public static ZonedDateTime createZonedDateTime(long nMillis)
@Nonnull public static ZonedDateTime createZonedDateTime(@Nullable Number aMillis)
@Nonnegative public static OffsetDateTime getCurrentOffsetDateTime()
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable ZonedDateTime aZDT)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable LocalDateTime aLDT)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable LocalDate aLD)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable YearMonth aYM)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable Year aYear)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable LocalTime aLT)
@Nonnull public static OffsetDateTime createOffsetDateTime(int nYear, Month eMonth, int nDay)
@Nonnull public static OffsetDateTime createOffsetDateTime(int nYear, @Nonnull Month eMonth, int nDay, int nHour, int nMinute, int nSecond)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable Instant aInstant)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable Date aDate)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable Timestamp aTimestamp)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable GregorianCalendar aCal)
@Nonnull public static OffsetDateTime createOffsetDateTime(long nMillis)
@Nullable public static OffsetDateTime createOffsetDateTime(@Nullable Number aMillis)
@Nonnegative public static LocalDateTime getCurrentLocalDateTime()
@Nullable public static LocalDateTime createLocalDateTime(@Nullable ZonedDateTime aDT)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable OffsetDateTime aDT)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable LocalDate aLD)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable YearMonth aYM)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable Year aYear)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable LocalTime aLT)
@Nonnull public static LocalDateTime createLocalDateTime(int nYear, @Nonnull Month eMonth, int nDay)
@Nonnull public static LocalDateTime createLocalDateTime(int nYear, @Nonnull Month eMonth, int nDay, int nHour, int nMinute)
@Nonnull public static LocalDateTime createLocalDateTime(int nYear, @Nonnull Month eMonth, int nDay, int nHour, int nMinute, int nSecond)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable Instant aInstant)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable Date aDate)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable Timestamp aDate)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable GregorianCalendar aCal)
@Nonnull public static LocalDateTime createLocalDateTime(long nMillis)
@Nullable public static LocalDateTime createLocalDateTime(@Nullable Number aMillis)
@Nonnegative public static LocalDate getCurrentLocalDate()
@Nullable public static LocalDate createLocalDate(int nYear, @Nonnull Month eMonth, int nDay)
@Nullable public static LocalDate createLocalDate(@Nullable GregorianCalendar aCalendar)
@Nullable public static LocalDate createLocalDate(@Nullable LocalDateTime aLDT)
@Nonnegative public static LocalTime getCurrentLocalTime()
@Nullable public static LocalTime createLocalTime(@Nullable GregorianCalendar aCalendar)
@Nullable public static LocalTime createLocalTime(@Nullable LocalDateTime aLDT)
@Nullable public static LocalTime createLocalTime(int nHour, int nMinute, int nSecond)
@Nullable public static Date createDate(@Nullable ZonedDateTime aZDT)
@Nullable public static Date createDate(@Nullable OffsetDateTime aODT)
@Nullable public static Date createDate(@Nullable LocalDateTime aLDT)
@Nonnull public static GregorianCalendar createGregorianCalendar()
@Nonnegative public static int getCurrentYear()
@Nonnegative public static Year getCurrentYearObj()
@Nonnegative public static YearMonth getCurrentYearMonth()
@Nonnegative public static Instant getCurrentInstant()
public static long getMillis(@Nonnull LocalDateTime aLDT)
public static long getMillis(@Nonnull OffsetDateTime aODT)
public static long getMillis(@Nonnull ZonedDateTime aZDT)
Copyright © 2014–2017 Philip Helger. All rights reserved.