nollidnosnhoj / rrule-parser.net

Dotnet port of rrule-parser by aditosoftware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rrule-parser.net

Build

Dotnet port of rrule-parser by aditosoftware.

RRule parser is a small dotnet library which lets you convert a iCalendar RRule into human readable text.

Example

var ruleParser = RRuleParser.CreateDefault()

string parseResult = ruleParser.ParseRRule("FREQ=MONTHLY;BYSETPOS=4;BYDAY=SU;INTERVAL=5");
// Every 5 months on fourth Sunday

Customization

Translation

Want to use another language? No problem, just implement the ILanguagePackage interface and pass it to the parser during initialization. (An example can be found here)

Current available translations are

The default translation is in English.

var ruleParser = RRuleParser.CreateGerman()
...

About

Dotnet port of rrule-parser by aditosoftware

License:MIT License


Languages

Language:C# 100.0%