-
Notifications
You must be signed in to change notification settings - Fork 2
TimeRangePicker
.timeRangePicker(options)
.timeRangePicker(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 in the end minutes field. -
timeSeparator (String) Default: ":"
The separator between the hours field and the minutes field. -
rangeSeparator (String) Default: "-"
The separator between the start time and the end time.
.timeRangePicker("clearTimeRange")
Clear the time range. If this field is a required field, an error occured.
Returns (jQuery)
.timeRangePicker("getStartTime", date)
Get the start time value.
Arguments
- date (Date)
The date to which this start time is applied.Returns (Date)
(date).getHours(): The hours value.
(date).getMinutes() : The minutes value.
.timeRangePicker("getXSDStartTime")
Get the start time value as xsd:time format.
Returns (String)
The start time value which is formatted as hh::mm::ss.
.timeRangePicker("getEndTime", date)
Get the end time value.
Arguments
- date (Date)
The date to which this end time is applied.Returns (Date)
(date).getHours(): The hours value.
(date).getMinutes() : The minutes value.
.timeRangePicker("getXSDEndTime")
Get the end time value as xsd:time format.
Returns (String)
The end time value which is formatted as hh::mm::ss.
.timeRangePicker("setTimeRange", startHours, startMinutes, endHours, endMinutes)
Set the time range.
Arguments
- startHours (Integer)
The start hours value. (0-24)- startMinmutes (Ingeger)
The start minutes value. (0-59)- endHours (Integer)
The end hours value. (0-24)- endMinmutes (Ingeger)
The end minutes value. (0-59)Returns (jQuery)