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/lookback.rb,
lib/sof/cycles/volume_only.rb

Overview

Captures the logic for enforcing the EndOf cycle variant

E.g. "V1E18MF2020-01-05" means:
  You're good until the end of the 17th subsequent month from 2020-01-05.
  Complete 1 by that date to reset the cycle.

Some of the calculations are quite different from other cycles. Whereas other cycles look at completion dates to determine if the cycle is satisfied, this cycle checks whether the anchor date is prior to the final date.

Defined Under Namespace

Modules: Cycles Classes: Cycle, Parser, TimeSpan