Report generated 11-04-2023 10:42

Actual360 Day Count Convention

  Actual360   Windows   Day Count Convention

Miscellaneous calculation

Scenario Outline

Given the dates <start date> and <end date>
When the Actual360 day count convention is used
Then the year fraction should be <day count fraction>

Examples: 

# Start Date End Date Day Count Fraction
1 2006-01-31 2006-02-28 0.077777778
2 2006-01-30 2006-02-28 0.080555556
3 2006-02-28 2006-03-03 0.008333333
4 2006-02-14 2006-02-28 0.038888889
5 2006-09-30 2006-10-31 0.086111111
6 2006-10-31 2006-11-28 0.077777778
7 2007-08-31 2008-02-28 0.502777778
8 2008-02-28 2008-08-28 0.505555556
9 2008-02-28 2008-08-30 0.511111111
10 2008-02-28 2008-08-31 0.513888889
11 2007-02-28 2008-02-28 1.013888889
12 2007-02-28 2008-02-29 1.016666667
13 2008-02-29 2009-02-28 1.013888889
14 2008-02-29 2008-03-30 0.083333333
15 2008-02-29 2008-03-31 0.086111111
Steps Outcome
SUCCESS 015ms
SUCCESS 017ms
SUCCESS 015ms
SUCCESS 017ms
SUCCESS 017ms
SUCCESS 017ms
SUCCESS 014ms
SUCCESS 017ms
SUCCESS 016ms
SUCCESS 015ms
SUCCESS 019ms
SUCCESS 014ms
SUCCESS 016ms
SUCCESS 016ms
SUCCESS 017ms
SUCCESS 0.29s
Serenity BDD version 3.6.22