|
1959 | 1959 |
|
1960 | 1960 | /**
|
1961 | 1961 | * No way to set timezone in js Date, so we must adjust the minutes to compensate. (think setDate, getDate)
|
1962 |
| - * @param {date} date |
| 1962 | + * @param {Date} date |
1963 | 1963 | * @param {string} toTimezone formatted like "+0500", "-1245"
|
1964 |
| - * @return date |
| 1964 | + * @return {Date} |
1965 | 1965 | */
|
1966 | 1966 | $.timepicker.timezoneAdjust = function(date, toTimezone) {
|
1967 | 1967 | var toTz = $.timepicker.timezoneOffsetNumber(toTimezone);
|
|
1977 | 1977 | * n.b. The input value must be correctly formatted (reformatting is not supported)
|
1978 | 1978 | * @param {Element} startTime
|
1979 | 1979 | * @param {Element} endTime
|
1980 |
| - * @param {object} options Options for the timepicker() call |
| 1980 | + * @param {Object} options Options for the timepicker() call |
1981 | 1981 | * @return {jQuery}
|
1982 | 1982 | */
|
1983 | 1983 | $.timepicker.timeRange = function(startTime, endTime, options) {
|
|
1989 | 1989 | * enforce date range limits.
|
1990 | 1990 | * @param {Element} startTime
|
1991 | 1991 | * @param {Element} endTime
|
1992 |
| - * @param {object} options Options for the `timepicker()` call. Also supports `reformat`, |
| 1992 | + * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`, |
1993 | 1993 | * a boolean value that can be used to reformat the input values to the `dateFormat`.
|
1994 |
| - * @param string method Can be used to specify the type of picker to be added |
1995 |
| - * @return jQuery |
| 1994 | + * @param {string} method Can be used to specify the type of picker to be added |
| 1995 | + * @return {jQuery} |
1996 | 1996 | */
|
1997 | 1997 | $.timepicker.datetimeRange = function(startTime, endTime, options) {
|
1998 | 1998 | $.timepicker.handleRange('datetimepicker', startTime, endTime, options);
|
|
2003 | 2003 | * enforce date range limits.
|
2004 | 2004 | * @param {Element} startTime
|
2005 | 2005 | * @param {Element} endTime
|
2006 |
| - * @param {object} options Options for the `timepicker()` call. Also supports `reformat`, |
| 2006 | + * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`, |
2007 | 2007 | * a boolean value that can be used to reformat the input values to the `dateFormat`.
|
2008 |
| - * @return jQuery |
| 2008 | + * @return {jQuery} |
2009 | 2009 | */
|
2010 | 2010 | $.timepicker.dateRange = function(startTime, endTime, options) {
|
2011 | 2011 | $.timepicker.handleRange('datepicker', startTime, endTime, options);
|
|
2017 | 2017 | * @param {string} method Can be used to specify the type of picker to be added
|
2018 | 2018 | * @param {Element} startTime
|
2019 | 2019 | * @param {Element} endTime
|
2020 |
| - * @param {object} options Options for the `timepicker()` call. Also supports `reformat`, |
| 2020 | + * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`, |
2021 | 2021 | * a boolean value that can be used to reformat the input values to the `dateFormat`.
|
2022 |
| - * @return jQuery |
| 2022 | + * @return {jQuery} |
2023 | 2023 | */
|
2024 | 2024 | $.timepicker.handleRange = function(method, startTime, endTime, options) {
|
2025 | 2025 | options = $.extend({}, {
|
|
0 commit comments