Class TimeChangeEvent

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

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

  • Method Details

    • getSource

      public TimePicker getSource()
      getSource, Returns the time picker that generated the event.
    • getOldTime

      public LocalTime getOldTime()
      getOldTime, Returns the previous value of the TimePicker time. This is the value that existed before the time was changed.
    • getNewTime

      public LocalTime getNewTime()
      getNewTime, Returns the new value of the TimePicker time. This is the value that currently exists. (Put in another way, this is the value that exists after the time was changed.)