Report generated 11-04-2023 10:42

Thirty360 (bond Basis) Day Count Convention

  Windows   Thirty360 Bond Basis   Day Count Convention

Miscellaneous calculation

Scenario Outline

Given the dates <start date> and <end date>
When the Thirty360(BondBasis) 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.500000000
9 2008-02-28 2008-08-30 0.505555556
10 2008-02-28 2008-08-31 0.508333333
11 2007-02-28 2008-02-28 1.000000000
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.088888889
Steps Outcome
SUCCESS 019ms
SUCCESS 022ms
SUCCESS 028ms
SUCCESS 034ms
SUCCESS 036ms
SUCCESS 022ms
SUCCESS 021ms
SUCCESS 021ms
SUCCESS 020ms
SUCCESS 018ms
SUCCESS 019ms
SUCCESS 020ms
SUCCESS 018ms
SUCCESS 017ms
SUCCESS 026ms
SUCCESS 0.42s
Serenity BDD version 3.6.22