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

Thirty360 (US) Day Count Convention

  Thirty360 US   Windows   Day Count Convention

The end dates do not involve last day of February

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-08-20 2007-02-20 0.500000
2 2007-02-20 2007-08-20 0.500000
3 2007-08-20 2008-02-20 0.500000
4 2008-02-20 2008-08-20 0.500000
5 2008-08-20 2009-02-20 0.500000
6 2009-02-20 2009-08-20 0.500000
Steps Outcome
SUCCESS 017ms
SUCCESS 016ms
SUCCESS 021ms
SUCCESS 018ms
SUCCESS 021ms
SUCCESS 018ms
SUCCESS 0.14s
Serenity BDD version 3.6.22