public class StepsUtil extends Object
NOTE: This class is not part of the public API surface and for internal use only
Modifier and Type | Field and Description |
---|---|
static Duration |
DEFAULT_WEB_COMPONENT_STEP
Default step value of the web component, as Duration
|
Constructor and Description |
---|
StepsUtil() |
Modifier and Type | Method and Description |
---|---|
static double |
convertDurationToStepsValue(Duration duration)
Converts a Duration object into a decimal value that is used internally
by the time picker web component.
|
static Duration |
convertStepsValueToDuration(double stepsValue)
Converts the decimal steps value use internally by the time picker web
component into a Duration instance
|
public static final Duration DEFAULT_WEB_COMPONENT_STEP
public static double convertDurationToStepsValue(Duration duration)
duration
- public static Duration convertStepsValueToDuration(double stepsValue)
stepsValue
- Copyright © 2025. All rights reserved.