Skip to content

clampDuration

clampDuration(value, min?, max?): Duration

Defined in: duration.ts:173

Clamp a google.protobuf.Duration value to a range of valid durations. The default minimum is -315,576,000,000 seconds and the default maximum is +315,576,000,000 seconds.

Duration

Duration = MIN_DURATION

Duration = MAX_DURATION

Duration