Validates duration bounds and returns normalized numeric seconds.
Raw value to validate.
Minimum allowed duration.
Maximum allowed duration.
Normalized duration value.
When the provided duration is non-finite or outside the allowed range.
Validates duration bounds and returns normalized numeric seconds.