Autocorrect: Set weither the invalid dates should be corrected before processing. If set to False, an error will be thrown by java in case of invalid date.
Example: "2014-1-32" would be corrected to "2014-01-31" and (2014, 1, 32) would be corrected to (2014, 1, 31).
Initializes Date Picker Ex. IMPORTANT: This class requires JavaFx 8 minimum. Note: The datepicker's default date is today.
Owner: The module that will receive the events. Usually 'Me'. DatePickerNode: The date picker node created from the scene builder. EventName: The name of the event that will be called.
Comparison: Return True if the selected date is equal (i.e same day) to the specified (year, month, day) date.
IsEqualISO (ISODateAsString) AsBoolean
Comparison: Return True if the selected date is equal (i.e same day) to the specified ISO (yyyy-MM-dd) date.
IsInitializedAsBoolean
Tests whether the object has been initialized.
IsLeapYearAsBoolean
Is Leap year: Return true if selected year is a leap year.
LengthOfMonthAsInt
Length of month: Return number of days in the selected month.
LengthOfYearAsInt
Length of year: Return number of days in the selected year.
MinusDays (DaysAsLong) AsString
Substract date: Substract days from the selected date.
MinusMonths (MonthsAsLong) AsString
Substract date: Substract months from the selected date.
MinusWeeks (WeeksAsLong) AsString
Substract date: Substract weeks from the selected date.
MinusYears (YearsAsLong) AsString
Substract date: Substract years from the selected date.
NowAsString
Sets the selected date to today.
OpenedAsBoolean
Opened = True / False displays the pop-up datepicker. also returns if the datepicker is visible or not.
PlusDays (DaysAsLong) AsString
Add date: Adds days to the selected date.
PlusMonths (MonthsAsLong) AsString
Add date: Adds months to the selected date.
PlusWeeks (WeeksAsLong) AsString
Add date: Adds weeks to the selected date.
PlusYears (YearsAsLong) AsString
Add date: Adds years to the selected date.
setAutoCorrectDates (ValueAsBoolean) AsString
Autocorrect: Set weither the invalid dates should be corrected before processing. If set to False, an error will be thrown by java in case of invalid date.
Example: "2014-1-32" would be corrected to "2014-01-31" and (2014, 1, 32) would be corrected to (2014, 1, 31).