Esempio n. 1
0
 public BillingCycle CalculateNext()
 {
     return(new BillingCycle(
                start:          this.end,
                end:            interval.CalculateNext(this.End),
                interval:       interval
                ));
 }
Esempio n. 2
0
 public static BillingCycle CalculateFirst(DateTime start, Interval interval)
 {
     return(new BillingCycle(start, end: interval.CalculateNext(start), interval: interval));
 }