Changelog
phil/recurrencePas encore traduite
Cette page n’est pas encore traduite en français ; elle est montrée en anglais.
All notable changes to phil/recurrence will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
NEXT - YYYY-MM-DD
Added
Frequency,Weekday,WeekdayNum,RecurrenceRule;RecurrenceExceptionandInvalidRule.RecurrenceRule::of()refuses whatparse()cannot read back — an interval or a count aboveMAX_NUMBER, 9999, an end outside the years 1 to 9999 —, so that every rule written as text is read again.Recurrence, which lays out a period with its days as numbers, builds a date only for a day it keeps, and reads its exceptions once.between()andnext()reach the period of their window by arithmetic when the rule has noCOUNT, andbetween()stops at the period of its last moment.MAX_PERIODScounts only periods in a row that match no day, so an endless rule runs as long as it matches. The occurrences stop at the end of the year 9999, a rule ending on its last day (UNTIL=99991231) included.between()andnext()walk no more thanMAX_WALKEDperiods a call, so that a rule matching one day in years costs a bounded time. The datesRDATEadds, given toof(), are merged into the occurrences in order, once each, counted in neitherCOUNTnorUNTIL, and taken away by an exception like any occurrence; the exceptions are looked up by instant in a set.RecurrenceDates: anRDATEorEXDATEline read — whole days, UTC times, times withTZID, floating times read in a zone given, folded or not — and written back; periods are refused, and a line holds at mostMAX_DATESdates inMAX_LENGTHbytes. Its fuzz target,recurrence-dates, checks that a line written back is read again the same.SchemaOrg: the schema.org form of the library's value, to embed in JSON-LD; it writes theendDateof an end time as the day it falls on in the first occurrence's time zone.- The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.