public class YearMonthChangeEvent extends Object
Constructor and Description |
---|
YearMonthChangeEvent(CalendarPanel source,
java.time.YearMonth newYearMonth,
java.time.YearMonth oldYearMonth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.time.YearMonth |
getNewYearMonth()
getNewYearMonth, Returns the new YearMonth.
|
java.time.YearMonth |
getOldYearMonth()
getOldYearMonth, Returns the old YearMonth.
|
CalendarPanel |
getSource()
getSource, Returns the calendar panel that generated the event.
|
boolean |
isDuplicate()
isDuplicate, Returns true if the new YearMonth is the same as the old YearMonth.
|
public YearMonthChangeEvent(CalendarPanel source, java.time.YearMonth newYearMonth, java.time.YearMonth oldYearMonth)
public CalendarPanel getSource()
public java.time.YearMonth getNewYearMonth()
public java.time.YearMonth getOldYearMonth()
public boolean isDuplicate()
Copyright © 2018. All rights reserved.