-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2641f0
commit a76d778
Showing
4 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Add this dependency your pubspec.yaml file: | |
|
||
``` | ||
dependencies: | ||
enough_icalendar: ^0.3.0 | ||
enough_icalendar: ^0.5.0 | ||
``` | ||
The latest version or `enough_icalendar` is [![enough_icalendar version](https://img.shields.io/pub/v/enough_icalendar.svg)](https://pub.dartlang.org/packages/enough_icalendar). | ||
|
||
|
@@ -38,6 +38,7 @@ DTSTAMP:19970714T170000Z | |
ORGANIZER;CN=John Doe:MAILTO:[email protected] | ||
DTSTART:19970714T170000Z | ||
DTEND:19970715T035959Z | ||
RRULE:FREQ=YEARLY | ||
SUMMARY:Bastille Day Party | ||
GEO:48.85299;2.36885 | ||
END:VEVENT | ||
|
@@ -48,6 +49,9 @@ END:VCALENDAR'''; | |
print(event.summary); // Bastille Day Party | ||
print(event.start); // 1997-06-14 at 17:00 | ||
print(event.end); // 1997-07-15 at 03:59:59 | ||
print(event.recurrenceRule?.toHumanReadableText()); // Annually | ||
print(event.recurrenceRule | ||
?.toHumanReadableText(languageCode: 'de')); // Jährlich | ||
print(event.organizer?.commonName); // John Doe | ||
print(event.organizer?.email); // [email protected] | ||
print(event.geoLocation?.latitude); // 48.85299 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ DTSTAMP:19970714T170000Z | |
ORGANIZER;CN=John Doe:MAILTO:[email protected] | ||
DTSTART:19970714T170000Z | ||
DTEND:19970715T035959Z | ||
RRULE:FREQ=YEARLY | ||
SUMMARY:Bastille Day Party | ||
GEO:48.85299;2.36885 | ||
END:VEVENT | ||
|
@@ -36,6 +37,9 @@ END:VCALENDAR'''; | |
print(event.summary); // Bastille Day Party | ||
print(event.start); // 1997-06-14 at 17:00 | ||
print(event.end); // 1997-07-15 at 03:59:59 | ||
print(event.recurrenceRule?.toHumanReadableText()); // Annually | ||
print(event.recurrenceRule | ||
?.toHumanReadableText(languageCode: 'de')); // Jährlich | ||
print(event.organizer?.commonName); // John Doe | ||
print(event.organizer?.email); // [email protected] | ||
print(event.geoLocation?.latitude); // 48.85299 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters