Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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);
 }