Popularity
1.1
Declining
Activity
5.4
Declining
0
1
0

Monthly Downloads: 29
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Time    
Latest version: v0.1

rrule alternatives and similar packages

Based on the "Time" category

Do you think we are missing an alternative of rrule or a related project?

Add another 'Time' Package

README

rrule

Recurrence rule parser and formatter

fromText parses from a recurrence rule Text to the RRule type

> let rule = fromJust $ fromText "RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1"
> rule
RRule {prefix = True, frequency = Just Monthly, byMonthDay = Just (1 :| []), ... }

toText formats an RRule to a recurrence rule Text

> toText rule
"RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1"

description gives a description of what an RRule means, in English

> description rule
"every month on the 1st day of the month"