Class TimeChangeEvent
java.lang.Object
com.github.lgooddatepicker.zinternaltools.TimeChangeEvent
TimeChangeEvent, An instance of this event class is passed to each registered TimeChangeListener,
each time that the time in a time picker changes.
-
Constructor Summary
ConstructorsConstructorDescriptionTimeChangeEvent
(TimePicker source, LocalTime oldTime, LocalTime newTime) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetNewTime, Returns the new value of the TimePicker time.getOldTime, Returns the previous value of the TimePicker time.getSource, Returns the time picker that generated the event.
-
Constructor Details
-
TimeChangeEvent
Constructor.
-
-
Method Details
-
getSource
getSource, Returns the time picker that generated the event. -
getOldTime
getOldTime, Returns the previous value of the TimePicker time. This is the value that existed before the time was changed. -
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.)
-