Skip to content

A rule repeats from an anchor - #6

Merged
noha merged 2 commits into
mainfrom
a-rule-repeats-from-an-anchor
Nov 10, 2026
Merged

noha merged 2 commits into
mainfrom
a-rule-repeats-from-an-anchor

Conversation

@noha

@noha noha commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

noha and others added 2 commits November 10, 2026 15:30
An anchor (REZonedDateAndTime) gives the first day, the time of day and
the zone; the rule (an RETemporalExpression over calendar days) says which
days. #nextOccurrenceAfter: goes from moment to moment: the rule is asked
about local times with offset zero, and the day it picks becomes a moment
at the anchor's time of day through the zone. Monday 9:00 in Berlin stays
9:00 across the change to summer time, and the time of day no longer comes
from the moment asked after. Without a rule the anchor is the only
occurrence. JSON is {"start": RFC 9557, "rule": ...}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#/$defs/recurrence, beside the temporal expressions and not reachable from
the root. Its start only has to end in a zone in brackets: the validator
in Pharo understands neither {n} nor \] in a class, and fromJsonString:
reads the rest strictly. Checked with JSONSchema-Core against two valid
and three invalid payloads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit e3607c9 into main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant