Ready to test Windows Project

This commit is contained in:
2025-02-16 21:30:17 -07:00
parent 039355f31e
commit 3ea4926f5e
33 changed files with 1226 additions and 205 deletions

View File

@ -16,19 +16,19 @@ internal abstract class Age
years += 1;
}
result = new(minuendTicks - check.AddYears(-1).Ticks);
return (years, result);
return new(years, result);
}
internal static (int, TimeSpan) GetAge(long minuendTicks, DateTime subtrahend)
{
(int years, TimeSpan result) = GetAge(minuendTicks, subtrahend.Ticks);
return (years, result);
return new(years, result);
}
internal static (int, TimeSpan) GetAge(DateTime minuend, DateTime subtrahend)
{
(int years, TimeSpan result) = GetAge(minuend.Ticks, subtrahend.Ticks);
return (years, result);
return new(years, result);
}
internal static int? GetApproximateYears(char[] personCharacters, string personDisplayDirectoryName)