Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.squarespace.cldr.dates._CalendarFormatter_lv Maven / Gradle / Ivy
//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.dates;
import com.squarespace.cldr.CLDR;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.ZonedDateTime;
import java.util.HashMap;
/**
* Locale "lv"
* See http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
*/
public class _CalendarFormatter_lv extends CalendarFormatterBase {
public _CalendarFormatter_lv() {
this.bundleId = CLDR.Locale.lv;
this.firstDay = 1;
this.minDays = 1;
this.eras = new FieldVariants(
new String[] {"p.m.ē.", "m.ē."},
new String[] {"p.m.ē.", "m.ē."},
new String[] {},
new String[] {"pirms mūsu ēras", "mūsu ērā"});
this.quartersFormat = new FieldVariants(
new String[] {"1. cet.", "2. cet.", "3. cet.", "4. cet."},
new String[] {"1.", "2.", "3.", "4."},
new String[] {},
new String[] {"1. ceturksnis", "2. ceturksnis", "3. ceturksnis", "4. ceturksnis"});
this.quartersStandalone = new FieldVariants(
new String[] {"1. cet.", "2. cet.", "3. cet.", "4. cet."},
new String[] {"1.", "2.", "3.", "4."},
new String[] {},
new String[] {"1. ceturksnis", "2. ceturksnis", "3. ceturksnis", "4. ceturksnis"});
this.monthsFormat = new FieldVariants(
new String[] {"janv.", "febr.", "marts", "apr.", "maijs", "jūn.", "jūl.", "aug.", "sept.", "okt.", "nov.", "dec."},
new String[] {"J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
new String[] {},
new String[] {"janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"});
this.monthsStandalone = new FieldVariants(
new String[] {"janv.", "febr.", "marts", "apr.", "maijs", "jūn.", "jūl.", "aug.", "sept.", "okt.", "nov.", "dec."},
new String[] {"J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
new String[] {},
new String[] {"janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"});
this.weekdaysFormat = new FieldVariants(
new String[] {"svētd.", "pirmd.", "otrd.", "trešd.", "ceturtd.", "piektd.", "sestd."},
new String[] {"S", "P", "O", "T", "C", "P", "S"},
new String[] {"Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"},
new String[] {"svētdiena", "pirmdiena", "otrdiena", "trešdiena", "ceturtdiena", "piektdiena", "sestdiena"});
this.weekdaysStandalone = new FieldVariants(
new String[] {"Svētd.", "Pirmd.", "Otrd.", "Trešd.", "Ceturtd.", "Piektd.", "Sestd."},
new String[] {"S", "P", "O", "T", "C", "P", "S"},
new String[] {"Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"},
new String[] {"Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena"});
this.dayPeriodsFormat = new FieldVariants(
new String[] {"priekšp.", "pēcp."},
new String[] {"priekšp.", "pēcp."},
new String[] {},
new String[] {"priekšpusdienā", "pēcpusdienā"});
this.dayPeriodsStandalone = new FieldVariants(
new String[] {"priekšp.", "pēcpusd."},
new String[] {"priekšp.", "pēcp."},
new String[] {},
new String[] {"priekšpusdiena", "pēcpusdiena"});
this.exemplarCities = new HashMap() { {
put("America/Adak", "Adaka");
put("America/Anchorage", "Ankurāža");
put("America/Anguilla", "Angilja");
put("America/Antigua", "Antigva");
put("America/Araguaina", "Aragvaina");
put("America/Argentina/Rio_Gallegos", "Riogaljegosa");
put("America/Argentina/San_Juan", "Sanhuana");
put("America/Argentina/Ushuaia", "Ušuaja");
put("America/Argentina/La_Rioja", "Larjoha");
put("America/Argentina/San_Luis", "Sanluisa");
put("America/Argentina/Salta", "Salta");
put("America/Argentina/Tucuman", "Tukumana");
put("America/Aruba", "Aruba");
put("America/Asuncion", "Asunsjona");
put("America/Bahia", "Baija");
put("America/Bahia_Banderas", "Bajabanderasa");
put("America/Barbados", "Barbadosa");
put("America/Belem", "Belena");
put("America/Belize", "Beliza");
put("America/Blanc-Sablon", "Blansablona");
put("America/Boa_Vista", "Boavista");
put("America/Bogota", "Bogota");
put("America/Boise", "Boisisitija");
put("America/Buenos_Aires", "Buenosairesa");
put("America/Cambridge_Bay", "Keimbridžbeja");
put("America/Campo_Grande", "Kampugrandi");
put("America/Cancun", "Kankuna");
put("America/Caracas", "Karakasa");
put("America/Catamarca", "Katamarka");
put("America/Cayenne", "Kajenna");
put("America/Cayman", "Kaimanu salas");
put("America/Chicago", "Čikāga");
put("America/Chihuahua", "Čivava");
put("America/Coral_Harbour", "Atikokana");
put("America/Cordoba", "Kordova");
put("America/Costa_Rica", "Kostarika");
put("America/Creston", "Krestona");
put("America/Cuiaba", "Kujaba");
put("America/Curacao", "Kirasao");
put("America/Danmarkshavn", "Denmārkšavna");
put("America/Dawson", "Dousona");
put("America/Dawson_Creek", "Dousonkrīka");
put("America/Denver", "Denvera");
put("America/Detroit", "Detroita");
put("America/Dominica", "Dominika");
put("America/Edmonton", "Edmontona");
put("America/Eirunepe", "Eirunepe");
put("America/El_Salvador", "Salvadora");
put("America/Fort_Nelson", "Fortnelsona");
put("America/Fortaleza", "Fortaleza");
put("America/Glace_Bay", "Gleisbeja");
put("America/Godthab", "Nūka");
put("America/Goose_Bay", "Gūsbeja");
put("America/Grand_Turk", "Grandtkērka");
put("America/Grenada", "Grenāda");
put("America/Guadeloupe", "Gvadelupa");
put("America/Guatemala", "Gvatemala");
put("America/Guayaquil", "Gvajakila");
put("America/Guyana", "Gajāna");
put("America/Halifax", "Helifeksa");
put("America/Havana", "Havana");
put("America/Hermosillo", "Ermosiljo");
put("America/Indiana/Vincennes", "Vinsensa, Indiāna");
put("America/Indiana/Petersburg", "Pītersbērga, Indiāna");
put("America/Indiana/Tell_City", "Telsitija, Indiāna");
put("America/Indiana/Knox", "Noksa, Indiāna");
put("America/Indiana/Winamac", "Vinamaka, Indiāna");
put("America/Indiana/Marengo", "Marengo, Indiāna");
put("America/Indiana/Vevay", "Vīveja, Indiāna");
put("America/Indianapolis", "Indianapolisa");
put("America/Inuvik", "Inuvika");
put("America/Iqaluit", "Ikaluita");
put("America/Jamaica", "Jamaika");
put("America/Jujuy", "Huhuja");
put("America/Juneau", "Džuno");
put("America/Kentucky/Monticello", "Montičelo, Kentuki");
put("America/Kralendijk", "Krālendeika");
put("America/La_Paz", "Lapasa");
put("America/Lima", "Lima");
put("America/Los_Angeles", "Losandželosa");
put("America/Louisville", "Lūivila");
put("America/Lower_Princes", "Louerprinseskvotera");
put("America/Maceio", "Masejo");
put("America/Managua", "Managva");
put("America/Manaus", "Manausa");
put("America/Marigot", "Merigota");
put("America/Martinique", "Martinika");
put("America/Matamoros", "Matamorosa");
put("America/Mazatlan", "Masatlana");
put("America/Mendoza", "Mendosa");
put("America/Menominee", "Menominī");
put("America/Merida", "Merida");
put("America/Metlakatla", "Metlakatla");
put("America/Mexico_City", "Mehiko");
put("America/Miquelon", "Mikelona");
put("America/Moncton", "Monktona");
put("America/Monterrey", "Monterreja");
put("America/Montevideo", "Montevideo");
put("America/Montserrat", "Montserrata");
put("America/Nassau", "Naso");
put("America/New_York", "Ņujorka");
put("America/Nipigon", "Nipigona");
put("America/Nome", "Noma");
put("America/Noronha", "Noroņa");
put("America/North_Dakota/Beulah", "Bjula, Ziemeļdakota");
put("America/North_Dakota/New_Salem", "Ņūseilema, Ziemeļdakota");
put("America/North_Dakota/Center", "Sentera, Ziemeļdakota");
put("America/Ojinaga", "Ohinaga");
put("America/Panama", "Panama");
put("America/Pangnirtung", "Pannirtuna");
put("America/Paramaribo", "Paramaribo");
put("America/Phoenix", "Fīniksa");
put("America/Port-au-Prince", "Portoprensa");
put("America/Port_of_Spain", "Portofspeina");
put("America/Porto_Velho", "Portuveļu");
put("America/Puerto_Rico", "Puertoriko");
put("America/Rainy_River", "Reinirivera");
put("America/Rankin_Inlet", "Rankininleta");
put("America/Recife", "Resifi");
put("America/Regina", "Ridžaina");
put("America/Resolute", "Rezolūta");
put("America/Rio_Branco", "Riobranko");
put("America/Santa_Isabel", "Santaisabela");
put("America/Santarem", "Santarena");
put("America/Santiago", "Santjago");
put("America/Santo_Domingo", "Santodomingo");
put("America/Sao_Paulo", "Sanpaulu");
put("America/Scoresbysund", "Itokortormita");
put("America/Sitka", "Sitka");
put("America/St_Barthelemy", "Senbartelmī");
put("America/St_Johns", "Sentdžonsa");
put("America/St_Kitts", "Sentkitsa");
put("America/St_Lucia", "Sentlūsija");
put("America/St_Thomas", "Sentomasa");
put("America/St_Vincent", "Sentvinsenta");
put("America/Swift_Current", "Sviftkarenta");
put("America/Tegucigalpa", "Tegusigalpa");
put("America/Thule", "Tule");
put("America/Thunder_Bay", "Tanderbeja");
put("America/Tijuana", "Tihuana");
put("America/Toronto", "Toronto");
put("America/Tortola", "Tortola");
put("America/Vancouver", "Vankūvera");
put("America/Whitehorse", "Vaithorsa");
put("America/Winnipeg", "Vinipega");
put("America/Yakutat", "Jakutata");
put("America/Yellowknife", "Jelounaifa");
put("Atlantic/Azores", "Azoru salas");
put("Atlantic/Bermuda", "Bermuda");
put("Atlantic/Canary", "Kanāriju salas");
put("Atlantic/Cape_Verde", "Kaboverde");
put("Atlantic/Faeroe", "Fēru salas");
put("Atlantic/Madeira", "Madeira");
put("Atlantic/Reykjavik", "Reikjavika");
put("Atlantic/South_Georgia", "Dienviddžordžija");
put("Atlantic/St_Helena", "Sv.Helēnas sala");
put("Atlantic/Stanley", "Stenli");
put("Europe/Amsterdam", "Amsterdama");
put("Europe/Andorra", "Andora");
put("Europe/Astrakhan", "Astrahaņa");
put("Europe/Athens", "Atēnas");
put("Europe/Belgrade", "Belgrada");
put("Europe/Berlin", "Berlīne");
put("Europe/Bratislava", "Bratislava");
put("Europe/Brussels", "Brisele");
put("Europe/Bucharest", "Bukareste");
put("Europe/Budapest", "Budapešta");
put("Europe/Busingen", "Bīzingene");
put("Europe/Chisinau", "Kišiņeva");
put("Europe/Copenhagen", "Kopenhāgena");
put("Europe/Dublin", "Dublina");
put("Europe/Gibraltar", "Gibraltārs");
put("Europe/Guernsey", "Gērnsija");
put("Europe/Helsinki", "Helsinki");
put("Europe/Isle_of_Man", "Menas sala");
put("Europe/Istanbul", "Stambula");
put("Europe/Jersey", "Džērsija");
put("Europe/Kaliningrad", "Kaļiņingrada");
put("Europe/Kiev", "Kijeva");
put("Europe/Kirov", "Kirova");
put("Europe/Lisbon", "Lisabona");
put("Europe/Ljubljana", "Ļubļana");
put("Europe/London", "Londona");
put("Europe/Luxembourg", "Luksemburga");
put("Europe/Madrid", "Madride");
put("Europe/Malta", "Malta");
put("Europe/Mariehamn", "Mariehamna");
put("Europe/Minsk", "Minska");
put("Europe/Monaco", "Monako");
put("Europe/Moscow", "Maskava");
put("Europe/Oslo", "Oslo");
put("Europe/Paris", "Parīze");
put("Europe/Podgorica", "Podgorica");
put("Europe/Prague", "Prāga");
put("Europe/Riga", "Rīga");
put("Europe/Rome", "Roma");
put("Europe/Samara", "Samara");
put("Europe/San_Marino", "Sanmarīno");
put("Europe/Sarajevo", "Sarajeva");
put("Europe/Simferopol", "Simferopole");
put("Europe/Skopje", "Skopje");
put("Europe/Sofia", "Sofija");
put("Europe/Stockholm", "Stokholma");
put("Europe/Tallinn", "Tallina");
put("Europe/Tirane", "Tirāna");
put("Europe/Ulyanovsk", "Uļjanovska");
put("Europe/Uzhgorod", "Užhoroda");
put("Europe/Vaduz", "Vaduca");
put("Europe/Vatican", "Vatikāns");
put("Europe/Vienna", "Vīne");
put("Europe/Vilnius", "Viļņa");
put("Europe/Volgograd", "Volgograda");
put("Europe/Warsaw", "Varšava");
put("Europe/Zagreb", "Zagreba");
put("Europe/Zaporozhye", "Zaporožje");
put("Europe/Zurich", "Cīrihe");
put("Africa/Abidjan", "Abidžana");
put("Africa/Accra", "Akra");
put("Africa/Addis_Ababa", "Adisabeba");
put("Africa/Algiers", "Alžīra");
put("Africa/Asmera", "Asmara");
put("Africa/Bamako", "Bamako");
put("Africa/Bangui", "Bangi");
put("Africa/Banjul", "Bandžula");
put("Africa/Bissau", "Bisava");
put("Africa/Blantyre", "Blantaira");
put("Africa/Brazzaville", "Brazavila");
put("Africa/Bujumbura", "Bužumbura");
put("Africa/Cairo", "Kaira");
put("Africa/Casablanca", "Kasablanka");
put("Africa/Ceuta", "Seuta");
put("Africa/Conakry", "Konakri");
put("Africa/Dakar", "Dakara");
put("Africa/Dar_es_Salaam", "Dāresalāma");
put("Africa/Djibouti", "Džibutija");
put("Africa/Douala", "Duala");
put("Africa/El_Aaiun", "Ajūna");
put("Africa/Freetown", "Frītauna");
put("Africa/Gaborone", "Gaborone");
put("Africa/Harare", "Harare");
put("Africa/Johannesburg", "Johannesburga");
put("Africa/Juba", "Džūba");
put("Africa/Kampala", "Kampala");
put("Africa/Khartoum", "Hartūma");
put("Africa/Kigali", "Kigali");
put("Africa/Kinshasa", "Kinšasa");
put("Africa/Lagos", "Lagosa");
put("Africa/Libreville", "Librevila");
put("Africa/Lome", "Lome");
put("Africa/Luanda", "Luanda");
put("Africa/Lubumbashi", "Lubumbaši");
put("Africa/Lusaka", "Lusaka");
put("Africa/Malabo", "Malabo");
put("Africa/Maputo", "Maputu");
put("Africa/Maseru", "Maseru");
put("Africa/Mbabane", "Mbabane");
put("Africa/Mogadishu", "Mogadīšo");
put("Africa/Monrovia", "Monrovija");
put("Africa/Nairobi", "Nairobi");
put("Africa/Ndjamena", "Ndžamena");
put("Africa/Niamey", "Niameja");
put("Africa/Nouakchott", "Nuakšota");
put("Africa/Ouagadougou", "Vagadugu");
put("Africa/Porto-Novo", "Portonovo");
put("Africa/Sao_Tome", "Santome");
put("Africa/Tripoli", "Tripole");
put("Africa/Tunis", "Tunisa");
put("Africa/Windhoek", "Vindhuka");
put("Asia/Aden", "Adena");
put("Asia/Almaty", "Almati");
put("Asia/Amman", "Ammāna");
put("Asia/Anadyr", "Anadira");
put("Asia/Aqtau", "Aktau");
put("Asia/Aqtobe", "Aktebe");
put("Asia/Ashgabat", "Ašgabata");
put("Asia/Baghdad", "Bagdāde");
put("Asia/Bahrain", "Bahreina");
put("Asia/Baku", "Baku");
put("Asia/Bangkok", "Bangkoka");
put("Asia/Barnaul", "Barnaula");
put("Asia/Beirut", "Beirūta");
put("Asia/Bishkek", "Biškeka");
put("Asia/Brunei", "Bruneja");
put("Asia/Calcutta", "Kalkāta");
put("Asia/Chita", "Čita");
put("Asia/Choibalsan", "Čoibalsana");
put("Asia/Colombo", "Kolombo");
put("Asia/Damascus", "Damaska");
put("Asia/Dhaka", "Daka");
put("Asia/Dili", "Dili");
put("Asia/Dubai", "Dubaija");
put("Asia/Dushanbe", "Dušanbe");
put("Asia/Gaza", "Gaza");
put("Asia/Hebron", "Hebrona");
put("Asia/Hong_Kong", "Honkonga");
put("Asia/Hovd", "Hovda");
put("Asia/Irkutsk", "Irkutska");
put("Asia/Jakarta", "Džakarta");
put("Asia/Jayapura", "Džajapura");
put("Asia/Jerusalem", "Jeruzaleme");
put("Asia/Kabul", "Kabula");
put("Asia/Kamchatka", "Kamčatka");
put("Asia/Karachi", "Karāči");
put("Asia/Katmandu", "Katmandu");
put("Asia/Khandyga", "Handiga");
put("Asia/Krasnoyarsk", "Krasnojarska");
put("Asia/Kuala_Lumpur", "Kualalumpura");
put("Asia/Kuching", "Kučina");
put("Asia/Kuwait", "Kuveita");
put("Asia/Macau", "Makao");
put("Asia/Magadan", "Magadana");
put("Asia/Makassar", "Makasara");
put("Asia/Manila", "Manila");
put("Asia/Muscat", "Maskata");
put("Asia/Nicosia", "Nikosija");
put("Asia/Novokuznetsk", "Novokuzņecka");
put("Asia/Novosibirsk", "Novosibirska");
put("Asia/Omsk", "Omska");
put("Asia/Oral", "Orala");
put("Asia/Phnom_Penh", "Pnompeņa");
put("Asia/Pontianak", "Pontianaka");
put("Asia/Pyongyang", "Phenjana");
put("Asia/Qatar", "Katara");
put("Asia/Qyzylorda", "Kizilorda");
put("Asia/Rangoon", "Ranguna");
put("Asia/Riyadh", "Rijāda");
put("Asia/Saigon", "Hošimina");
put("Asia/Sakhalin", "Sahalīna");
put("Asia/Samarkand", "Samarkanda");
put("Asia/Seoul", "Seula");
put("Asia/Shanghai", "Šanhaja");
put("Asia/Singapore", "Singapūra");
put("Asia/Srednekolymsk", "Sredņekolimska");
put("Asia/Taipei", "Taibei");
put("Asia/Tashkent", "Taškenta");
put("Asia/Tbilisi", "Tbilisi");
put("Asia/Tehran", "Teherāna");
put("Asia/Thimphu", "Thimphu");
put("Asia/Tokyo", "Tokija");
put("Asia/Tomsk", "Tomska");
put("Asia/Ulaanbaatar", "Ulanbatora");
put("Asia/Urumqi", "Urumči");
put("Asia/Ust-Nera", "Ustjņera");
put("Asia/Vientiane", "Vjenčana");
put("Asia/Vladivostok", "Vladivostoka");
put("Asia/Yakutsk", "Jakutska");
put("Asia/Yekaterinburg", "Jekaterinburga");
put("Asia/Yerevan", "Erevāna");
put("Indian/Antananarivo", "Antananarivu");
put("Indian/Chagos", "Čagosu arhipelāgs");
put("Indian/Christmas", "Ziemsvētku sala");
put("Indian/Cocos", "Kokosu (Kīlinga) sala");
put("Indian/Comoro", "Komoras");
put("Indian/Kerguelen", "Kergelēna sala");
put("Indian/Mahe", "Mae");
put("Indian/Maldives", "Maldīvija");
put("Indian/Mauritius", "Maurīcija");
put("Indian/Mayotte", "Majota");
put("Indian/Reunion", "Reinjona");
put("Australia/Adelaide", "Adelaida");
put("Australia/Brisbane", "Brisbena");
put("Australia/Broken_Hill", "Brokenhila");
put("Australia/Currie", "Kari");
put("Australia/Darwin", "Dārvina");
put("Australia/Eucla", "Jukla");
put("Australia/Hobart", "Hobārta");
put("Australia/Lindeman", "Lindemana");
put("Australia/Lord_Howe", "Lordhava");
put("Australia/Melbourne", "Melburna");
put("Australia/Perth", "Pērta");
put("Australia/Sydney", "Sidneja");
put("Pacific/Apia", "Apija");
put("Pacific/Auckland", "Oklenda");
put("Pacific/Bougainville", "Bugenvila sala");
put("Pacific/Chatham", "Četema");
put("Pacific/Easter", "Lieldienu sala");
put("Pacific/Efate", "Efate");
put("Pacific/Enderbury", "Enderberija");
put("Pacific/Fakaofo", "Fakaofo");
put("Pacific/Fiji", "Fidži");
put("Pacific/Funafuti", "Funafuti");
put("Pacific/Galapagos", "Galapagu salas");
put("Pacific/Gambier", "Gambjē salas");
put("Pacific/Guadalcanal", "Gvadalkanala");
put("Pacific/Guam", "Guama");
put("Pacific/Honolulu", "Honolulu");
put("Pacific/Johnston", "Džonstona atols");
put("Pacific/Kiritimati", "Kirisimasi");
put("Pacific/Kosrae", "Kosraja");
put("Pacific/Kwajalein", "Kvadžaleina");
put("Pacific/Majuro", "Madžuro");
put("Pacific/Marquesas", "Marķīza salas");
put("Pacific/Midway", "Midvejs");
put("Pacific/Nauru", "Nauru");
put("Pacific/Niue", "Niue");
put("Pacific/Norfolk", "Norfolka");
put("Pacific/Noumea", "Numea");
put("Pacific/Pago_Pago", "Pagopago");
put("Pacific/Palau", "Palau");
put("Pacific/Pitcairn", "Pitkērna");
put("Pacific/Ponape", "Ponpeja");
put("Pacific/Port_Moresby", "Portmorsbi");
put("Pacific/Rarotonga", "Rarotonga");
put("Pacific/Saipan", "Saipana");
put("Pacific/Tahiti", "Taiti");
put("Pacific/Tarawa", "Tarava");
put("Pacific/Tongatapu", "Tongatapu");
put("Pacific/Truk", "Čūka");
put("Pacific/Wake", "Veika sala");
put("Pacific/Wallis", "Volisa");
put("Arctic/Longyearbyen", "Longjērbīene");
put("Antarctica/Casey", "Keisi");
put("Antarctica/Davis", "Deivisa");
put("Antarctica/DumontDUrville", "Dimondirvila");
put("Antarctica/Macquarie", "Makvori");
put("Antarctica/Mawson", "Mosona");
put("Antarctica/McMurdo", "Makmerdo");
put("Antarctica/Palmer", "Pālmera");
put("Antarctica/Rothera", "Rotera");
put("Antarctica/Syowa", "Šova");
put("Antarctica/Troll", "Trolla");
put("Antarctica/Vostok", "Vostoka");
put("Etc/GMT", "GMT");
put("Etc/GMT1", "GMT+1");
put("Etc/GMT10", "GMT+10");
put("Etc/GMT11", "GMT+11");
put("Etc/GMT12", "GMT+12");
put("Etc/GMT2", "GMT+2");
put("Etc/GMT3", "GMT+3");
put("Etc/GMT4", "GMT+4");
put("Etc/GMT5", "GMT+5");
put("Etc/GMT6", "GMT+6");
put("Etc/GMT7", "GMT+7");
put("Etc/GMT8", "GMT+8");
put("Etc/GMT9", "GMT+9");
put("Etc/GMT-1", "GMT-1");
put("Etc/GMT-10", "GMT-10");
put("Etc/GMT-11", "GMT-11");
put("Etc/GMT-12", "GMT-12");
put("Etc/GMT-13", "GMT-13");
put("Etc/GMT-14", "GMT-14");
put("Etc/GMT-2", "GMT-2");
put("Etc/GMT-3", "GMT-3");
put("Etc/GMT-4", "GMT-4");
put("Etc/GMT-5", "GMT-5");
put("Etc/GMT-6", "GMT-6");
put("Etc/GMT-7", "GMT-7");
put("Etc/GMT-8", "GMT-8");
put("Etc/GMT-9", "GMT-9");
put("Etc/UTC", "UTC");
put("Etc/Unknown", "nezināma pilsēta");
} };
this.timezoneNames = new HashMap() { {
put("Europe/Dublin", new TimeZoneNames("Europe/Dublin", new TimeZoneNames.Name(null, null, "Īrijas ziemas laiks"),
null));
put("Europe/London", new TimeZoneNames("Europe/London", new TimeZoneNames.Name(null, null, "Lielbritānijas vasaras laiks"),
null));
put("Etc/UTC", new TimeZoneNames("Etc/UTC", new TimeZoneNames.Name(null, "Universālais koordinētais laiks", null),
new TimeZoneNames.Name(null, "UTC", null)));
} };
this.metazoneNames = new HashMap() { {
put("Afghanistan", new TimeZoneNames("Afghanistan",
new TimeZoneNames.Name(null, "Afganistānas laiks", null),
null));
put("Africa_Central", new TimeZoneNames("Africa_Central",
new TimeZoneNames.Name(null, "Centrālāfrikas laiks", null),
null));
put("Africa_Eastern", new TimeZoneNames("Africa_Eastern",
new TimeZoneNames.Name(null, "Austrumāfrikas laiks", null),
null));
put("Africa_Southern", new TimeZoneNames("Africa_Southern",
new TimeZoneNames.Name(null, "Dienvidāfrikas ziemas laiks", null),
null));
put("Africa_Western", new TimeZoneNames("Africa_Western",
new TimeZoneNames.Name("Rietumāfrikas laiks", "Rietumāfrikas ziemas laiks", "Rietumāfrikas vasaras laiks"),
null));
put("Alaska", new TimeZoneNames("Alaska",
new TimeZoneNames.Name("Aļaskas laiks", "Aļaskas ziemas laiks", "Aļaskas vasaras laiks"),
null));
put("Amazon", new TimeZoneNames("Amazon",
new TimeZoneNames.Name("Amazones laiks", "Amazones ziemas laiks", "Amazones vasaras laiks"),
null));
put("America_Central", new TimeZoneNames("America_Central",
new TimeZoneNames.Name("Centrālais laiks", "Centrālais ziemas laiks", "Centrālais vasaras laiks"),
null));
put("America_Eastern", new TimeZoneNames("America_Eastern",
new TimeZoneNames.Name("Austrumu laiks", "Austrumu ziemas laiks", "Austrumu vasaras laiks"),
null));
put("America_Mountain", new TimeZoneNames("America_Mountain",
new TimeZoneNames.Name("Kalnu laiks", "Kalnu ziemas laiks", "Kalnu vasaras laiks"),
null));
put("America_Pacific", new TimeZoneNames("America_Pacific",
new TimeZoneNames.Name("Klusā okeāna laiks", "Klusā okeāna ziemas laiks", "Klusā okeāna vasaras laiks"),
null));
put("Anadyr", new TimeZoneNames("Anadyr",
new TimeZoneNames.Name("Anadiras laiks", "Anadiras ziemas laiks", "Anadiras vasaras laiks"),
null));
put("Apia", new TimeZoneNames("Apia",
new TimeZoneNames.Name("Apijas laiks", "Apijas ziemas laiks", "Apijas vasaras laiks"),
null));
put("Arabian", new TimeZoneNames("Arabian",
new TimeZoneNames.Name("Arābijas pussalas laiks", "Arābijas pussalas ziemas laiks", "Arābijas pussalas vasaras laiks"),
null));
put("Argentina", new TimeZoneNames("Argentina",
new TimeZoneNames.Name("Argentīnas laiks", "Argentīnas ziemas laiks", "Argentīnas vasaras laiks"),
null));
put("Argentina_Western", new TimeZoneNames("Argentina_Western",
new TimeZoneNames.Name("Rietumargentīnas laiks", "Rietumargentīnas ziemas laiks", "Rietumargentīnas vasaras laiks"),
null));
put("Armenia", new TimeZoneNames("Armenia",
new TimeZoneNames.Name("Armēnijas laiks", "Armēnijas ziemas laiks", "Armēnijas vasaras laiks"),
null));
put("Atlantic", new TimeZoneNames("Atlantic",
new TimeZoneNames.Name("Atlantijas laiks", "Atlantijas ziemas laiks", "Atlantijas vasaras laiks"),
null));
put("Australia_Central", new TimeZoneNames("Australia_Central",
new TimeZoneNames.Name("Austrālijas centrālais laiks", "Austrālijas centrālais ziemas laiks", "Austrālijas centrālais vasaras laiks"),
null));
put("Australia_CentralWestern", new TimeZoneNames("Australia_CentralWestern",
new TimeZoneNames.Name("Austrālijas centrālais rietumu laiks", "Austrālijas centrālais rietumu ziemas laiks", "Austrālijas centrālais rietumu vasaras laiks"),
null));
put("Australia_Eastern", new TimeZoneNames("Australia_Eastern",
new TimeZoneNames.Name("Austrālijas austrumu laiks", "Austrālijas austrumu ziemas laiks", "Austrālijas austrumu vasaras laiks"),
null));
put("Australia_Western", new TimeZoneNames("Australia_Western",
new TimeZoneNames.Name("Austrālijas rietumu laiks", "Austrālijas rietumu ziemas laiks", "Austrālijas rietumu vasaras laiks"),
null));
put("Azerbaijan", new TimeZoneNames("Azerbaijan",
new TimeZoneNames.Name("Azerbaidžānas laiks", "Azerbaidžānas ziemas laiks", "Azerbaidžānas vasaras laiks"),
null));
put("Azores", new TimeZoneNames("Azores",
new TimeZoneNames.Name("Azoru salu laiks", "Azoru salu ziemas laiks", "Azoru salu vasaras laiks"),
null));
put("Bangladesh", new TimeZoneNames("Bangladesh",
new TimeZoneNames.Name("Bangladešas laiks", "Bangladešas ziemas laiks", "Bangladešas vasaras laiks"),
null));
put("Bhutan", new TimeZoneNames("Bhutan",
new TimeZoneNames.Name(null, "Butānas laiks", null),
null));
put("Bolivia", new TimeZoneNames("Bolivia",
new TimeZoneNames.Name(null, "Bolīvijas laiks", null),
null));
put("Brasilia", new TimeZoneNames("Brasilia",
new TimeZoneNames.Name("Brazīlijas laiks", "Brazīlijas ziemas laiks", "Brazīlijas vasaras laiks"),
null));
put("Brunei", new TimeZoneNames("Brunei",
new TimeZoneNames.Name(null, "Brunejas Darusalamas laiks", null),
null));
put("Cape_Verde", new TimeZoneNames("Cape_Verde",
new TimeZoneNames.Name("Kaboverdes laiks", "Kaboverdes ziemas laiks", "Kaboverdes vasaras laiks"),
null));
put("Chamorro", new TimeZoneNames("Chamorro",
new TimeZoneNames.Name(null, "Čamorra ziemas laiks", null),
null));
put("Chatham", new TimeZoneNames("Chatham",
new TimeZoneNames.Name("Četemas laiks", "Četemas ziemas laiks", "Četemas vasaras laiks"),
null));
put("Chile", new TimeZoneNames("Chile",
new TimeZoneNames.Name("Čīles laiks", "Čīles ziemas laiks", "Čīles vasaras laiks"),
null));
put("China", new TimeZoneNames("China",
new TimeZoneNames.Name("Ķīnas laiks", "Ķīnas ziemas laiks", "Ķīnas vasaras laiks"),
null));
put("Choibalsan", new TimeZoneNames("Choibalsan",
new TimeZoneNames.Name("Čoibalsanas laiks", "Čoibalsanas ziemas laiks", "Čoibalsanas vasaras laiks"),
null));
put("Christmas", new TimeZoneNames("Christmas",
new TimeZoneNames.Name(null, "Ziemsvētku salas laiks", null),
null));
put("Cocos", new TimeZoneNames("Cocos",
new TimeZoneNames.Name(null, "Kokosu (Kīlinga) salu laiks", null),
null));
put("Colombia", new TimeZoneNames("Colombia",
new TimeZoneNames.Name("Kolumbijas laiks", "Kolumbijas ziemas laiks", "Kolumbijas vasaras laiks"),
null));
put("Cook", new TimeZoneNames("Cook",
new TimeZoneNames.Name("Kuka salu laiks", "Kuka salu ziemas laiks", "Kuka salu vasaras laiks"),
null));
put("Cuba", new TimeZoneNames("Cuba",
new TimeZoneNames.Name("Kubas laiks", "Kubas ziemas laiks", "Kubas vasaras laiks"),
null));
put("Davis", new TimeZoneNames("Davis",
new TimeZoneNames.Name(null, "Deivisas laiks", null),
null));
put("DumontDUrville", new TimeZoneNames("DumontDUrville",
new TimeZoneNames.Name(null, "Dimondirvilas laiks", null),
null));
put("East_Timor", new TimeZoneNames("East_Timor",
new TimeZoneNames.Name(null, "Austrumtimoras laiks", null),
null));
put("Easter", new TimeZoneNames("Easter",
new TimeZoneNames.Name("Lieldienu salas laiks", "Lieldienu salas ziemas laiks", "Lieldienu salas vasaras laiks"),
null));
put("Ecuador", new TimeZoneNames("Ecuador",
new TimeZoneNames.Name(null, "Ekvadoras laiks", null),
null));
put("Europe_Central", new TimeZoneNames("Europe_Central",
new TimeZoneNames.Name("Centrāleiropas laiks", "Centrāleiropas ziemas laiks", "Centrāleiropas vasaras laiks"),
new TimeZoneNames.Name("CET", "CET", "CEST")));
put("Europe_Eastern", new TimeZoneNames("Europe_Eastern",
new TimeZoneNames.Name("Austrumeiropas laiks", "Austrumeiropas ziemas laiks", "Austrumeiropas vasaras laiks"),
new TimeZoneNames.Name("EET", "EET", "EEST")));
put("Europe_Further_Eastern", new TimeZoneNames("Europe_Further_Eastern",
new TimeZoneNames.Name(null, "Austrumeiropas laika josla (FET)", null),
null));
put("Europe_Western", new TimeZoneNames("Europe_Western",
new TimeZoneNames.Name("Rietumeiropas laiks", "Rietumeiropas ziemas laiks", "Rietumeiropas vasaras laiks"),
new TimeZoneNames.Name("WET", "WET", "WEST")));
put("Falkland", new TimeZoneNames("Falkland",
new TimeZoneNames.Name("Folklenda (Malvinu) salu laiks", "Folklenda (Malvinu) salu ziemas laiks", "Folklenda (Malvinu) salu vasaras laiks"),
null));
put("Fiji", new TimeZoneNames("Fiji",
new TimeZoneNames.Name("Fidži laiks", "Fidži ziemas laiks", "Fidži vasaras laiks"),
null));
put("French_Guiana", new TimeZoneNames("French_Guiana",
new TimeZoneNames.Name(null, "Franču Gviānas laiks", null),
null));
put("French_Southern", new TimeZoneNames("French_Southern",
new TimeZoneNames.Name(null, "Francijas Dienvidjūru un Antarktikas teritorijas laiks", null),
null));
put("Galapagos", new TimeZoneNames("Galapagos",
new TimeZoneNames.Name(null, "Galapagu laiks", null),
null));
put("Gambier", new TimeZoneNames("Gambier",
new TimeZoneNames.Name(null, "Gambjē salu laiks", null),
null));
put("Georgia", new TimeZoneNames("Georgia",
new TimeZoneNames.Name("Gruzijas laiks", "Gruzijas ziemas laiks", "Gruzijas vasaras laiks"),
null));
put("Gilbert_Islands", new TimeZoneNames("Gilbert_Islands",
new TimeZoneNames.Name(null, "Gilberta salu laiks", null),
null));
put("GMT", new TimeZoneNames("GMT",
new TimeZoneNames.Name(null, "Griničas laiks", null),
null));
put("Greenland_Eastern", new TimeZoneNames("Greenland_Eastern",
new TimeZoneNames.Name("Austrumgrenlandes laiks", "Austrumgrenlandes ziemas laiks", "Austrumgrenlandes vasaras laiks"),
null));
put("Greenland_Western", new TimeZoneNames("Greenland_Western",
new TimeZoneNames.Name("Rietumgrenlandes laiks", "Rietumgrenlandes ziemas laiks", "Rietumgrenlandes vasaras laiks"),
null));
put("Gulf", new TimeZoneNames("Gulf",
new TimeZoneNames.Name(null, "Persijas līča laiks", null),
null));
put("Guyana", new TimeZoneNames("Guyana",
new TimeZoneNames.Name(null, "Gajānas laiks", null),
null));
put("Hawaii_Aleutian", new TimeZoneNames("Hawaii_Aleutian",
new TimeZoneNames.Name("Havaju–Aleutu laiks", "Havaju–Aleutu ziemas laiks", "Havaju–Aleutu vasaras laiks"),
null));
put("Hong_Kong", new TimeZoneNames("Hong_Kong",
new TimeZoneNames.Name("Honkongas laiks", "Honkongas ziemas laiks", "Honkongas vasaras laiks"),
null));
put("Hovd", new TimeZoneNames("Hovd",
new TimeZoneNames.Name("Hovdas laiks", "Hovdas ziemas laiks", "Hovdas vasaras laiks"),
null));
put("India", new TimeZoneNames("India",
new TimeZoneNames.Name(null, "Indijas ziemas laiks", null),
null));
put("Indian_Ocean", new TimeZoneNames("Indian_Ocean",
new TimeZoneNames.Name(null, "Indijas okeāna laiks", null),
null));
put("Indochina", new TimeZoneNames("Indochina",
new TimeZoneNames.Name(null, "Indoķīnas laiks", null),
null));
put("Indonesia_Central", new TimeZoneNames("Indonesia_Central",
new TimeZoneNames.Name(null, "Centrālindonēzijas laiks", null),
null));
put("Indonesia_Eastern", new TimeZoneNames("Indonesia_Eastern",
new TimeZoneNames.Name(null, "Austrumindonēzijas laiks", null),
null));
put("Indonesia_Western", new TimeZoneNames("Indonesia_Western",
new TimeZoneNames.Name(null, "Rietumindonēzijas laiks", null),
null));
put("Iran", new TimeZoneNames("Iran",
new TimeZoneNames.Name("Irānas laiks", "Irānas ziemas laiks", "Irānas vasaras laiks"),
null));
put("Irkutsk", new TimeZoneNames("Irkutsk",
new TimeZoneNames.Name("Irkutskas laiks", "Irkutskas ziemas laiks", "Irkutskas vasaras laiks"),
null));
put("Israel", new TimeZoneNames("Israel",
new TimeZoneNames.Name("Izraēlas laiks", "Izraēlas ziemas laiks", "Izraēlas vasaras laiks"),
null));
put("Japan", new TimeZoneNames("Japan",
new TimeZoneNames.Name("Japānas laiks", "Japānas ziemas laiks", "Japānas vasaras laiks"),
null));
put("Kamchatka", new TimeZoneNames("Kamchatka",
new TimeZoneNames.Name("Petropavlovskas-Kamčatskas laiks", "Petropavlovskas-Kamčatskas ziemas laiks", "Petropavlovskas-Kamčatskas vasaras laiks"),
null));
put("Kazakhstan_Eastern", new TimeZoneNames("Kazakhstan_Eastern",
new TimeZoneNames.Name(null, "Austrumkazahstānas laiks", null),
null));
put("Kazakhstan_Western", new TimeZoneNames("Kazakhstan_Western",
new TimeZoneNames.Name(null, "Rietumkazahstānas laiks", null),
null));
put("Korea", new TimeZoneNames("Korea",
new TimeZoneNames.Name("Korejas laiks", "Korejas ziemas laiks", "Korejas vasaras laiks"),
null));
put("Kosrae", new TimeZoneNames("Kosrae",
new TimeZoneNames.Name(null, "Kosrae laiks", null),
null));
put("Krasnoyarsk", new TimeZoneNames("Krasnoyarsk",
new TimeZoneNames.Name("Krasnojarskas laiks", "Krasnojarskas ziemas laiks", "Krasnojarskas vasaras laiks"),
null));
put("Kyrgystan", new TimeZoneNames("Kyrgystan",
new TimeZoneNames.Name(null, "Kirgizstānas laiks", null),
null));
put("Line_Islands", new TimeZoneNames("Line_Islands",
new TimeZoneNames.Name(null, "Lainas salu laiks", null),
null));
put("Lord_Howe", new TimeZoneNames("Lord_Howe",
new TimeZoneNames.Name("Lorda Hava salas laiks", "Lorda Hava salas ziemas laiks", "Lorda Hava salas vasaras laiks"),
null));
put("Macquarie", new TimeZoneNames("Macquarie",
new TimeZoneNames.Name(null, "Makvorija salas laiks", null),
null));
put("Magadan", new TimeZoneNames("Magadan",
new TimeZoneNames.Name("Magadanas laiks", "Magadanas ziemas laiks", "Magadanas vasaras laiks"),
null));
put("Malaysia", new TimeZoneNames("Malaysia",
new TimeZoneNames.Name(null, "Malaizijas laiks", null),
null));
put("Maldives", new TimeZoneNames("Maldives",
new TimeZoneNames.Name(null, "Maldīvijas laiks", null),
null));
put("Marquesas", new TimeZoneNames("Marquesas",
new TimeZoneNames.Name(null, "Marķīza salu laiks", null),
null));
put("Marshall_Islands", new TimeZoneNames("Marshall_Islands",
new TimeZoneNames.Name(null, "Māršala salu laiks", null),
null));
put("Mauritius", new TimeZoneNames("Mauritius",
new TimeZoneNames.Name("Maurīcijas laiks", "Maurīcijas ziemas laiks", "Maurīcijas vasaras laiks"),
null));
put("Mawson", new TimeZoneNames("Mawson",
new TimeZoneNames.Name(null, "Mosonas laiks", null),
null));
put("Mexico_Northwest", new TimeZoneNames("Mexico_Northwest",
new TimeZoneNames.Name("Ziemeļrietumu Meksikas laiks", "Ziemeļrietumu Meksikas ziemas laiks", "Ziemeļrietumu Meksikas vasaras laiks"),
null));
put("Mexico_Pacific", new TimeZoneNames("Mexico_Pacific",
new TimeZoneNames.Name("Meksikas Klusā okeāna piekrastes laiks", "Meksikas Klusā okeāna piekrastes ziemas laiks", "Meksikas Klusā okeāna piekrastes vasaras laiks"),
null));
put("Mongolia", new TimeZoneNames("Mongolia",
new TimeZoneNames.Name("Ulanbatoras laiks", "Ulanbatoras ziemas laiks", "Ulanbatoras vasaras laiks"),
null));
put("Moscow", new TimeZoneNames("Moscow",
new TimeZoneNames.Name("Maskavas laiks", "Maskavas ziemas laiks", "Maskavas vasaras laiks"),
null));
put("Myanmar", new TimeZoneNames("Myanmar",
new TimeZoneNames.Name(null, "Mjanmas laiks", null),
null));
put("Nauru", new TimeZoneNames("Nauru",
new TimeZoneNames.Name(null, "Nauru laiks", null),
null));
put("Nepal", new TimeZoneNames("Nepal",
new TimeZoneNames.Name(null, "Nepālas laiks", null),
null));
put("New_Caledonia", new TimeZoneNames("New_Caledonia",
new TimeZoneNames.Name("Jaunkaledonijas laiks", "Jaunkaledonijas ziemas laiks", "Jaunkaledonijas vasaras laiks"),
null));
put("New_Zealand", new TimeZoneNames("New_Zealand",
new TimeZoneNames.Name("Jaunzēlandes laiks", "Jaunzēlandes ziemas laiks", "Jaunzēlandes vasaras laiks"),
null));
put("Newfoundland", new TimeZoneNames("Newfoundland",
new TimeZoneNames.Name("Ņūfaundlendas laiks", "Ņūfaundlendas ziemas laiks", "Ņūfaundlendas vasaras laiks"),
null));
put("Niue", new TimeZoneNames("Niue",
new TimeZoneNames.Name(null, "Niue laiks", null),
null));
put("Norfolk", new TimeZoneNames("Norfolk",
new TimeZoneNames.Name(null, "Norfolkas salas laiks", null),
null));
put("Noronha", new TimeZoneNames("Noronha",
new TimeZoneNames.Name("Fernandu di Noroņas laiks", "Fernandu di Noroņas ziemas laiks", "Fernandu di Noroņas vasaras laiks"),
null));
put("Novosibirsk", new TimeZoneNames("Novosibirsk",
new TimeZoneNames.Name("Novosibirskas laiks", "Novosibirskas ziemas laiks", "Novosibirskas vasaras laiks"),
null));
put("Omsk", new TimeZoneNames("Omsk",
new TimeZoneNames.Name("Omskas laiks", "Omskas ziemas laiks", "Omskas vasaras laiks"),
null));
put("Pakistan", new TimeZoneNames("Pakistan",
new TimeZoneNames.Name("Pakistānas laiks", "Pakistānas ziemas laiks", "Pakistānas vasaras laiks"),
null));
put("Palau", new TimeZoneNames("Palau",
new TimeZoneNames.Name(null, "Palau laiks", null),
null));
put("Papua_New_Guinea", new TimeZoneNames("Papua_New_Guinea",
new TimeZoneNames.Name(null, "Papua-Jaungvinejas laiks", null),
null));
put("Paraguay", new TimeZoneNames("Paraguay",
new TimeZoneNames.Name("Paragvajas laiks", "Paragvajas ziemas laiks", "Paragvajas vasaras laiks"),
null));
put("Peru", new TimeZoneNames("Peru",
new TimeZoneNames.Name("Peru laiks", "Peru ziemas laiks", "Peru vasaras laiks"),
null));
put("Philippines", new TimeZoneNames("Philippines",
new TimeZoneNames.Name("Filipīnu laiks", "Filipīnu ziemas laiks", "Filipīnu vasaras laiks"),
null));
put("Phoenix_Islands", new TimeZoneNames("Phoenix_Islands",
new TimeZoneNames.Name(null, "Fēniksa salu laiks", null),
null));
put("Pierre_Miquelon", new TimeZoneNames("Pierre_Miquelon",
new TimeZoneNames.Name("Senpjēras un Mikelonas laiks", "Senpjēras un Mikelonas ziemas laiks", "Senpjēras un Mikelonas vasaras laiks"),
null));
put("Pitcairn", new TimeZoneNames("Pitcairn",
new TimeZoneNames.Name(null, "Pitkērnas laiks", null),
null));
put("Ponape", new TimeZoneNames("Ponape",
new TimeZoneNames.Name(null, "Ponapē laiks", null),
null));
put("Pyongyang", new TimeZoneNames("Pyongyang",
new TimeZoneNames.Name(null, "Phenjanas laiks", null),
null));
put("Reunion", new TimeZoneNames("Reunion",
new TimeZoneNames.Name(null, "Reinjonas laiks", null),
null));
put("Rothera", new TimeZoneNames("Rothera",
new TimeZoneNames.Name(null, "Roteras laiks", null),
null));
put("Sakhalin", new TimeZoneNames("Sakhalin",
new TimeZoneNames.Name("Sahalīnas laiks", "Sahalīnas ziemas laiks", "Sahalīnas vasaras laiks"),
null));
put("Samara", new TimeZoneNames("Samara",
new TimeZoneNames.Name("Samaras laiks", "Samaras ziemas laiks", "Samaras vasaras laiks"),
null));
put("Samoa", new TimeZoneNames("Samoa",
new TimeZoneNames.Name("Samoa laiks", "Samoa ziemas laiks", "Samoa vasaras laiks"),
null));
put("Seychelles", new TimeZoneNames("Seychelles",
new TimeZoneNames.Name(null, "Seišeļu salu laiks", null),
null));
put("Singapore", new TimeZoneNames("Singapore",
new TimeZoneNames.Name(null, "Singapūras laiks", null),
null));
put("Solomon", new TimeZoneNames("Solomon",
new TimeZoneNames.Name(null, "Zālamana salu laiks", null),
null));
put("South_Georgia", new TimeZoneNames("South_Georgia",
new TimeZoneNames.Name(null, "Dienviddžordžijas laiks", null),
null));
put("Suriname", new TimeZoneNames("Suriname",
new TimeZoneNames.Name(null, "Surinamas laiks", null),
null));
put("Syowa", new TimeZoneNames("Syowa",
new TimeZoneNames.Name(null, "Šovas laiks", null),
null));
put("Tahiti", new TimeZoneNames("Tahiti",
new TimeZoneNames.Name(null, "Taiti laiks", null),
null));
put("Taipei", new TimeZoneNames("Taipei",
new TimeZoneNames.Name("Taibei laiks", "Taibei ziemas laiks", "Taibei vasaras laiks"),
null));
put("Tajikistan", new TimeZoneNames("Tajikistan",
new TimeZoneNames.Name(null, "Tadžikistānas laiks", null),
null));
put("Tokelau", new TimeZoneNames("Tokelau",
new TimeZoneNames.Name(null, "Tokelau laiks", null),
null));
put("Tonga", new TimeZoneNames("Tonga",
new TimeZoneNames.Name("Tongas laiks", "Tongas ziemas laiks", "Tongas vasaras laiks"),
null));
put("Truk", new TimeZoneNames("Truk",
new TimeZoneNames.Name(null, "Čūkas laiks", null),
null));
put("Turkmenistan", new TimeZoneNames("Turkmenistan",
new TimeZoneNames.Name("Turkmenistānas laiks", "Turkmenistānas ziemas laiks", "Turkmenistānas vasaras laiks"),
null));
put("Tuvalu", new TimeZoneNames("Tuvalu",
new TimeZoneNames.Name(null, "Tuvalu laiks", null),
null));
put("Uruguay", new TimeZoneNames("Uruguay",
new TimeZoneNames.Name("Urugvajas laiks", "Urugvajas ziemas laiks", "Urugvajas vasaras laiks"),
null));
put("Uzbekistan", new TimeZoneNames("Uzbekistan",
new TimeZoneNames.Name("Uzbekistānas laiks", "Uzbekistānas ziemas laiks", "Uzbekistānas vasaras laiks"),
null));
put("Vanuatu", new TimeZoneNames("Vanuatu",
new TimeZoneNames.Name("Vanuatu laiks", "Vanuatu ziemas laiks", "Vanuatu vasaras laiks"),
null));
put("Venezuela", new TimeZoneNames("Venezuela",
new TimeZoneNames.Name(null, "Venecuēlas laiks", null),
null));
put("Vladivostok", new TimeZoneNames("Vladivostok",
new TimeZoneNames.Name("Vladivostokas laiks", "Vladivostokas ziemas laiks", "Vladivostokas vasaras laiks"),
null));
put("Volgograd", new TimeZoneNames("Volgograd",
new TimeZoneNames.Name("Volgogradas laiks", "Volgogradas ziemas laiks", "Volgogradas vasaras laiks"),
null));
put("Vostok", new TimeZoneNames("Vostok",
new TimeZoneNames.Name(null, "Vostokas laiks", null),
null));
put("Wake", new TimeZoneNames("Wake",
new TimeZoneNames.Name(null, "Veika salas laiks", null),
null));
put("Wallis", new TimeZoneNames("Wallis",
new TimeZoneNames.Name(null, "Volisas un Futunas laiks", null),
null));
put("Yakutsk", new TimeZoneNames("Yakutsk",
new TimeZoneNames.Name("Jakutskas laiks", "Jakutskas ziemas laiks", "Jakutskas vasaras laiks"),
null));
put("Yekaterinburg", new TimeZoneNames("Yekaterinburg",
new TimeZoneNames.Name("Jekaterinburgas laiks", "Jekaterinburgas ziemas laiks", "Jekaterinburgas vasaras laiks"),
null));
} };
}
@Override
public void formatDate(CalendarFormat type, ZonedDateTime d, StringBuilder b) {
if (type == null) {
return;
}
switch (type) {
case SHORT: {
// "dd.MM.yy"
formatField(d, 'd', 2, b);
b.append(".");
formatField(d, 'M', 2, b);
b.append(".");
formatField(d, 'y', 2, b);
break;
}
case MEDIUM: {
// "y. 'gada' d. MMM"
formatField(d, 'y', 1, b);
b.append(". gada ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case LONG: {
// "y. 'gada' d. MMMM"
formatField(d, 'y', 1, b);
b.append(". gada ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 4, b);
break;
}
case FULL: {
// "EEEE, y. 'gada' d. MMMM"
formatField(d, 'E', 4, b);
b.append(", ");
formatField(d, 'y', 1, b);
b.append(". gada ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 4, b);
break;
}
}
}
@Override
public void formatTime(CalendarFormat type, ZonedDateTime d, StringBuilder b) {
if (type == null) {
return;
}
switch (type) {
case SHORT: {
// "HH:mm"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
break;
}
case MEDIUM: {
// "HH:mm:ss"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case LONG: {
// "HH:mm:ss z"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'z', 1, b);
break;
}
case FULL: {
// "HH:mm:ss zzzz"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'z', 4, b);
break;
}
}
}
@Override
public void formatWrapped(CalendarFormat wrapperType, CalendarFormat dateType,
CalendarFormat timeType, String dateSkel, String timeSkel, ZonedDateTime d, StringBuilder b) {
switch (wrapperType) {
case SHORT:
case MEDIUM:
case LONG:
case FULL:
{
// "{1} {0}"
if (dateType != null) {
formatDate(dateType, d, b);
} else {
formatSkeleton(dateSkel, d, b);
}
b.append(" ");
if (timeType != null) {
formatTime(timeType, d, b);
} else {
formatSkeleton(timeSkel, d, b);
}
break;
}
}
}
@Override
public boolean formatSkeleton(String skeleton, ZonedDateTime d, StringBuilder b) {
if (skeleton == null) {
return false;
}
switch (skeleton) {
case "d": {
// Pattern: "d"
formatField(d, 'd', 1, b);
break;
}
case "E": {
// Pattern: "ccc"
formatField(d, 'c', 3, b);
break;
}
case "Ed": {
// Pattern: "E, d."
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(".");
break;
}
case "Ehm": {
// Pattern: "E, h:mm a"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "EHm": {
// Pattern: "E, HH:mm"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
break;
}
case "Ehms": {
// Pattern: "E, h:mm:ss a"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "EHms": {
// Pattern: "E, HH:mm:ss"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case "Gy": {
// Pattern: "G y. 'g'."
formatField(d, 'G', 1, b);
b.append(" ");
formatField(d, 'y', 1, b);
b.append(". g.");
break;
}
case "GyMMM": {
// Pattern: "G y. 'g'. MMM"
formatField(d, 'G', 1, b);
b.append(" ");
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'M', 3, b);
break;
}
case "GyMMMd": {
// Pattern: "G y. 'g'. d. MMM"
formatField(d, 'G', 1, b);
b.append(" ");
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "GyMMMEd": {
// Pattern: "E, G y. 'g'. d. MMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'G', 1, b);
b.append(" ");
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "h": {
// Pattern: "h a"
formatField(d, 'h', 1, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "H": {
// Pattern: "HH"
formatField(d, 'H', 2, b);
break;
}
case "hm": {
// Pattern: "h:mm a"
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "Hm": {
// Pattern: "HH:mm"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
break;
}
case "hms": {
// Pattern: "h:mm:ss a"
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "Hms": {
// Pattern: "HH:mm:ss"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case "hmsv": {
// Pattern: "h:mm:ss a v"
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
b.append(" ");
formatField(d, 'v', 1, b);
break;
}
case "Hmsv": {
// Pattern: "HH:mm:ss v"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
b.append(" ");
formatField(d, 'v', 1, b);
break;
}
case "hmv": {
// Pattern: "h:mm a v"
formatField(d, 'h', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(" ");
formatField(d, 'a', 1, b);
b.append(" ");
formatField(d, 'v', 1, b);
break;
}
case "Hmv": {
// Pattern: "HH:mm v"
formatField(d, 'H', 2, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(" ");
formatField(d, 'v', 1, b);
break;
}
case "M": {
// Pattern: "L"
formatField(d, 'L', 1, b);
break;
}
case "Md": {
// Pattern: "dd.MM."
formatField(d, 'd', 2, b);
b.append(".");
formatField(d, 'M', 2, b);
b.append(".");
break;
}
case "MEd": {
// Pattern: "E, dd.MM."
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 2, b);
b.append(".");
formatField(d, 'M', 2, b);
b.append(".");
break;
}
case "MMM": {
// Pattern: "LLL"
formatField(d, 'L', 3, b);
break;
}
case "MMMd": {
// Pattern: "d. MMM"
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "MMMEd": {
// Pattern: "E, d. MMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "MMMMd": {
// Pattern: "d. MMMM"
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 4, b);
break;
}
case "MMMMEd": {
// Pattern: "E, d. MMMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 4, b);
break;
}
case "MMMMW-count-zero": {
// Pattern: "MMM W. 'nedēļa'"
formatField(d, 'M', 3, b);
b.append(" ");
formatField(d, 'W', 1, b);
b.append(". nedēļa");
break;
}
case "MMMMW-count-one": {
// Pattern: "MMM W. 'nedēļa'"
formatField(d, 'M', 3, b);
b.append(" ");
formatField(d, 'W', 1, b);
b.append(". nedēļa");
break;
}
case "MMMMW-count-other": {
// Pattern: "MMM W. 'nedēļa'"
formatField(d, 'M', 3, b);
b.append(" ");
formatField(d, 'W', 1, b);
b.append(". nedēļa");
break;
}
case "mmss": {
// Pattern: "mm:ss"
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case "ms": {
// Pattern: "mm:ss"
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case "y": {
// Pattern: "y. 'g'."
formatField(d, 'y', 1, b);
b.append(". g.");
break;
}
case "yM": {
// Pattern: "MM.y."
formatField(d, 'M', 2, b);
b.append(".");
formatField(d, 'y', 1, b);
b.append(".");
break;
}
case "yMd": {
// Pattern: "y.MM.d."
formatField(d, 'y', 1, b);
b.append(".");
formatField(d, 'M', 2, b);
b.append(".");
formatField(d, 'd', 1, b);
b.append(".");
break;
}
case "yMEd": {
// Pattern: "E, d.M.y."
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(".");
formatField(d, 'M', 1, b);
b.append(".");
formatField(d, 'y', 1, b);
b.append(".");
break;
}
case "yMMM": {
// Pattern: "y. 'g'. MMM"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'M', 3, b);
break;
}
case "yMMMd": {
// Pattern: "y. 'g'. d. MMM"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "yMMMEd": {
// Pattern: "E, y. 'g'. d. MMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'd', 1, b);
b.append(". ");
formatField(d, 'M', 3, b);
break;
}
case "yMMMM": {
// Pattern: "y. 'g'. MMMM"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'M', 4, b);
break;
}
case "yQQQ": {
// Pattern: "y. 'g'. QQQ"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'Q', 3, b);
break;
}
case "yQQQQ": {
// Pattern: "y. 'g'. QQQQ"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'Q', 4, b);
break;
}
case "yw-count-zero": {
// Pattern: "y. 'g'. w. 'nedēļa'"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'w', 1, b);
b.append(". nedēļa");
break;
}
case "yw-count-one": {
// Pattern: "y. 'g'. w. 'nedēļa'"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'w', 1, b);
b.append(". nedēļa");
break;
}
case "yw-count-other": {
// Pattern: "y. 'g'. w. 'nedēļa'"
formatField(d, 'y', 1, b);
b.append(". g. ");
formatField(d, 'w', 1, b);
b.append(". nedēļa");
break;
}
default: {
return false;
}
}
return true;
}
@Override
public void formatInterval(ZonedDateTime s, ZonedDateTime e, String k, DateTimeField f,
StringBuilder b) {
if (k != null && f != null) {
switch (k) {
case "d": {
switch (f) {
case DAY: {
// "d.–"
formatField(s, 'd', 1, b);
b.append(".–");
// "d."
formatField(e, 'd', 1, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "hm": {
switch (f) {
case AM_PM: {
// "h:mm a – "
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append(" ");
formatField(s, 'a', 1, b);
b.append(" – ");
// "h:mm a"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
return;
}
case HOUR: {
// "h:mm–"
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "h:mm a"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
return;
}
case MINUTE: {
// "h:mm–"
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "h:mm a"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
return;
}
default: break;
}
break;
}
case "Hm": {
switch (f) {
case HOUR: {
// "HH:mm–"
formatField(s, 'H', 2, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "HH:mm"
formatField(e, 'H', 2, b);
b.append(":");
formatField(e, 'm', 2, b);
return;
}
case MINUTE: {
// "HH:mm–"
formatField(s, 'H', 2, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "HH:mm"
formatField(e, 'H', 2, b);
b.append(":");
formatField(e, 'm', 2, b);
return;
}
default: break;
}
break;
}
case "h": {
switch (f) {
case AM_PM: {
// "h a – "
formatField(s, 'h', 1, b);
b.append(" ");
formatField(s, 'a', 1, b);
b.append(" – ");
// "h a"
formatField(e, 'h', 1, b);
b.append(" ");
formatField(e, 'a', 1, b);
return;
}
case HOUR: {
// "h–"
formatField(s, 'h', 1, b);
b.append("–");
// "h a"
formatField(e, 'h', 1, b);
b.append(" ");
formatField(e, 'a', 1, b);
return;
}
default: break;
}
break;
}
case "H": {
switch (f) {
case HOUR: {
// "HH–"
formatField(s, 'H', 2, b);
b.append("–");
// "HH"
formatField(e, 'H', 2, b);
return;
}
default: break;
}
break;
}
case "yMMMEd": {
switch (f) {
case DAY: {
// "E, y. 'g'a'd'a d. MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, y. 'g'a'd'a d. MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case YEAR: {
// "E, y. 'g'a'd'a d. MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, y. 'g'a'd'a d. MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "E, y. 'g'a'd'a d. MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, y. 'g'a'd'a d. MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
case "yMEd": {
switch (f) {
case DAY: {
// "E, dd.MM.y. – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(". – ");
// "E, dd.MM.y."
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
case YEAR: {
// "E, dd.MM.y. – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(". – ");
// "E, dd.MM.y."
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
case MONTH: {
// "E, dd.MM.y. – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(". – ");
// "E, dd.MM.y."
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "MMM": {
switch (f) {
case MONTH: {
// "LLL–"
formatField(s, 'L', 3, b);
b.append("–");
// "LLL"
formatField(e, 'L', 3, b);
return;
}
default: break;
}
break;
}
case "yMMM": {
switch (f) {
case YEAR: {
// "y. 'g'a'd'a MMM – "
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "y. 'g'a'd'a MMM"
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "y. 'g'a'd'a MMM–"
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'M', 3, b);
b.append("–");
// "MMM"
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
case "M": {
switch (f) {
case MONTH: {
// "MM.–"
formatField(s, 'M', 2, b);
b.append(".–");
// "MM."
formatField(e, 'M', 2, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "MEd": {
switch (f) {
case DAY: {
// "E, dd.MM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(" – ");
// "E, dd.MM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
return;
}
case MONTH: {
// "E, dd.MM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(" – ");
// "E, dd.MM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
return;
}
default: break;
}
break;
}
case "MMMEd": {
switch (f) {
case DAY: {
// "E, d. MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, d. MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "E, d. MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, d. MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
case "hv": {
switch (f) {
case AM_PM: {
// "h a – "
formatField(s, 'h', 1, b);
b.append(" ");
formatField(s, 'a', 1, b);
b.append(" – ");
// "h a v"
formatField(e, 'h', 1, b);
b.append(" ");
formatField(e, 'a', 1, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
case HOUR: {
// "h–"
formatField(s, 'h', 1, b);
b.append("–");
// "h a v"
formatField(e, 'h', 1, b);
b.append(" ");
formatField(e, 'a', 1, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
default: break;
}
break;
}
case "Hv": {
switch (f) {
case HOUR: {
// "HH–"
formatField(s, 'H', 2, b);
b.append("–");
// "HH v"
formatField(e, 'H', 2, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
default: break;
}
break;
}
case "hmv": {
switch (f) {
case AM_PM: {
// "h:mm a – "
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append(" ");
formatField(s, 'a', 1, b);
b.append(" – ");
// "h:mm a v"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
case HOUR: {
// "h:mm–"
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "h:mm a v"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
case MINUTE: {
// "h:mm–"
formatField(s, 'h', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "h:mm a, v"
formatField(e, 'h', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'a', 1, b);
b.append(", ");
formatField(e, 'v', 1, b);
return;
}
default: break;
}
break;
}
case "Hmv": {
switch (f) {
case HOUR: {
// "HH:mm–"
formatField(s, 'H', 2, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "HH:mm v"
formatField(e, 'H', 2, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
case MINUTE: {
// "HH:mm–"
formatField(s, 'H', 2, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "HH:mm v"
formatField(e, 'H', 2, b);
b.append(":");
formatField(e, 'm', 2, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
default: break;
}
break;
}
case "yMd": {
switch (f) {
case DAY: {
// "dd.MM.y.–"
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(".–");
// "dd.MM.y."
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
case YEAR: {
// "dd.MM.y.–"
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(".–");
// "dd.MM.y."
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
case MONTH: {
// "dd.MM.y.–"
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(".–");
// "dd.MM.y."
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "MMMd": {
switch (f) {
case DAY: {
// "d.–"
formatField(s, 'd', 1, b);
b.append(".–");
// "d. MMM"
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "d. MMM – "
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "d. MMM"
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
case "yM": {
switch (f) {
case YEAR: {
// "MM.y.–"
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(".–");
// "MM.y."
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
case MONTH: {
// "MM.y.–"
formatField(s, 'M', 2, b);
b.append(".");
formatField(s, 'y', 1, b);
b.append(".–");
// "MM.y."
formatField(e, 'M', 2, b);
b.append(".");
formatField(e, 'y', 1, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "yMMMM": {
switch (f) {
case YEAR: {
// "y. 'g'a'd'a MMMM – "
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'M', 4, b);
b.append(" – ");
// "y. 'g'a'd'a MMMM"
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'M', 4, b);
return;
}
case MONTH: {
// "y. 'g'a'd'a MMMM – "
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'M', 4, b);
b.append(" – ");
// "MMMM"
formatField(e, 'M', 4, b);
return;
}
default: break;
}
break;
}
case "Md": {
switch (f) {
case DAY: {
// "dd.MM.–"
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append(".–");
// "dd.MM."
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
b.append(".");
return;
}
case MONTH: {
// "dd.MM–"
formatField(s, 'd', 2, b);
b.append(".");
formatField(s, 'M', 2, b);
b.append("–");
// "dd.MM"
formatField(e, 'd', 2, b);
b.append(".");
formatField(e, 'M', 2, b);
return;
}
default: break;
}
break;
}
case "y": {
switch (f) {
case YEAR: {
// "y.–"
formatField(s, 'y', 1, b);
b.append(".–");
// "y."
formatField(e, 'y', 1, b);
b.append(".");
return;
}
default: break;
}
break;
}
case "yMMMd": {
switch (f) {
case DAY: {
// "y. 'g'a'd'a d.–"
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(".–");
// "d. MMM"
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case YEAR: {
// "y. 'g'a'd'a d. MMM – "
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "y. 'g'a'd'a d. MMM"
formatField(e, 'y', 1, b);
b.append(". gada ");
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "y. 'g'a'd'a d. MMM – "
formatField(s, 'y', 1, b);
b.append(". gada ");
formatField(s, 'd', 1, b);
b.append(". ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "d. MMM"
formatField(e, 'd', 1, b);
b.append(". ");
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
default: break;
}
// "{0} - {1}"
formatSkeleton(k, s, b);
b.append(" - ");
formatSkeleton(k, e, b);
}
}
protected void wrapTimeZoneGMT(StringBuilder b, boolean neg, int hours, int mins,
boolean _short) {
if (hours == 0 && mins == 0) {
b.append("GMT");
return;
}
boolean emitMins = !_short || mins > 0;
b.append("GMT");
if (neg) {
b.append("-");
zeroPad2(b, hours, _short ? 1 : 2);
if (emitMins) {
b.append(":");
}
if (emitMins) {
zeroPad2(b, mins, 2);
}
}
else {
b.append("+");
zeroPad2(b, hours, _short ? 1 : 2);
if (emitMins) {
b.append(":");
}
if (emitMins) {
zeroPad2(b, mins, 2);
}
}
}
protected void wrapTimeZoneRegion(StringBuilder b, String region) {
b.append("Laika josla: ");
b.append(region);
}
}