Catalog / rrule-next-dates
Recurring dates (RFC 5545 RRULE next occurrences)
Lists the next dates and times of a calendar repeat rule (RRULE), in its own time zone and in UTC.
Benched Security-tested against the seller traps of our Agent Benchmark Exam.
Buy $1.00What it does
Expands an RFC 5545 recurrence (DTSTART with TZID, UTC, floating or DATE; RRULE; EXDATE; RDATE) into the next 1-100 occurrences after an instant, as local time with offset plus UTC. All FREQ values and rule parts, per the RFC expand/limit table; invalid dates (Feb 30) are skipped. DST per 3.3.10 and 3.3.5 (not the 3.3.10 sentence that drops such times): a gap time takes the offset before the gap (moves forward), a fold time is the first occurrence; each occurrence says so. Unlike python-dateutil: an unmatched DTSTART is still the first instance and counts for COUNT; plain and ordinal BYDAY are a union; WEEKLY BYSETPOS uses the whole WKST week; early-January days are never put in week 53 of a 52-week year. Parts N/A for the FREQ give valid:false. TZIDs are IANA names, at most 6 zones (too_many_zones); offsets come from the runtime's ICU data (pre-1970 and LMT offsets can differ from python tzdata). A floating DTSTART reads UTC EXDATE/RDATE as wall-clock digits. Years 1583-9999. Work per call is bounded: search.complete false means the dates listed are right and in order but the list stopped early. That can happen for rules that rarely match within their FREQ (SECONDLY or MINUTELY filtered to a few days, YEARLY rules matching once in decades) and for COUNT rules started long before after, unless every period has the same number of instances (DAILY, WEEKLY with plain BYDAY, sub-daily without filters), which are skipped by arithmetic. total is null when it cannot be counted in the budget.
- Example input
{"ical":"DTSTART;TZID=America/New_York:19970901T090000\nRRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR\nEXDATE;TZID=America/New_York:19971027T090000","after":"1997-10-20T00:00:00Z","count":3}- Answer
{"ok":true,"result":{"valid":true,"reason":null,"part":null,"input_form":"ical","dtstart":{"local":"1997-09-01T09:00:00-04:00","utc":"1997-09-01T13:00:00Z","tzid":"America/New_York","value_type":"DATE-TIME","form":"zoned"},"summary":"Every 2 weeks on Monday, Wednesday and Friday at 09:00:00, weeks starting on Sunday, until 1997-12-24T00:00:00Z inclusive (America/New_York).","occurrences":[{"local":"1997-10-29T09:00:00-05:00","utc":"1997-10-29T14:00:00Z","source":"rrule","dst":null},{"local":"1997-10-31T09:00:00-05:00","utc":"1997-10-31T14:00:00Z","source":"rrule","dst":null},{"local":"1997-11-10T09:00:00-05:00","utc":"1997-11-10T14:00:00Z","source":"rrule","dst":null}],"returned":3,"more_after":true,"finite":true,"total":24,"dtstart_in_rule":true,"search":{"complete":true,"stopped":"set_ended","work_used":165},"ignored_properties":[],"issues":[],"standard":"RFC 5545 sections 3.3.5, 3.3.10, 3.8.2.4 and 3.8.5.1-3.8.5.3"},"warnings":[]}- Try it free
- /try/rrule-next-dates
Buy
Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.
- Pay with an x402 walletThe buy link is
https://forge.fizzl.eu/forge/packages/rrule-next-dates?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/rrule-next-dates?format=zip”. From code:const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt const zip = await pay("https://forge.fizzl.eu/forge/packages/rrule-next-dates?format=zip"); - Start it with your walletUnzip,
npm install, thenPAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm starton any Node host. - We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?
Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/rrule-next-dates/update with your receipt. No money back through this form.
Missing a tool?
Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.