Home > Date And Time > Year fractions computation > Thirty360 (US) day count convention > The end dates include some end-February dates
Report generated 11-04-2023 10:42

Thirty360 (US) Day Count Convention

  Thirty360 US   Windows   Day Count Convention

The end dates include some end-February dates

Scenario Outline

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

Examples: 

# Start Date End Date Day Count Fraction
1 2006-02-28 2006-08-31 0.50277778
2 2006-08-31 2007-02-28 0.49444444
3 2007-02-28 2007-08-31 0.50277778
4 2007-08-31 2008-02-29 0.49722222
5 2008-02-29 2008-08-31 0.50277778
6 2008-08-31 2009-02-28 0.49444444
7 2009-02-28 2009-08-31 0.50277778
8 2009-08-31 2010-02-28 0.49444444
9 2010-02-28 2010-08-31 0.50277778
10 2010-08-31 2011-02-28 0.49444444
11 2011-02-28 2011-08-31 0.50277778
12 2011-08-31 2012-02-29 0.49722222
Steps Outcome
SUCCESS 021ms
SUCCESS 022ms
SUCCESS 021ms
SUCCESS 035ms
SUCCESS 029ms
SUCCESS 026ms
SUCCESS 019ms
SUCCESS 022ms
SUCCESS 022ms
SUCCESS 047ms
SUCCESS 032ms
SUCCESS 025ms
SUCCESS 0.39s
Serenity BDD version 3.6.22