Module: SOF
- Defined in:
- lib/sof/cycles/end_of.rb,
lib/sof/cycle.rb,
lib/sof/parser.rb,
lib/sof/time_span.rb,
lib/sof/cycle/version.rb,
lib/sof/cycles/within.rb,
lib/sof/cycles/dormant.rb,
lib/sof/cycles/calendar.rb,
lib/sof/cycles/interval.rb,
lib/sof/cycles/lookback.rb,
lib/sof/cycles/volume_only.rb,
lib/sof/cycles/lookback_end_of.rb
Overview
Captures the logic for enforcing the Interval cycle variant
E.g. "V1I24MF2026-03-31" means:
Complete 1 every 24 months, current window from 2026-03-31.
After completion, the consuming app re-anchors from the completion date.
Unlike EndOf, there is no end-of-month rounding. Unlike Lookback, the window is anchored to a from_date, not sliding from today. Unlike Within, the window is repeating — it re-anchors from the completion date.