public TimeSpan AgeFrom(this IBorn birthed, DateTime from) { return(from - birthed.Birth); }
public void checkAge(IBorn birthed) { var age = birthed.Age((new DefaultDateTimeFactory()).Now()); }
public TimeSpan AgeFromNow(this IBorn birthed, IDateTimeFactory dtf) { return(dtf.Now() - birthed.Birth); }