C - Concrete configurator typepublic interface HasTimeInputConfigurator<C extends HasTimeInputConfigurator<C>>
| Modifier and Type | Method and Description |
|---|---|
C |
spacing(boolean spacing)
Set whether to display a space between the
date, time input fields. |
C |
timeInputWidth(String timeInputWidth)
Set the time input width.
|
C |
timeStep(Duration step)
Sets the time step using duration.
|
C spacing(boolean spacing)
date, time input fields.spacing - whether to enable spacingC timeInputWidth(String timeInputWidth)
timeInputWidth - the time input width to setC timeStep(Duration step)
The set step needs to evenly divide a day or an hour and has to be larger than 0 milliseconds. By default, the
format is hh:mm (same as Duration.ofHours(1)).
If the step is less than 60 seconds, the format will be changed to hh:mm:ss and it can be in
hh:mm:ss.fff format, when the step is less than 1 second.
NOTE: If the step is less than 900 seconds, the dropdown is hidden.
step - the step to set, not null and should divide a day or an hour evenlyCopyright © 2020 The Holon Platform. All rights reserved.