Skip to content

Commit a7757c3

Browse files
committed
Additional jsdoc cleanups.
1 parent d0245b6 commit a7757c3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,9 +1959,9 @@
19591959

19601960
/**
19611961
* 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
19631963
* @param {string} toTimezone formatted like "+0500", "-1245"
1964-
* @return date
1964+
* @return {Date}
19651965
*/
19661966
$.timepicker.timezoneAdjust = function(date, toTimezone) {
19671967
var toTz = $.timepicker.timezoneOffsetNumber(toTimezone);
@@ -1977,7 +1977,7 @@
19771977
* n.b. The input value must be correctly formatted (reformatting is not supported)
19781978
* @param {Element} startTime
19791979
* @param {Element} endTime
1980-
* @param {object} options Options for the timepicker() call
1980+
* @param {Object} options Options for the timepicker() call
19811981
* @return {jQuery}
19821982
*/
19831983
$.timepicker.timeRange = function(startTime, endTime, options) {
@@ -1989,10 +1989,10 @@
19891989
* enforce date range limits.
19901990
* @param {Element} startTime
19911991
* @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`,
19931993
* 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}
19961996
*/
19971997
$.timepicker.datetimeRange = function(startTime, endTime, options) {
19981998
$.timepicker.handleRange('datetimepicker', startTime, endTime, options);
@@ -2003,9 +2003,9 @@
20032003
* enforce date range limits.
20042004
* @param {Element} startTime
20052005
* @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`,
20072007
* a boolean value that can be used to reformat the input values to the `dateFormat`.
2008-
* @return jQuery
2008+
* @return {jQuery}
20092009
*/
20102010
$.timepicker.dateRange = function(startTime, endTime, options) {
20112011
$.timepicker.handleRange('datepicker', startTime, endTime, options);
@@ -2017,9 +2017,9 @@
20172017
* @param {string} method Can be used to specify the type of picker to be added
20182018
* @param {Element} startTime
20192019
* @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`,
20212021
* a boolean value that can be used to reformat the input values to the `dateFormat`.
2022-
* @return jQuery
2022+
* @return {jQuery}
20232023
*/
20242024
$.timepicker.handleRange = function(method, startTime, endTime, options) {
20252025
options = $.extend({}, {

0 commit comments

Comments
 (0)