B4J Programming Press on the image to return to the main documentation page.

jDatePickerEx

List of types:

DatePickerEx
Period

DatePickerEx


Events:

DateChanged

Members:


  AutoCorrectDates As Boolean

  Class_Globals As String

  CompareTo (Year As Int, Month As Int, DayOfMonth As Int) As Int

  CompareToISO (ISODate As String) As Int

  Editable As Boolean

  Enabled As Boolean

  getAutoCorrectDates As Boolean

  GetDate As String

  GetDateTicks As Long

  GetDayOfMonth As Int

  GetDayOfYear As Int

  getEditable As Boolean

  getEnabled As Boolean

  GetHashCode As String

  GetMonth As Int

  getOpened As Boolean

  getShowWeekNumbers As Boolean

  getTag As Object

  getVisible As Boolean

  GetYear As Int

  Initialize (Owner As Object, DatePickerNode As ConcreteNodeWrapper, EventName As String) As String

  IsAfter (Year As Int, Month As Int, DayOfMonth As Int) As Boolean

  IsAfterISO (ISODate As String) As Boolean

  IsBefore (Year As Int, Month As Int, DayOfMonth As Int) As Boolean

  IsBeforeISO (ISODate As String) As Boolean

  IsEqual (Year As Int, Month As Int, DayOfMonth As Int) As Boolean

  IsEqualISO (ISODate As String) As Boolean

  IsInitialized As Boolean

  IsLeapYear As Boolean

  LengthOfMonth As Int

  LengthOfYear As Int

  MinusDays (Days As Long) As String

  MinusMonths (Months As Long) As String

  MinusWeeks (Weeks As Long) As String

  MinusYears (Years As Long) As String

  Now As String

  Opened As Boolean

  PlusDays (Days As Long) As String

  PlusMonths (Months As Long) As String

  PlusWeeks (Weeks As Long) As String

  PlusYears (Years As Long) As String

  setAutoCorrectDates (Value As Boolean) As String

  SetDate (Year As Int, Month As Int, DayOfMonth As Int) As String

  SetDateISO (ISODate As String) As String

  SetDateTicks (Ticks As Long) As String

  SetDateToNull As String

  setEditable (Value As Boolean) As String

  setEnabled (Value As Boolean) As String

  setOpened (Value As Boolean) As String

  setShowWeekNumbers (Value As Boolean) As String

  setTag (Value As Object) As String

  setVisible (Value As Boolean) As String

  ShowWeekNumbers As Boolean

  Tag As Object

  Visible As Boolean

Members description:

