Report generated 11-04-2023 10:42

Actual365 (fixed) Day Count Convention

  Windows   Actual365 Fixed   Day Count Convention

Miscellaneous calculation

Scenario Outline

Given the dates <start date> and <end date>
When the Actual365Fixed 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.076712329
2 2006-01-30 2006-02-28 0.079452055
3 2006-02-28 2006-03-03 0.008219178
4 2006-02-14 2006-02-28 0.038356164
5 2006-09-30 2006-10-31 0.084931507
6 2006-10-31 2006-11-28 0.076712329
7 2007-08-31 2008-02-28 0.495890411
8 2008-02-28 2008-08-28 0.498630137
9 2008-02-28 2008-08-30 0.504109589
10 2008-02-28 2008-08-31 0.506849315
11 2007-02-28 2008-02-28 1
12 2007-02-28 2008-02-29 1.002739726
13 2008-02-29 2009-02-28 1
14 2008-02-29 2008-03-30 0.082191781
15 2008-02-29 2008-03-31 0.084931507
Steps Outcome
SUCCESS 018ms
SUCCESS 018ms
SUCCESS 023ms
SUCCESS 018ms
SUCCESS 019ms
SUCCESS 016ms
SUCCESS 015ms
SUCCESS 015ms
SUCCESS 013ms
SUCCESS 014ms
SUCCESS 015ms
SUCCESS 015ms
SUCCESS 019ms
SUCCESS 025ms
SUCCESS 022ms
SUCCESS 0.33s
Serenity BDD version 3.6.22