Skip to content

Commit

Permalink
Method change
Browse files Browse the repository at this point in the history
  • Loading branch information
arman-g committed Sep 27, 2021
1 parent da6844d commit d9c64a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/AgeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void CalculateAge(
int? expectedSeconds = null,
bool isFeb28AYearCycleForLeapling = false)
{
var age = fromDate.CalculateAge(toDate, isFeb28AYearCycleForLeapling);
var age = Age.Calculate(fromDate, toDate, isFeb28AYearCycleForLeapling);
_output.WriteLine($"{fromDate:MM/dd/yyyy HH:mm:ss}:{GetLOrNYear(fromDate)} - {toDate:MM/dd/yyyy HH:mm:ss}:{GetLOrNYear(toDate)}");
if (DateTime.IsLeapYear(fromDate.Year))
{
Expand Down

0 comments on commit d9c64a3

Please sign in to comment.