Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilJay authored Aug 5, 2019
1 parent c7e5cc3 commit c6ea858
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# RRule
Kotlin implementation for handling iCalendar (RFC 5545) recurrence rules

## Dependency



## Sample Usage

Transform iCalendar RFC 5545 String to RRule object:

```kotlin
val rrule = RRule("RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU")
```

Transform RRule object to iCalendar RFC 5545 String:

```kotlin
val rfc5545String = rrule.toRFC2445String()
```

0 comments on commit c6ea858

Please sign in to comment.