Example #1
0
 public AgeSpan(global::System.TimeSpan span)
 {
     this             = new AgeSpan();
     this.TotalYears  = span.GetTotalYears();
     this.Years       = span.GetYears();
     this.TotalMonths = span.GetTotalMonths();
     this.Months      = span.GetMonths();
     this.TotalWeeks  = span.GetTotalWeeks();
     this.Weeks       = span.GetWeeks();
     this.Days        = span.GetDays();
     this.TimeSpan    = span;
 }