java.lang.Object
jfxtras.scene.control.agenda.TemporalUtilities
Contains the methods to convert to and from LocalDateTime to other Temporal classes
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Temporal
combine
(Temporal initialTemporal, TemporalAdjuster adjuster) applies the parameter adjuster to the initialTemporal adjuster must be either LocalDate or LocalDateTime For example, If initialTemporal is a ZonedDateTime object representing 2007-12-03T10:15:30+01:00 Europe/Paris and adjuster represents 2007-12-05T10:12:30 then the returned Temporal will be 2007-12-05T10:12:30+01:00 Europe/Paris Another example, if initialTemporal is a LocalDate object representing 2007-12-03 and adjuster represents 2007-12-05T10:12:30 then the returned Temporal will be 2007-12-05static LocalDateTime
toLocalDateTime
(Temporal temporal) makes LocalDateTime from temporal followed rules in TemporalType
-
Constructor Details
-
TemporalUtilities
private TemporalUtilities()
-
-
Method Details
-
combine
applies the parameter adjuster to the initialTemporal adjuster must be either LocalDate or LocalDateTime For example, If initialTemporal is a ZonedDateTime object representing 2007-12-03T10:15:30+01:00 Europe/Paris and adjuster represents 2007-12-05T10:12:30 then the returned Temporal will be 2007-12-05T10:12:30+01:00 Europe/Paris Another example, if initialTemporal is a LocalDate object representing 2007-12-03 and adjuster represents 2007-12-05T10:12:30 then the returned Temporal will be 2007-12-05 -
toLocalDateTime
makes LocalDateTime from temporal followed rules in TemporalType
-