Class CPDT


  • @Immutable
    public final class CPDT
    extends Object
    Some date/time related constants.
    Author:
    Philip Helger
    • Field Detail

      • START_OF_WEEK_DAY

        public static final DayOfWeek START_OF_WEEK_DAY
        Default start of week: Monday
      • END_OF_WEEK_DAY

        public static final DayOfWeek END_OF_WEEK_DAY
        Default end of week: Sunday
      • MIN_YEAR_INT32

        public static final int MIN_YEAR_INT32
      • NULL_LOCAL_DATE

        public static final LocalDate NULL_LOCAL_DATE
        Default null local date: 1.1.1970
      • NULL_LOCAL_TIME

        public static final LocalTime NULL_LOCAL_TIME
        Default null local time: 00:00:00.000
      • NULL_LOCAL_DATETIME

        public static final LocalDateTime NULL_LOCAL_DATETIME
        Default null local date time : 1.1.1970 00:00:00.000
      • NULL_DATETIME

        public static final ZonedDateTime NULL_DATETIME
        Default null date time : 1.1.1970 00:00:00.000 with the default timezone!
      • NULL_DATETIME_UTC

        public static final ZonedDateTime NULL_DATETIME_UTC
        Default null date time : 1.1.1970 00:00:00.000 with the UTC timezone!
      • NULL_PERIOD

        public static final Period NULL_PERIOD
        Default empty period
      • NULL_DURATION

        public static final Duration NULL_DURATION
        Default empty duration
      • LAST_JULIAN_YEAR

        public static final int LAST_JULIAN_YEAR
        The last year to which the Julian choreography can be applied.
        See Also:
        Constant Field Values