-
Notifications
You must be signed in to change notification settings - Fork 248
Add evaluation classes for CalDateTime
#809
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
❌ Your project check has failed because the head coverage (68%) is below the target coverage (80%). You can increase the head coverage or adjust the target coverage. @@ Coverage Diff @@
## main #809 +/- ##
===================================
+ Coverage 67% 68% +1%
===================================
Files 106 109 +3
Lines 4206 4284 +78
Branches 947 975 +28
===================================
+ Hits 2822 2917 +95
+ Misses 1044 1040 -4
+ Partials 340 327 -13
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
8cabdc5 to
b9a526a
Compare
|
|
b9a526a to
bb192a9
Compare
If we have a new type particularly for doing arithmetics, etc., then I feel it would be confusing to have all the methods also available on Not sure I'd introduce a new type (i.e. |
f441c5f to
f839fc3
Compare
* Added `CalDateTimeEvaluator` * Added lightweight `CalDateTimeZoned` which is returned from `CalDateTimeEvaluator` methods * Updated existing `CalDateTime` comparion and arithmethic related methods to use `CalDateTimeEvaluator` * Added `Microsoft.Bcl.HashCode` for simplified HashCode generation with `netstandard2.x`
f839fc3 to
919e8f4
Compare
|
b4bd390 to
3dbdc95
Compare
3dbdc95 to
2375512
Compare
…rison methods to CalDateTimeExtensions Obsolete CalDateTime.AsUtc
47ebb03 to
64d8545
Compare
Update `EventEvaluator` to use `CalDateTimeZoned` with `Period` No change zu the public API Add unit test AmbiguousLocalTime_WithShortDurationOfRecurrence which resolves #737 Make CalDateTimeEvaluator.ToString use existing ZoneDateTime
64d8545 to
1be4a17
Compare
Update `EventEvaluator` to use `CalDateTimeZoned` with `Period` No change zu the public API Add unit test AmbiguousLocalTime_WithShortDurationOfRecurrence which resolves #737 Make CalDateTimeEvaluator.ToString use existing ZoneDateTime
|



CalDateTimeEvaluatorCalDateTimeZonedwhich is returned fromCalDateTimeEvaluatormethodsCalDateTimechanges with low impact on existing code:Utcproperty as obsolete with errorCalDateTimeExtensions. The extension methods use the internalCalDateTimeZonedbehind the scene.Periodto be usable withCalDateTimeZonedinternallyEventEvaluatorto useCalDateTimeZonedwithPeriod(no change to the public APIMicrosoft.Bcl.HashCodefor simplified HashCode generation withnetstandard2.xResolves #677
Resolves #737