AutoCorrectDates As Boolean
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).
Class_Globals As String
Class module
CompareTo (Year As Int, Month As Int, DayOfMonth As Int) As Int
Comparison:
Compares the selected date with a given (year, month, day) date.
Return the number of years, months or days...
CompareToISO (ISODate As String) As Int
Comparison:
Compares the selected date with a given ISO (yyyy-MM-dd) date.
Return the number of years, months or days...
Editable As Boolean
Editable:
Enable / disable the possibility to edit the text.
Enabled As Boolean
Enabled:
Enable / disable the control.
getAutoCorrectDates As Boolean
GetDate As String
Get date:
Returns the date in ISO format yyyy-MM-dd.
GetDateTicks As Long
Returns the date in ticks.
GetDayOfMonth As Int
Get Day of month:
Returns the selected day of month.
GetDayOfYear As Int
Get Day of year:
Returns the selected day of year.
getEditable As Boolean
getEnabled As Boolean
GetHashCode As String
Get HashCode:
Returns the hasCode of the selected date.
GetMonth As Int
Get Month:
Returns the selected Month.
getOpened As Boolean
getShowWeekNumbers As Boolean
getTag As Object
getVisible As Boolean
GetYear As Int
Get Year:
Returns the selected Year.
Initialize (Owner As Object, DatePickerNode As ConcreteNodeWrapper, EventName As String) As String
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.
IsAfter (Year As Int, Month As Int, DayOfMonth As Int) As Boolean
Comparison:
Return True if the selected date is after the specified (year, month, day) date.
IsAfterISO (ISODate As String) As Boolean
Comparison:
Return True if the selected date is after the specified ISO (yyyy-MM-dd) date.
IsBefore (Year As Int, Month As Int, DayOfMonth As Int) As Boolean
Comparison:
Return True if the selected date is before the specified (year, month, day) date.
IsBeforeISO (ISODate As String) As Boolean
Comparison:
Return True if the selected date is before the specified ISO (yyyy-MM-dd) date.
IsEqual (Year As Int, Month As Int, DayOfMonth As Int) As Boolean
Comparison:
Return True if the selected date is equal (i.e same day) to the specified (year, month, day) date.
IsEqualISO (ISODate As String) As Boolean
Comparison:
Return True if the selected date is equal (i.e same day) to the specified ISO (yyyy-MM-dd) date.
IsInitialized As Boolean
Tests whether the object has been initialized.
IsLeapYear As Boolean
Is Leap year:
Return true if selected year is a leap year.
LengthOfMonth As Int
Length of month:
Return number of days in the selected month.
LengthOfYear As Int
Length of year:
Return number of days in the selected year.
MinusDays (Days As Long) As String
Substract date:
Substract days from the selected date.
MinusMonths (Months As Long) As String
Substract date:
Substract months from the selected date.
MinusWeeks (Weeks As Long) As String
Substract date:
Substract weeks from the selected date.
MinusYears (Years As Long) As String
Substract date:
Substract years from the selected date.
Now As String
Sets the selected date to today.
Opened As Boolean
Opened = True / False
displays the pop-up datepicker.
also returns if the datepicker is visible or not.
PlusDays (Days As Long) As String
Add date:
Adds days to the selected date.
PlusMonths (Months As Long) As String
Add date:
Adds months to the selected date.
PlusWeeks (Weeks As Long) As String
Add date:
Adds weeks to the selected date.
PlusYears (Years As Long) As String
Add date:
Adds years to the selected date.
setAutoCorrectDates (Value As Boolean) As String
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).
SetDate (Year As Int, Month As Int, DayOfMonth As Int) As String
Set date:
Sets the selected date to specified year, month and day of month.
SetDateISO (ISODate As String) As String
Set date - ISO:
Sets the selected date to specified date in ISO format yyyy-MM-dd.
SetDateTicks (Ticks As Long) As String
Set date - Ticks:
Sets the selected date to specified date in ticks.
SetDateToNull As String
Sets the date to Null.
setEditable (Value As Boolean) As String
Editable:
Enable / disable the possibility to edit the text.
setEnabled (Value As Boolean) As String
Enabled:
Enable / disable the control.
setOpened (Value As Boolean) As String
Opened = True / False
displays the pop-up datepicker.
also returns if the datepicker is visible or not.
setShowWeekNumbers (Value As Boolean) As String
Week numbers:
Displays the week numbers on the left side of the datepicker.
setTag (Value As Object) As String
Tag:
sets / gets the tag for this control.
setVisible (Value As Boolean) As String
Visible:
sets / gets visibility for this control.
ShowWeekNumbers As Boolean
Week numbers:
Displays the week numbers on the left side of the datepicker.
Tag As Object
Tag:
sets / gets the tag for this control.
Visible As Boolean
Visible:
sets / gets visibility for this control.

Period


Events:

None

Members:


  Days As Int

  Hours As Int

  Initialize

  IsInitialized As Boolean

  Minutes As Int

  Months As Int

  Seconds As Int

  Years As Int

Members description:

Days As Int
Hours As Int
Initialize
Initializes the fields to their default value.
IsInitialized As Boolean
Tests whether the object has been initialized.
Minutes As Int
Months As Int
Seconds As Int
Years As Int

Top