Ejemplo n.º 1
0
 public Period(Time start, Interval length)
 {
     this.start = start;
     this.length = length;
 }
Ejemplo n.º 2
0
 public Period(Time start, Time end)
 {
     this.start = start;
     this.length = end.Interval(start);
 }
Ejemplo n.º 3
0
 public static Time Add(this Time time, Interval interval)
 {
     return new Time (time.SecondsFromEpoch + interval.Seconds, time.Context);
 }