Class CalendarSelectionEvent
java.lang.Object
com.github.lgooddatepicker.zinternaltools.CalendarSelectionEvent
CalendarSelectionEvent, An instance of this event class is passed to each registered
CalendarSelectionListener, each time that a date is selected in a CalendarPanel.
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarSelectionEvent
(CalendarPanel source, LocalDate newDate, LocalDate oldDate) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetNewDate, Returns the new selected date.getOldDate, Returns the old selected date.getSource, Returns the calendar panel that generated the event.boolean
isDuplicate, Returns true if the new date is the same as the old date, or if both values are null.
-
Constructor Details
-
CalendarSelectionEvent
Constructor.
-
-
Method Details
-
getSource
getSource, Returns the calendar panel that generated the event. -
getNewDate
getNewDate, Returns the new selected date. -
getOldDate
getOldDate, Returns the old selected date. -
isDuplicate
public boolean isDuplicate()isDuplicate, Returns true if the new date is the same as the old date, or if both values are null. Otherwise returns false.
-