Report generated 11-04-2023 10:42

Thirty360 (european) Day Count Convention

  Thirty360 European   Windows   Day Count Convention

Miscellaneous calculation

Scenario Outline

Given the dates <start date> and <end date>
When the Thirty360(European) 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.077777778
3 2006-02-28 2006-03-03 0.013888889
4 2006-02-14 2006-02-28 0.038888889
5 2006-09-30 2006-10-31 0.083333333
6 2006-10-31 2006-11-28 0.077777778
7 2007-08-31 2008-02-28 0.494444444
8 2008-02-28 2008-08-28 0.50000000
9 2008-02-28 2008-08-30 0.505555556
10 2008-02-28 2008-08-31 0.505555556
11 2007-02-28 2008-02-28 1.00000000
12 2007-02-28 2008-02-29 1.002777778
13 2008-02-29 2009-02-28 0.997222222
14 2008-02-29 2008-03-30 0.086111111
15 2008-02-29 2008-03-31 0.086111111
Steps Outcome
SUCCESS 024ms
SUCCESS 022ms
SUCCESS 019ms
SUCCESS 026ms
SUCCESS 017ms
SUCCESS 018ms
SUCCESS 016ms
SUCCESS 017ms
SUCCESS 015ms
SUCCESS 018ms
SUCCESS 015ms
SUCCESS 016ms
SUCCESS 017ms
SUCCESS 015ms
SUCCESS 015ms
SUCCESS 0.34s
Serenity BDD version 3.6.22