Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TimeFrame bugs, add alt constructors and tests. #165

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Conversation

JavadocMD
Copy link
Contributor

No description provided.

@JavadocMD JavadocMD linked an issue Sep 14, 2024 that may be closed by this pull request
@JavadocMD JavadocMD merged commit 853c987 into main Sep 14, 2024
1 check passed
@JavadocMD JavadocMD deleted the bad-timeframes branch September 14, 2024 00:05
ewilli1 pushed a commit that referenced this pull request Nov 15, 2024
TimeFrame raises ValueError if duration is zero or negative.
TimeFrame was inconsistent in handling inclusive end dates.
Added TimeFrame.rangex() to use an exclusive end date.
TimeFrame.of() now accepts string or date arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimeFrame should raise an error if duration isn't positive
1 participant