Beispiel #1
0
 public static FromYearResult From(this YearResult result)
 {
     return(new FromYearResult(result));
 }
Beispiel #2
0
 public FromYearResult(YearResult result)
 {
     Result = result;
 }
Beispiel #3
0
 public static DateTime Ago(this YearResult result)
 {
     return(DateTime.Now.AddYears(-result.NumberOfYears));
 }
Beispiel #4
0
 public FromYearResult(YearResult result)
 {
     Result = result;
 }