Package-level declarations
Types
A date consisting of an optional year, a day, month and an optional weekdayOffset,
Within a range of dates (start-end)
Several days within one month
A hour:minutes time as seen on a 48-hour clock, lol
At a holiday with dayOffset, e.g. 1 day before a public holiday
Time interval specified in minutes
Only the last nth of something, e.g. the 2nd last Sunday of a month
Within range of months (start-end)
Offset to next weekday
The nth of something. E.g. the 4th Sunday in a month
Range of nths, e.g. only the first and second Sunday of a month
Model for opening hours according to the specification at https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification
Offset to next weekday
At a certain time of year(s), months, weeks, weekdays, times.
Specifies the times via selector at which it is open/closed/unknown (see ruleType) with optional comment. ruleOperator determines whether this rule should add to, overwrite the previous rule etc.
A single month, optionally in a specific year
A date consisting of optional year, month and a specific weekday
At a specific weekday (s) within a month: Only the nths weekday. E.g. only the second Sunday. Optionally, moreover specify an offset to that. E.g. only the day after the second Sunday.
Since a start date with an optional offset
From start time with open end
Since the start year
At intervals of the given step in-between the time range from start to end.
From start to end time, optionally with open end
Always
An annualEvent, optionally in a specific year and optional offsets
The time of a daily event (e.g. sunrise) plus/minus an offset (e.g. 1 hour after sunrise)
A single week
A single weekday. The ordinal 0 is Monday.
Within a range of weekdays (start-end), may loop over the end of the week
A single year