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

131 rework api #132

Merged
merged 1 commit into from
Feb 17, 2024
Merged

131 rework api #132

merged 1 commit into from
Feb 17, 2024

Conversation

dmfs
Copy link
Owner

@dmfs dmfs commented Feb 16, 2024

No description provided.

import org.saynotobugs.confidence.quality.object.Satisfies;

@StaticFactories(value = "Recur", packageName = "org.dmfs.rfc5545.confidence")
public final class EmptyRecurrenceSet extends QualityComposition<RecurrenceSet>
Copy link
Owner Author

@dmfs dmfs Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • These new Qualities still need unit tests

Copy link

codecov bot commented Feb 16, 2024

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (001095f) 75.09% compared to head (0a908af) 77.59%.

Files Patch % Lines
...5/instanceiterator/EffectiveInstancesIterator.java 85.71% 2 Missing and 3 partials ⚠️
...java/org/dmfs/rfc5545/instanceiterator/Merged.java 93.33% 2 Missing and 2 partials ⚠️
...org/dmfs/rfc5545/recur/RecurrenceRuleIterator.java 66.66% 3 Missing ⚠️
...dmfs/rfc5545/instanceiterator/FastForwardable.java 88.88% 1 Missing and 1 partial ⚠️
...ceiterator/CountLimitedRecurrenceRuleIterator.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #132      +/-   ##
============================================
+ Coverage     75.09%   77.59%   +2.50%     
- Complexity      525      556      +31     
============================================
  Files            66       72       +6     
  Lines          2088     2089       +1     
  Branches        383      372      -11     
============================================
+ Hits           1568     1621      +53     
+ Misses          374      323      -51     
+ Partials        146      145       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dmfs dmfs force-pushed the 131-rework-api branch 5 times, most recently from b266ff3 to e45fc4b Compare February 17, 2024 10:22
}


public long getLastInstance(TimeZone timezone, long start)
Copy link
Owner Author

@dmfs dmfs Feb 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • this functionality is still missing

@dmfs dmfs force-pushed the 131-rework-api branch 10 times, most recently from d5088ae to fd43e7f Compare February 17, 2024 19:58
This implements a major refactoring of the RecurrenceSet API.
The previous implementations have been removed / deprecated.
@dmfs dmfs merged commit 7c36b49 into main Feb 17, 2024
3 checks passed
@dmfs dmfs deleted the 131-rework-api branch February 17, 2024 20:09
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.

1 participant