Esempio n. 1
0
 public DateRange(DateTime from, int duration)
 {
     this = new DateRange { From = from, To = from.AddDays(duration) };
 }
Esempio n. 2
0
 public DateRange(DateTime from, DateTime to)
 {
     this = new DateRange{ From = from, To = to};
 }