public TimeSpan GetStepOffset(int totalSteps) { var effectiveOffset = IterativeOffsetMode == IterativeOffsetMode.Step ? Offset : Offset.DividedBy(totalSteps); if (MaximumEffectiveOffset.HasValue) { if (effectiveOffset > MaximumEffectiveOffset.Value) { effectiveOffset = MaximumEffectiveOffset.Value; } } return(effectiveOffset); }