You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enhance CalDateTime and DateTimeSerializer
* Introduced new methods and test cases in `CalDateTimeTests.cs` to ensure correct behavior of `CalDateTime` properties and methods.
* Updated various tests in `DeserializationTests.cs` and `RecurrenceTests.cs` to handle `CalDateTime` without time components and improve clarity.
* Refined `IsAllDay` property in `CalendarEvent.cs` and updated methods in `UniqueComponent.cs` and `VTimeZone.cs` to use `CalDateTime` with time components.
* Removed outdated comments and improved code formatting.
* Enabled nullable reference types and updated `IDateTime` interface.
* Added new methods and properties to `CalDateTime.cs` for better date and time management.
* Refactored methods in `Period`, `RecurrencePatternEvaluator`, and `RecurringEvaluator` classes to handle `HasTime` property correctly.
* Improved `DateTimeSerializer` class for better performance and handling of nullable types.
* Added XML documentation and marked obsolete methods.
Resolves#630Resolves#633Resolves#635Resolves#636Resolves#637
* Fix occasual failing unit test
Depending on the time offset from local time to UTC the tests failed.
Changed all date kinds to UTC.
* Make AlmostZeroEpsilon private const
* Replace DateTimeKind.Local with DateTimeKind.Unspecified
Affected classes:
* `CalDateTime`
* `DateUtil`
* `DateTimeSerializer`
* SOC: Move getting "TZID" from `IParameterCollection` to `DateTimeSerializer`
`CalDateTime.TzId` does no more read or write `CalDateTime.Parameters`
* Use backing fields `DateOnly` and `TimeOnly` to create the `CalDateTime.Value`
* Depending on `HasTime`, `Value` contains only the `DateTime.Date`, or the value including `DateTime.TimeOfDay`.
* The timezone dermines whether `DateTimeKind.Utc`or `DateTimeKind.Unspecified`will be used.
* Remove the redundant `Calendar` argument to CTORs
* Implement review comments
* `if (Math.Abs(right.TotalDays % 1) > AlmostZeroEpsilon)` is now `if ((right.Ticks % TimeSpan.TicksPerDay) != 0)`
* `DateUtil.DateTime GetSimpleDateTimeData(IDateTime dt)` returns `dt.Value`
* Move internal `DateUtil.SimpleDateTimeToMatch` as private to `RecurrenceTests`
* Move internal `DateUtil.MatchTimeZone` as private to `RecurrencePatternEvaluator`
* Create tasks in #646 and #647 for new PRs
* Remove xmldoc for non-existing parameter "kind"
Also refactor for SonarCloud complaints
0 commit comments