Package com.helger.datetime
Class CPDT
- java.lang.Object
-
- com.helger.datetime.CPDT
-
@Immutable public final class CPDT extends Object
Some date/time related constants.- Author:
- Philip Helger
-
-
Field Summary
Fields Modifier and Type Field Description static DayOfWeekEND_OF_WEEK_DAYDefault end of week: Sundaystatic intLAST_JULIAN_YEARThe last year to which the Julian choreography can be applied.static intMIN_YEAR_INT32static ZonedDateTimeNULL_DATETIMEDefault null date time : 1.1.1970 00:00:00.000 with the default timezone!static ZonedDateTimeNULL_DATETIME_UTCDefault null date time : 1.1.1970 00:00:00.000 with the UTC timezone!static DurationNULL_DURATIONDefault empty durationstatic LocalDateNULL_LOCAL_DATEDefault null local date: 1.1.1970static LocalDateTimeNULL_LOCAL_DATETIMEDefault null local date time : 1.1.1970 00:00:00.000static LocalTimeNULL_LOCAL_TIMEDefault null local time: 00:00:00.000static PeriodNULL_PERIODDefault empty periodstatic DayOfWeekSTART_OF_WEEK_DAYDefault start of week: Monday
-
-
-
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
-
-