public override Span GetOffset(Span span, int amount, Pointer.Type pointer) { int direction = (pointer == Pointer.Type.Future) ? 1 : -1; return span.Add(direction * amount * RepeaterMinute.MINUTE_SECONDS); }
public override Span GetOffset(Span span, int amount, Pointer.Type pointer) { var direction = (pointer == Pointer.Type.Future) ? 1 : -1; return span.Add(direction * amount * RepeaterWeek.WEEK_SECONDS); }