If the date picker is shown in an overlay panel, adjusts the position of that overlay panel so that is shown at its proper location.
Adds the event listener for click events to the document.
Clears the select time of the time picker.
Creates a list of all days in the given month.
A month to check.
A year to check.
Index that will be included in the return value.
All days in the given month.
Creates a list of all days in the year, starting at the given month.
Month where to start. Months before that are not included in the returned list.
Year to check.
A list with all days in the year, starting at the given month.
Creates a list of long day names in a week.
A list with the long day names in a week.
Creates a list of super short day names in a week.
A list with the super sort day names in a week.
Creates a list of short day names in a week.
A list with the sort day names in a week.
Callback that is invoked when the down button of the hour input was pressed.
Event that occurred.
Callback that is invoked when the down button of the millisecond input was pressed.
Event that occurred.
Callback that is invoked when the down button of the minute input was pressed.
Event that occurred.
Callback that is invoked when the down button of the second input was pressed.
Event that occurred.
Removes the modality feature from the overlay panel so that other elements in the page can be interacted with while the overlay date picker is shown.
Makes the overlay panel a modal dialog so that other elements in the page cannot be interacted with while the overlay date picker is shown.
Escapes characters that have a special meaning in HTML, so that the given value can be used safely as a value in an HTML attribute or text node.
Value to escape.
The given value, escaped for use in an HTML attribute or text node.
Formats the given point in time as a string, omitting the time part.
A point in time to format.
Date format to use.
A textual representation of the given point in time, including the date but omitting the time part.
Formats the given point in time as a string with a date and a time.
A point in time to format.
A textual representation of the given point in time, with a date and a time part.
Formats the given point in time as a string, omitting the date part.
A point in time to parse.
A text represent of the given point in time, including the time part but omitting the date part.
Joins the given style class names for use in the HTML class attribute.
List of style classes.
The given classes, joined with a space.
Retrieves the currently selected date of this date picker.
The currently selected date.
Finds the number of day in the given month.
Month to check.
Year to check.
The number of days in the given month.
Finds the number of day in month before the given month.
Month to check.
Year to check.
The number of days in month before the given month.
Finds the day of the week index that represents the first day of the week for the given month.
Month to check.
Year to check.
The day of the week index that represents the first day of the week for the given month.
Finds the month of the year index and year index of the month succeeding the given month.
Month to check.
Year to check.
The month after the given month.
Finds the month of the year index and year index of the month preceding the given month.
Month to check.
Year to check.
The month before the given month.
Finds the day of the week index that represents sunday.
The day of the week index that represents sunday.
Finds the formatted date or time string that is to be shown as the currently selected date or time.
The currently selected date or time, formatted according to the current options.
Callback that is invoked when a value was entered in the hour input.
Hour input element.
Event that occurred.
Callback that is invoked when a value was entered in the millisecond input.
Millisecond input element.
Event that occurred.
Callback that is invoked when a value was entered in the minute input.
Minute input element.
Event that occurred.
Callback that is invoked when a value was entered in the second input.
Second input element.
Event that occurred.
Hides the overlay panel with the date picker.
Callback that is invoked when the up button of the hour input was pressed.
Event that occurred.
Callback that is invoked when the up button of the millisecond input was pressed.
Event that occurred.
Callback that is invoked when the up button of the minute input was pressed.
Event that occurred.
Callback that is invoked when the up button of the second input was pressed.
Event that occurred.
A value to check whether it is a Date instance.
true
if the value is an instance of Date
, and false
otherwise.
Checks whether the given date lies in the given range.
Start point of the date range.
End point of the date range.
Date to check whether it lies in the given range.
true
if the given date lies in the range [start, end]
(inclusive), or false
otherwise.
Checks whether the given date is currently disabled and cannot be selected.
Day to check.
Month to check.
Year to check.
Whether the given date is currently disabled and cannot be selected.
Checks whether the given date equals the other given date.
First date for the comparison.
Other date for the comparison.
true
if both given values represent the same date, or false
otherwise.
Checks whether the given day is currently disabled and cannot be selected.
Day to check.
Month to check.
Year to check.
Whether the given day is currently disabled and cannot be selected.
Checks whether the year of the currently displayed month page is equal to the year of the PickerOptions.maxDate.
Whether the year of the currently displayed month page is equal to the year of the PickerOptions.maxDate.
Checks whether the year of the currently displayed month page is equal to the year of the PickerOptions.minDate.
Whether the year of the currently displayed month page is equal to the year of the PickerOptions.minDate.
Checks whether the given month is currently selected.
A month to check.
Whether the given month is currently selected.
Checks whether the PickerOptions.selectionMode is currently set to multiple
.
Whether multiple dates can be selected.
Whether the date picker panel is currently displayed.
Checks whether the PickerOptions.selectionMode is currently set to range
.
Whether a range of dates can be selected.
Checks whether thee given day can be selected.
A day to check.
A month to check.
A year to check.
Whether the given month belongs to another month other than the currently displayed month. See PickerOptions.selectOtherMonths.
Checks whether the given day is selected.
Day to check.
Whether the given day is selected.
Checks whether the PickerOptions.selectionMode is currently set to single
.
Whether only a single date can be selected.
Checks whether the given date is equal to the current date.
The date of today.
Day to check.
Month to check.
Year to check.
true
if the given today
represents the same date as the given day
, month
, and year
.
Callback that is invoked when button for navigating to the previous month was pressed.
Event that occurred.
Callback that is invoked when button for navigating to the next month was pressed.
Event that occurred.
Callback that is invoked when the trigger button was pressed.
Event that occurred.
Callback that is invoked when the clear button was pressed.
Event that occurred.
Callback that is invoked when a date was selected by clicking on it.
Event that occurred.
Day that was clicked.
Callback that is invoked when the date input lost focus.
Event that occurred.
Callback that is invoked when the date input was clicked.
Event that occurred.
Callback that is invoked when the date input was focused.
Event that occurred.
Callback that is invoked when a key was pressed in the date input.
Event that occurred.
Callback that is invoked when a different month was selected in the dropdown menu in the title bar.
Event that occurred.
Callback that is invoked when a different month was selected by clicking on that month.
Event that occurred.
Month that was selected.
Callback that is invoked when the date picker panel was clicked.
Event that occurred.
Callback that is invoked when the left mouse button was pressed down while the cursor is over the time picker element.
Event that occurred.
Whether the hour, minute, second, or millisecond was clicked.
Whether the up or down button was clicked.
Callback that is invoked when the left mouse button was release while the cursor is over the time picker element.
Event that occurred.
Callback that is invoked when the today button was pressed.
Event that occurred.
Callback that is invoked when the user made an input.
Event that occurred.
Callback that is invoked when a different year was selected in the dropdown menu in the title bar.
Event that occurred.
Parses a string with a date (but no time).
The date string to parse.
The format to use for parsing.
The parsed date.
Parses a string with a date and a time.
The date time string to parse.
The parsed date.
Parses the textual representation of a date as stored in PickerOptions.minDate and PickerOptions.maxDate.
A textual representation of a date to parse.
The parsed date.
Parses a texual representation of a date that is stored in the PickerOptions.disabledDates list.
Value to parse as a date.
The parsed date.
Parses a string with a time (but no date).
The time string to parse.
Whether it is currently before or after midday.
The parses date.
Parses a string that either represents a date time, a list of date times, or a date time range, depending on the current PickerOptions.selectionMode setting.
When the given value is a date time, a list of date times, or a date time range already, returns that value unchanged.
The parsed date time, date times, or date time range.
Parses a string that either represent a date time, a list of date times, or a date time range, depending on the current PickerOptions.selectionMode setting.
The string with the date time, date times, or date time range to parse.
The parsed date time, date times, or date time range.
Creates the HTML snippet for the picker that lets the user choose between a.m.
and p.m.
.
The rendered HTML snippet.
Creates the HTML snippet for the button for navigating to the previous month.
The rendered HTML snippet.
Creates the HTML snippet for the button bar with the today and clear buttons.
The rendered HTML snippet.
Creates the HTML snippet for the content of a date cell with a single day.
Date to render.
Style class to apply.
The rendered HTML snippet.
Creates the HTML snippet for the date picker panel and saves it in this instance.
Creates the HTML snippet for the date view that shows the current month page.
The rendered HTML snippet.
Creates the HTML snippet for the date view grid of the given month.
Month to use.
List of super short week day names.
List of long week names.
The rendered HTML snippet.
Creates the HTML snippet for the given dates.
List of dates to render.
The rendered HTML snippet.
Creates the HTML snippet for the names of the given days.
List of super short week day names.
List of long week day names.
The rendered HTML snippet.
Creates the HTML snippet for the button for navigating to the next month.
The rendered HTML snippet.
Creates the HTML snippet for separator before fractional seconds (such as a dot).
The rendered HTML snippet.
Creates the HTML snippet for the hour picker for selecting an hour.
The rendered HTML snippet.
Creates the HTML snippet for the millisecond picker for selecting a millisecond.
The rendered HTML snippet.
Creates the HTML snippet for the minute picker for selecting a minute.
The rendered HTML snippet.
Creates the HTML snippet for the given days in a month.
List of days to render
Month to which the days belong.
The rendered HTML snippet.
Creates the HTML snippet for the month view with the days in the current month.
The rendered HTML snippet.
Creates the HTML snippet for the month part of the month view.
Month to use.
The rendered HTML snippet.
Creates the HTML snippet for the month list part of the month view.
The rendered HTML snippet.
Creates the HTML snippet for the given days.
List of days to render.
The rendered HTML snippet.
Creates the HTML snippet for the panel elements.
The rendered HTML snippet.
Creates the HTML snippet for the second picker for selecting a second.
The rendered HTML snippet.
Creates the HTML snippet for separator between hours, minutes, and seconds (such as a colon).
The rendered HTML snippet.
Creates the HTML snippet for container with the up and down button.
Style class for the container.
Text to shown in the time element container.
Whether to render the time elements of a hour, minute, second, or millisecond.
The rendered HTML snippet.
Creates the HTML snippet for the time picker that lets the user select an hour, minute, and second.
The rendered HTML snippet.
Creates the HTML snippet for the button to decrement the hour, minutes, second, or millisecond.
The rendered HTML snippet.
Creates the HTML snippet for the button to increment the hour, minutes, second, or millisecond.
The rendered HTML snippet.
Creates the HTML snippet for the title bar of the given month.
Month to use.
The rendered HTML snippet.
Creates the HTML snippet for a title bar that shows the given month.
Month to use.
0-based index of the month in the year.
The rendered HTML snippet.
Creates the HTML snippet for the options elements of the select element in the title bar that lets the user switch to another month.
Whether to create the options for months or years.
List of month names.
The rendered HTML snippet.
Creates the HTML snippet for the options elements of the select element in the title bar that lets the user switch to another year.
Whether to create the options for months or years.
List of year numbers to use as options.
The rendered HTML snippet.
Creates the HTML snippet for a title bar that shows the given year.
Year to use.
0-based index of the month in the year.
The rendered HTML snippet.
Creates the HTML snippet for the trigger button and saves it in this instance.
Creates the HTML snippet for the days in the given week.
List of days in the week.
The rendered HTML snippet.
When the time picker up or down arrows are clicked and the mouse button is held down for a prolonged period of time: repeatedly increment the minute or hour.
Event that occurred, such as a click event.
Amount of time between successive increments.
Which part of the time is to be incremented or decremented (hour, minute, second, or millisecond).
Whether to increment or decrement the time part.
Adjust the UI so that the given date now appears selected.
The event that triggered the selection, such as a mouse click.
The date that is to be selected.
Changes the selected date of this date picker to the given date, and updates the UI.
The new date to set.
Changes the current date of the navigation, i.e. the dates or times that are displayed from which the user can select an option.
New view date to set.
Shows the overlay panel with the date picker.
Converts a date object to an ISO date (date only, no time) string. Useful to check if a dates matches with a date sent from the backend without needing to parse the backend date first.
Date to convert.
The data as an ISO date string.
Callback that is invoked when the button for switching between a.m.
and p.m.
was pressed.
Event that occurred.
Removes the event listener for click events from the document.
Updates the hidden input field and saves the currently selected value.
Event that occurred.
Date that is selected.
Updates the time display so that is shows the given time.
Event that occurred.
Current hour.
Current minute.
Current second.
After a time was entered, updates the time display so that is shows the given time.
Event that occurred.
The time to display.
Updates the currently displayed date range.
Event that occurred.
The date to be displayed.
Updates the year navigator element that lets the user choose a year so that it reflects the current settings.
Generated using TypeDoc
Base interface for the PickerInstance that contains all methods that are available via the JQuery wrapper, see JQuery.datePicker.