From 0dfd43d36f0ce99ecceca0f01c0983964ffdd32a Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 7 May 2017 17:06:16 +0200 Subject: [PATCH] update monthly repetition constants --- .../com/simplemobiletools/calendar/helpers/Constants.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt index 9bd29a8d8..571004a4c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt @@ -46,6 +46,7 @@ val SYNC_ACCOUNT_NAME = "sync_account_name" val letterIDs = intArrayOf(R.string.sunday_letter, R.string.monday_letter, R.string.tuesday_letter, R.string.wednesday_letter, R.string.thursday_letter, R.string.friday_letter, R.string.saturday_letter) +// repeat_rule for weekly repetition val MONDAY = 1 val TUESDAY = 2 val WEDNESDAY = 4 @@ -57,8 +58,8 @@ val EVERY_DAY = 127 // repeat_rule for monthly repetition val REPEAT_MONTH_SAME_DAY = 1 -val REPEAT_MONTH_LAST_DAY = 2 -val REPEAT_MONTH_EVERY_X = 3 +val REPEAT_MONTH_EVERY_XTH_DAY = 3 +val REPEAT_MONTH_LAST_DAY = 3 // special event flags val FLAG_ALL_DAY = 1