Skip to content

mitchellvitez/rrule

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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"

About

Recurrence rule parser and formatter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published