From 9541bdad2eaac1d8a46fb75a94adf6d2dca9fdeb Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 9 Jan 2018 17:54:29 +0100 Subject: [PATCH] fix #304, add Australian holidays --- app/src/main/assets/australia.ics | 89 +++++++++++++++++++ .../calendar/activities/MainActivity.kt | 1 + 2 files changed, 90 insertions(+) create mode 100755 app/src/main/assets/australia.ics diff --git a/app/src/main/assets/australia.ics b/app/src/main/assets/australia.ics new file mode 100755 index 000000000..e728a0e1e --- /dev/null +++ b/app/src/main/assets/australia.ics @@ -0,0 +1,89 @@ +BEGIN:VCALENDAR +BEGIN:VEVENT +SUMMARY:New Year's Day +UID:aus-123 +DTSTART;VALUE=DATE:20180101 +DTEND;VALUE=DATE:20180102 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Australia Day +UID:aus-127 +DTSTART;VALUE=DATE:20180126 +DTEND;VALUE=DATE:20180127 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Good Friday +UID:aus-129 +DTSTART;VALUE=DATE:20180330 +DTEND;VALUE=DATE:20180331 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Easter Saturday +UID:aus-131 +DTSTART;VALUE=DATE:20180331 +DTEND;VALUE=DATE:20180401 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Easter Sunday +UID:aus-133 +DTSTART;VALUE=DATE:20180401 +DTEND;VALUE=DATE:20180402 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Easter Monday +UID:aus-135 +DTSTART;VALUE=DATE:20180402 +DTEND;VALUE=DATE:20180403 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Anzac Day +UID:aus-137 +DTSTART;VALUE=DATE:20180425 +DTEND;VALUE=DATE:20180426 +STATUS:CONFIRMED +RRULE:FREQ=YEARLY;INTERVAL=1 +END:VEVENT +BEGIN:VEVENT +SUMMARY:Queen's Birthday +UID:aus-139 +DTSTART;VALUE=DATE:20180611 +DTEND;VALUE=DATE:20180612 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Bank Holiday +UID:aus-141 +DTSTART;VALUE=DATE:20180806 +DTEND;VALUE=DATE:20180806 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Labour Day +UID:aus-143 +DTSTART;VALUE=DATE:20181001 +DTEND;VALUE=DATE:20181001 +STATUS:CONFIRMED +END:VEVENT +BEGIN:VEVENT +SUMMARY:Christmas Day +UID:aus-145 +DTSTART;VALUE=DATE:20181225 +DTEND;VALUE=DATE:20181226 +STATUS:CONFIRMED +RRULE:FREQ=YEARLY;INTERVAL=1 +END:VEVENT +BEGIN:VEVENT +SUMMARY:Boxing Day +UID:aus-147 +DTSTART;VALUE=DATE:20181226 +DTEND;VALUE=DATE:20181227 +STATUS:CONFIRMED +RRULE:FREQ=YEARLY;INTERVAL=1 +END:VEVENT +END:VCALENDAR diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index a79bfc65d..045adae42 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -758,6 +758,7 @@ class MainActivity : SimpleActivity(), NavigationListener { LinkedHashMap().apply { put("Algeria", "algeria.ics") put("Argentina", "argentina.ics") + put("Australia", "australia.ics") put("Belgiƫ", "belgium.ics") put("Bolivia", "bolivia.ics") put("Brasil", "brazil.ics")