validateTime
A function to validate the time object based on the given step.
Returns a new object, so that a time object owned by the caller, such as one returned by the i18n.parseTime function, is left as it is.
A function to validate the time object based on the given step.
Returns a new object, so that a time object owned by the caller, such as one returned by the i18n.parseTime function, is left as it is.