Klasse Dates
java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.util.Dates
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic LocalDate
atStartOfDay
(LocalDate localDate) Gibt the specified local date at the start of its day (w.r.t. the system's default zone) zurück.static LocalDate
atStartOfDay
(Date date) Gibt the specified date at the start of its day (w.r.t. the system's default zone) zurück.static boolean
isFutureDay
(LocalDate localDate) Gibt true if the specified local date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future) zurück.static boolean
isFutureDay
(Date date) Gibt true if the specified date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future) zurück.static Date
Gibt the specified local date as a date (w.r.t. the system's default zone) zurück.static LocalDate
today()
Gibt a local date (w.r.t. the system's default zone) which refers to today zurück.static LocalDate
toLocalDate
(Date date) Gibt the specified date as a local date (w.r.t. the system's default zone) zurück.static LocalDate
tomorrow()
Gibt a local date (w.r.t. the system's default zone) which refers to tomorrow zurück.
-
Felddetails
-
SYSTEM_ZONE_ID
-
-
Konstruktordetails
-
Dates
public Dates()
-
-
Methodendetails
-
atStartOfDay
Gibt the specified date at the start of its day (w.r.t. the system's default zone) zurück.- Parameter:
date
- the instant to shift to the start of its day- Gibt zurück:
- the specified date at the start of its day (w.r.t. the system's default zone)
-
atStartOfDay
Gibt the specified local date at the start of its day (w.r.t. the system's default zone) zurück.- Parameter:
localDate
- the local date to shift to the start of its day- Gibt zurück:
- the specified local date at the start of its day (w.r.t. the system's default zone)
-
today
Gibt a local date (w.r.t. the system's default zone) which refers to today zurück.- Gibt zurück:
- a local date (w.r.t. the system's default zone) which refers to today
-
tomorrow
Gibt a local date (w.r.t. the system's default zone) which refers to tomorrow zurück.- Gibt zurück:
- a local date (w.r.t. the system's default zone) which refers to tomorrow
-
toDate
Gibt the specified local date as a date (w.r.t. the system's default zone) zurück.- Parameter:
localDate
- the local date to convert- Gibt zurück:
- the specified local date as a date (w.r.t. the system's default zone)
-
toLocalDate
Gibt the specified date as a local date (w.r.t. the system's default zone) zurück.- Parameter:
date
- the date to convert- Gibt zurück:
- the specified date as a local date (w.r.t. the system's default zone)
-
isFutureDay
Gibt true if the specified date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future) zurück.- Parameter:
date
- the date to check- Gibt zurück:
- true if the specified date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future)
-
isFutureDay
Gibt true if the specified local date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future) zurück.- Parameter:
localDate
- the local date to check- Gibt zurück:
- true if the specified local date refers to a day in the future (w.r.t. the system's default zone) or is null (for infinite future)
-