-
Notifications
You must be signed in to change notification settings - Fork 2
TimePicker
.timePicker(options)
.timePicker(method, arg, ...)
-
required (Boolean) Default: false
Whether this field is required or not. If required, the users cannot select the empty time value. -
minutesStep (Integer) Default: 10
The step of the minutes field. -
include24 (Boolean) Default: false
If true, the menu item of 24:00 is shown. -
timeSeparator (String) Default: ":"
The separator between the hours field and the minutes field.
.timePicker("clearTime")Clear the time. If this field is a required field, an error occured.
Returns (jQuery)
.timePicker("getTime", date)Get the time value.
Arguments
- date (Date)
The date to which this time is applied.Returns (Date)
(date).getHours(): The hours value.
(date).getMinutes() : The minutes value.
.timePicker("getXSDTime")Get the time value as xsd:time format.
Returns (String)
The time value which is formatted as hh::mm::ss.
.timePicker("setTime", hours, minutes)Set the time.
Arguments
- hours (Integer)
The hours value. (0-24)- minmutes (Ingeger)
The minutes value. (0-59)Returns (jQuery)