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

Add Period comparison functions #679

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add Period comparison functions #679

wants to merge 3 commits into from

Conversation

kewisch
Copy link
Owner

@kewisch kewisch commented May 1, 2024

Fixes #640

I'm fixing above mentioned issue by adding a few comparison functions that make sure you can compare dates and periods in any direction.

What would be nice is a way to generate occurrences, not occurence dates, so when a Period is used it would actually set the start/end date. For now this needs to be handled in client code.

@coveralls
Copy link

coveralls commented May 1, 2024

Pull Request Test Coverage Report for Build 9015099850

Details

  • 31 of 31 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 98.167%

Totals Coverage Status
Change from base Build 9015088140: 0.005%
Covered Lines: 9383
Relevant Lines: 9544

💛 - Coveralls

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.

ICAL.Event::iterator throwing error if rdate property value is period
2 participants