There can be events which have no duration. Those are represented by having
a start datetime, but no valid end dateTime.
The new method hasEndDateTime() simplifies querying this from QML.
Follows the API of KCalCore::Event.
Plasma |
There can be events which have no duration. Those are represented by having
a start datetime, but no valid end dateTime.
The new method hasEndDateTime() simplifies querying this from QML.
Follows the API of KCalCore::Event.
No Linters Available |
No Unit Test Coverage |
Seems code out there is already relying on !isNaN(datetime) so let's do the same for now. Besides, there can be events with also only end-date, so the same check would be needed for the start date, thus this API would be incomplete.