Commit c0e3dcc
[Edge] JSCalendar: implement
- Sources: https://www.rfc-editor.org/rfc/rfc8984.html; https://datatracker.ietf.org/doc/html/rfc8984#prop-recurrenceRules
- added "nthOfPeriod" to JSCalendar implementation
- nthOfPeriod represents an specific occurrence, for example every third Sunday a month
- fixed some typos
- code changes to avoid redundancy
- implemented logic to execute nthOfPeriod and interval
```
[{
"@type": "Task",
"uid": "245a8c5b-1898-4488-9cfb-105d78630cd6",
"start": "2026-01-13T13:35:00",
"recurrenceRules": [
{
"frequency": "monthly",
"byDay": [
{ "day": "mo", "nthOfPeriod": 3 },
{ "day": "tu", "nthOfPeriod": 1 }
]
}
]
}]
```
Co-authored-by: Stefan Feilmeier <[email protected]>
Reviewed-by: Leonhard Anderle <[email protected]>
Reviewed-by: Stefan Feilmeier <[email protected]>
Co-authored-by: Fabian Brandtner <[email protected]>
Co-committed-by: Fabian Brandtner <[email protected]>nthOfPeriod for monthly byDay1 parent eb88572 commit c0e3dcc
File tree
2 files changed
+519
-186
lines changed- io.openems.common
- src/io/openems/common/jscalendar
- test/io/openems/common/jscalendar
2 files changed
+519
-186
lines changed
0 commit comments