Class DateChangeEvent

java.lang.Object
com.github.lgooddatepicker.zinternaltools.DateChangeEvent

public class DateChangeEvent extends Object
DateChangeEvent, An instance of this event class is passed to each registered DateChangeListener, each time that the date in a date picker changes.
  • Constructor Details

  • Method Details

    • getSource

      public DatePicker getSource()
      getSource, Returns the date picker that generated the event.
    • getOldDate

      public LocalDate getOldDate()
      getOldDate, Returns the previous value of the DatePicker date. This is the value that existed before the date was changed.
    • getNewDate

      public LocalDate 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.)