Financial Risk Management
Home
>
Date And Time
>
Year fractions computation
>
Thirty360 (European) day count convention
> The end dates do not involve last day of February
Overall Test Results
Requirements
Themes
Capabilities
Features
Report generated 11-04-2023 10:42
Thirty360 (european) Day Count Convention
Thirty360 European
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(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-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
1: The end dates do not involve last day of February ({start date=2006-08-20, end date=2007-02-20, day count fraction=0.500000})
SUCCESS
017ms
Given the dates 2006-08-20 and 2007-02-20
SUCCESS
004ms
When the Thirty360(European) day count convention is used
SUCCESS
Then the year fraction should be 0.500000
SUCCESS
009ms
2: The end dates do not involve last day of February ({start date=2007-02-20, end date=2007-08-20, day count fraction=0.500000})
SUCCESS
018ms
Given the dates 2007-02-20 and 2007-08-20
SUCCESS
003ms
When the Thirty360(European) day count convention is used
SUCCESS
001ms
Then the year fraction should be 0.500000
SUCCESS
009ms
3: The end dates do not involve last day of February ({start date=2007-08-20, end date=2008-02-20, day count fraction=0.500000})
SUCCESS
017ms
Given the dates 2007-08-20 and 2008-02-20
SUCCESS
006ms
When the Thirty360(European) day count convention is used
SUCCESS
001ms
Then the year fraction should be 0.500000
SUCCESS
008ms
4: The end dates do not involve last day of February ({start date=2008-02-20, end date=2008-08-20, day count fraction=0.500000})
SUCCESS
018ms
Given the dates 2008-02-20 and 2008-08-20
SUCCESS
003ms
When the Thirty360(European) day count convention is used
SUCCESS
Then the year fraction should be 0.500000
SUCCESS
009ms
5: The end dates do not involve last day of February ({start date=2008-08-20, end date=2009-02-20, day count fraction=0.500000})
SUCCESS
017ms
Given the dates 2008-08-20 and 2009-02-20
SUCCESS
004ms
When the Thirty360(European) day count convention is used
SUCCESS
Then the year fraction should be 0.500000
SUCCESS
010ms
6: The end dates do not involve last day of February ({start date=2009-02-20, end date=2009-08-20, day count fraction=0.500000})
SUCCESS
018ms
Given the dates 2009-02-20 and 2009-08-20
SUCCESS
003ms
When the Thirty360(European) day count convention is used
SUCCESS
001ms
Then the year fraction should be 0.500000
SUCCESS
008ms
SUCCESS
0.13s
Serenity BDD version 3.6.22