Skip to content

Commit

Permalink
Fixed timezone ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Aga-C committed Dec 25, 2024
1 parent 138ba29 commit 262a971
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions app/src/main/kotlin/org/fossify/clock/helpers/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,66 +161,66 @@ fun getAllTimeZones() = arrayListOf(
MyTimeZone(28, "GMT-01:00 Cape Verde", "Atlantic/Cape_Verde"),
MyTimeZone(29, "GMT+00:00 Casablanca", "Africa/Casablanca"),
MyTimeZone(30, "GMT+00:00 Greenwich Mean Time", "Etc/Greenwich"),
MyTimeZone(31, "GMT+00:00 London", "Europe/London"),
MyTimeZone(32, "GMT+01:00 Amsterdam", "Europe/Amsterdam"),
MyTimeZone(33, "GMT+01:00 Belgrade", "Europe/Belgrade"),
MyTimeZone(34, "GMT+01:00 Brussels", "Europe/Brussels"),
MyTimeZone(35, "GMT+01:00 Madrid", "Europe/Madrid"),
MyTimeZone(36, "GMT+01:00 Sarajevo", "Europe/Sarajevo"),
MyTimeZone(37, "GMT+01:00 Brazzaville", "Africa/Brazzaville"),
MyTimeZone(38, "GMT+02:00 Windhoek", "Africa/Windhoek"),
MyTimeZone(39, "GMT+02:00 Amman", "Asia/Amman"),
MyTimeZone(40, "GMT+02:00 Athens", "Europe/Athens"),
MyTimeZone(41, "GMT+02:00 Istanbul", "Europe/Istanbul"),
MyTimeZone(42, "GMT+02:00 Beirut", "Asia/Beirut"),
MyTimeZone(43, "GMT+02:00 Cairo", "Africa/Cairo"),
MyTimeZone(44, "GMT+02:00 Helsinki", "Europe/Helsinki"),
MyTimeZone(45, "GMT+02:00 Jerusalem", "Asia/Jerusalem"),
MyTimeZone(46, "GMT+02:00 Harare", "Africa/Harare"),
MyTimeZone(47, "GMT+03:00 Minsk", "Europe/Minsk"),
MyTimeZone(48, "GMT+03:00 Baghdad", "Asia/Baghdad"),
MyTimeZone(49, "GMT+03:00 Moscow", "Europe/Moscow"),
MyTimeZone(50, "GMT+03:00 Kuwait", "Asia/Kuwait"),
MyTimeZone(51, "GMT+03:00 Nairobi", "Africa/Nairobi"),
MyTimeZone(52, "GMT+03:30 Tehran", "Asia/Tehran"),
MyTimeZone(53, "GMT+04:00 Baku", "Asia/Baku"),
MyTimeZone(54, "GMT+04:00 Tbilisi", "Asia/Tbilisi"),
MyTimeZone(55, "GMT+04:00 Yerevan", "Asia/Yerevan"),
MyTimeZone(56, "GMT+04:00 Dubai", "Asia/Dubai"),
MyTimeZone(57, "GMT+04:30 Kabul", "Asia/Kabul"),
MyTimeZone(58, "GMT+05:00 Karachi", "Asia/Karachi"),
MyTimeZone(59, "GMT+05:00 Oral", "Asia/Oral"),
MyTimeZone(60, "GMT+05:00 Yekaterinburg", "Asia/Yekaterinburg"),
MyTimeZone(61, "GMT+05:30 Kolkata", "Asia/Kolkata"),
MyTimeZone(62, "GMT+05:30 Colombo", "Asia/Colombo"),
MyTimeZone(63, "GMT+05:45 Kathmandu", "Asia/Kathmandu"),
MyTimeZone(64, "GMT+06:00 Almaty", "Asia/Almaty"),
MyTimeZone(65, "GMT+06:30 Rangoon", "Asia/Rangoon"),
MyTimeZone(66, "GMT+07:00 Krasnoyarsk", "Asia/Krasnoyarsk"),
MyTimeZone(67, "GMT+07:00 Bangkok", "Asia/Bangkok"),
MyTimeZone(68, "GMT+07:00 Jakarta", "Asia/Jakarta"),
MyTimeZone(69, "GMT+08:00 Shanghai", "Asia/Shanghai"),
MyTimeZone(70, "GMT+08:00 Hong Kong", "Asia/Hong_Kong"),
MyTimeZone(71, "GMT+08:00 Irkutsk", "Asia/Irkutsk"),
MyTimeZone(72, "GMT+08:00 Kuala Lumpur", "Asia/Kuala_Lumpur"),
MyTimeZone(73, "GMT+08:00 Perth", "Australia/Perth"),
MyTimeZone(74, "GMT+08:00 Taipei", "Asia/Taipei"),
MyTimeZone(75, "GMT+09:00 Seoul", "Asia/Seoul"),
MyTimeZone(76, "GMT+09:00 Tokyo", "Asia/Tokyo"),
MyTimeZone(77, "GMT+09:00 Yakutsk", "Asia/Yakutsk"),
MyTimeZone(78, "GMT+09:30 Darwin", "Australia/Darwin"),
MyTimeZone(79, "GMT+10:00 Brisbane", "Australia/Brisbane"),
MyTimeZone(80, "GMT+10:00 Vladivostok", "Asia/Vladivostok"),
MyTimeZone(81, "GMT+10:00 Guam", "Pacific/Guam"),
MyTimeZone(82, "GMT+10:00 Magadan", "Asia/Magadan"),
MyTimeZone(83, "GMT+10:30 Adelaide", "Australia/Adelaide"),
MyTimeZone(84, "GMT+11:00 Hobart", "Australia/Hobart"),
MyTimeZone(85, "GMT+11:00 Sydney", "Australia/Sydney"),
MyTimeZone(86, "GMT+11:00 Noumea", "Pacific/Noumea"),
MyTimeZone(87, "GMT+12:00 Majuro", "Pacific/Majuro"),
MyTimeZone(88, "GMT+12:00 Fiji", "Pacific/Fiji"),
MyTimeZone(89, "GMT+13:00 Auckland", "Pacific/Auckland"),
MyTimeZone(90, "GMT+13:00 Tongatapu", "Pacific/Tongatapu")
MyTimeZone(90, "GMT+00:00 London", "Europe/London"),
MyTimeZone(31, "GMT+01:00 Amsterdam", "Europe/Amsterdam"),
MyTimeZone(32, "GMT+01:00 Belgrade", "Europe/Belgrade"),
MyTimeZone(33, "GMT+01:00 Brussels", "Europe/Brussels"),
MyTimeZone(34, "GMT+01:00 Madrid", "Europe/Madrid"),
MyTimeZone(35, "GMT+01:00 Sarajevo", "Europe/Sarajevo"),
MyTimeZone(36, "GMT+01:00 Brazzaville", "Africa/Brazzaville"),
MyTimeZone(37, "GMT+02:00 Windhoek", "Africa/Windhoek"),
MyTimeZone(38, "GMT+02:00 Amman", "Asia/Amman"),
MyTimeZone(39, "GMT+02:00 Athens", "Europe/Athens"),
MyTimeZone(40, "GMT+02:00 Istanbul", "Europe/Istanbul"),
MyTimeZone(41, "GMT+02:00 Beirut", "Asia/Beirut"),
MyTimeZone(42, "GMT+02:00 Cairo", "Africa/Cairo"),
MyTimeZone(43, "GMT+02:00 Helsinki", "Europe/Helsinki"),
MyTimeZone(44, "GMT+02:00 Jerusalem", "Asia/Jerusalem"),
MyTimeZone(45, "GMT+02:00 Harare", "Africa/Harare"),
MyTimeZone(46, "GMT+03:00 Minsk", "Europe/Minsk"),
MyTimeZone(47, "GMT+03:00 Baghdad", "Asia/Baghdad"),
MyTimeZone(48, "GMT+03:00 Moscow", "Europe/Moscow"),
MyTimeZone(49, "GMT+03:00 Kuwait", "Asia/Kuwait"),
MyTimeZone(50, "GMT+03:00 Nairobi", "Africa/Nairobi"),
MyTimeZone(51, "GMT+03:30 Tehran", "Asia/Tehran"),
MyTimeZone(52, "GMT+04:00 Baku", "Asia/Baku"),
MyTimeZone(53, "GMT+04:00 Tbilisi", "Asia/Tbilisi"),
MyTimeZone(54, "GMT+04:00 Yerevan", "Asia/Yerevan"),
MyTimeZone(55, "GMT+04:00 Dubai", "Asia/Dubai"),
MyTimeZone(56, "GMT+04:30 Kabul", "Asia/Kabul"),
MyTimeZone(57, "GMT+05:00 Karachi", "Asia/Karachi"),
MyTimeZone(58, "GMT+05:00 Oral", "Asia/Oral"),
MyTimeZone(59, "GMT+05:00 Yekaterinburg", "Asia/Yekaterinburg"),
MyTimeZone(60, "GMT+05:30 Kolkata", "Asia/Kolkata"),
MyTimeZone(61, "GMT+05:30 Colombo", "Asia/Colombo"),
MyTimeZone(62, "GMT+05:45 Kathmandu", "Asia/Kathmandu"),
MyTimeZone(63, "GMT+06:00 Almaty", "Asia/Almaty"),
MyTimeZone(64, "GMT+06:30 Rangoon", "Asia/Rangoon"),
MyTimeZone(65, "GMT+07:00 Krasnoyarsk", "Asia/Krasnoyarsk"),
MyTimeZone(66, "GMT+07:00 Bangkok", "Asia/Bangkok"),
MyTimeZone(67, "GMT+07:00 Jakarta", "Asia/Jakarta"),
MyTimeZone(68, "GMT+08:00 Shanghai", "Asia/Shanghai"),
MyTimeZone(69, "GMT+08:00 Hong Kong", "Asia/Hong_Kong"),
MyTimeZone(70, "GMT+08:00 Irkutsk", "Asia/Irkutsk"),
MyTimeZone(71, "GMT+08:00 Kuala Lumpur", "Asia/Kuala_Lumpur"),
MyTimeZone(72, "GMT+08:00 Perth", "Australia/Perth"),
MyTimeZone(73, "GMT+08:00 Taipei", "Asia/Taipei"),
MyTimeZone(74, "GMT+09:00 Seoul", "Asia/Seoul"),
MyTimeZone(75, "GMT+09:00 Tokyo", "Asia/Tokyo"),
MyTimeZone(76, "GMT+09:00 Yakutsk", "Asia/Yakutsk"),
MyTimeZone(77, "GMT+09:30 Darwin", "Australia/Darwin"),
MyTimeZone(78, "GMT+10:00 Brisbane", "Australia/Brisbane"),
MyTimeZone(79, "GMT+10:00 Vladivostok", "Asia/Vladivostok"),
MyTimeZone(80, "GMT+10:00 Guam", "Pacific/Guam"),
MyTimeZone(81, "GMT+10:00 Magadan", "Asia/Magadan"),
MyTimeZone(82, "GMT+10:30 Adelaide", "Australia/Adelaide"),
MyTimeZone(83, "GMT+11:00 Hobart", "Australia/Hobart"),
MyTimeZone(84, "GMT+11:00 Sydney", "Australia/Sydney"),
MyTimeZone(85, "GMT+11:00 Noumea", "Pacific/Noumea"),
MyTimeZone(86, "GMT+12:00 Majuro", "Pacific/Majuro"),
MyTimeZone(87, "GMT+12:00 Fiji", "Pacific/Fiji"),
MyTimeZone(88, "GMT+13:00 Auckland", "Pacific/Auckland"),
MyTimeZone(89, "GMT+13:00 Tongatapu", "Pacific/Tongatapu")
)

fun getTimeUntilNextAlarm(alarmTimeInMinutes: Int, days: Int): Int? {
Expand Down

0 comments on commit 262a971

Please sign in to comment.