Class DateChangeEvent
java.lang.Object
com.github.lgooddatepicker.zinternaltools.DateChangeEvent
DateChangeEvent, An instance of this event class is passed to each registered DateChangeListener,
each time that the date in a date picker changes.
-
Constructor Summary
ConstructorsConstructorDescriptionDateChangeEvent
(DatePicker source, LocalDate oldDate, LocalDate newDate) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetNewDate, Returns the new value of the DatePicker date.getOldDate, Returns the previous value of the DatePicker date.getSource, Returns the date picker that generated the event.
-
Constructor Details
-
DateChangeEvent
Constructor.
-
-
Method Details
-
getSource
getSource, Returns the date picker that generated the event. -
getOldDate
getOldDate, Returns the previous value of the DatePicker date. This is the value that existed before the date was changed. -
getNewDate
getNewDate, Returns the new value of the DatePicker date. This is the value that currently exists. (Put in another way, this is the value that exists after the date was changed.)
-