-
Notifications
You must be signed in to change notification settings - Fork 247
Make CalendarEvent.EffectiveDuration and some conversion functions public.
#733
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
Conversation
Codecov ReportAttention: Patch coverage is
❌ Your project status has failed because the head coverage (66%) is below the target coverage (80%). You can increase the head coverage or adjust the target coverage. @@ Coverage Diff @@
## main #733 +/- ##
===================================
Coverage 66% 66%
===================================
Files 103 103
Lines 4644 4645 +1
Branches 1152 1152
===================================
+ Hits 3064 3065 +1
Misses 1144 1144
Partials 436 436
|
664e1aa to
e13dcbe
Compare
|
| /// To convert a duration to a <see cref="TimeSpan"/> while considering the days and weeks as | ||
| /// nominal durations, use <see cref="ToTimeSpan"/>. | ||
| /// </remarks> | ||
| public TimeSpan ToTimeSpanUnspecified() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, this was a missing part, agree.
axunonb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all makes sense, very good



Make some relevant functions public, including
CalendarEvent.EffectiveDurationDuration.ToTimeSpanUnspecified()Duration.ToTimeSpan()Duration.FromTimeSpanExact()Relates to the conversation in #606 (comment).