WEBVTT

1
00:00:00.000 --> 00:00:03,423
A two-date day-count call should return a number.

2
00:00:03.423 --> 00:00:09,840
In FinancePy Act three sixty-five L, reaching February twenty-ninth can instead throw an Attribute Error.

3
00:00:10.190 --> 00:00:14,675
From December first to March first, there are ninety-one actual days.

4
00:00:14.675 --> 00:00:19,975
Because the annual interval contains leap day, the denominator is three hundred sixty-six.

5
00:00:19.975 --> 00:00:24,051
The fraction is about zero point two four eight six.

6
00:00:24.401 --> 00:00:27,264
The API says the third date is optional.

7
00:00:27.264 --> 00:00:31,201
But the annual branch compares leap day with that missing object.

8
00:00:31.201 --> 00:00:35,137
FinancePy one point zero point one and current source both fail.

9
00:00:35.487 --> 00:00:40,196
The correction uses the calculation end when no coupon end is supplied.

10
00:00:40.196 --> 00:00:43,727
An explicit coupon end still controls the accrued fraction.

11
00:00:44.077 --> 00:00:49,743
Eleven focused tests, nine hundred fifty-nine full tests, and both workflows pass.

12
00:00:49.743 --> 00:00:53,520
Pull request two fifty-nine is open, not merged.

13
00:00:53.520 --> 00:00:57,769
Synthetic dates only; no institution or loss is claimed.

14
00:00:57.769 --> 00:00:59,185
Check the evidence.

15
00:00:59.185 --> 00:01:00,129
Then decide.
