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_ca_IT 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 "ca_IT"
* See http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
*/
public class _CalendarFormatter_ca_IT extends CalendarFormatterBase {
public _CalendarFormatter_ca_IT() {
this.bundleId = CLDR.Locale.ca_IT;
this.firstDay = 1;
this.minDays = 4;
this.eras = new FieldVariants(
new String[] {"aC", "dC"},
new String[] {"aC", "dC"},
new String[] {},
new String[] {"abans de Crist", "després de Crist"});
this.quartersFormat = new FieldVariants(
new String[] {"1T", "2T", "3T", "4T"},
new String[] {"1", "2", "3", "4"},
new String[] {},
new String[] {"1r trimestre", "2n trimestre", "3r trimestre", "4t trimestre"});
this.quartersStandalone = new FieldVariants(
new String[] {"1T", "2T", "3T", "4T"},
new String[] {"1", "2", "3", "4"},
new String[] {},
new String[] {"1r trimestre", "2n trimestre", "3r trimestre", "4t trimestre"});
this.monthsFormat = new FieldVariants(
new String[] {"de gen.", "de febr.", "de març", "d’abr.", "de maig", "de juny", "de jul.", "d’ag.", "de set.", "d’oct.", "de nov.", "de des."},
new String[] {"GN", "FB", "MÇ", "AB", "MG", "JN", "JL", "AG", "ST", "OC", "NV", "DS"},
new String[] {},
new String[] {"de gener", "de febrer", "de març", "d’abril", "de maig", "de juny", "de juliol", "d’agost", "de setembre", "d’octubre", "de novembre", "de desembre"});
this.monthsStandalone = new FieldVariants(
new String[] {"gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des."},
new String[] {"GN", "FB", "MÇ", "AB", "MG", "JN", "JL", "AG", "ST", "OC", "NV", "DS"},
new String[] {},
new String[] {"gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre"});
this.weekdaysFormat = new FieldVariants(
new String[] {"dg.", "dl.", "dt.", "dc.", "dj.", "dv.", "ds."},
new String[] {"dg", "dl", "dt", "dc", "dj", "dv", "ds"},
new String[] {"dg.", "dl.", "dt.", "dc.", "dj.", "dv.", "ds."},
new String[] {"diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"});
this.weekdaysStandalone = new FieldVariants(
new String[] {"dg.", "dl.", "dt.", "dc.", "dj.", "dv.", "ds."},
new String[] {"dg", "dl", "dt", "dc", "dj", "dv", "ds"},
new String[] {"dg.", "dl.", "dt.", "dc.", "dj.", "dv.", "ds."},
new String[] {"diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"});
this.dayPeriodsFormat = new FieldVariants(
new String[] {"a. m.", "p. m."},
new String[] {"a. m.", "p. m."},
new String[] {},
new String[] {"a. m.", "p. m."});
this.dayPeriodsStandalone = new FieldVariants(
new String[] {"a. m.", "p. m."},
new String[] {"a. m.", "p. m."},
new String[] {},
new String[] {"a. m.", "p. m."});
this.exemplarCities = new HashMap() { {
put("America/Adak", "Adak");
put("America/Anchorage", "Anchorage");
put("America/Anguilla", "Anguilla");
put("America/Antigua", "Antigua");
put("America/Araguaina", "Araguaína");
put("America/Argentina/Rio_Gallegos", "Río Gallegos");
put("America/Argentina/San_Juan", "San Juan");
put("America/Argentina/Ushuaia", "Ushuaia");
put("America/Argentina/La_Rioja", "La Rioja");
put("America/Argentina/San_Luis", "San Luis");
put("America/Argentina/Salta", "Salta");
put("America/Argentina/Tucuman", "Tucumán");
put("America/Aruba", "Aruba");
put("America/Asuncion", "Asunción");
put("America/Bahia", "Bahia");
put("America/Bahia_Banderas", "bahía de Banderas");
put("America/Barbados", "Barbados");
put("America/Belem", "Belém");
put("America/Belize", "Belize");
put("America/Blanc-Sablon", "Blanc Sablon");
put("America/Boa_Vista", "Boa Vista");
put("America/Bogota", "Bogotà");
put("America/Boise", "Boise");
put("America/Buenos_Aires", "Buenos Aires");
put("America/Cambridge_Bay", "Cambridge Bay");
put("America/Campo_Grande", "Campo Grande");
put("America/Cancun", "Cancun");
put("America/Caracas", "Caracas");
put("America/Catamarca", "Catamarca");
put("America/Cayenne", "Caiena");
put("America/Cayman", "Caiman");
put("America/Chicago", "Chicago");
put("America/Chihuahua", "Chihuahua");
put("America/Coral_Harbour", "Atikokan");
put("America/Cordoba", "Córdoba");
put("America/Costa_Rica", "Costa Rica");
put("America/Creston", "Creston");
put("America/Cuiaba", "Cuiabá");
put("America/Curacao", "Curaçao");
put("America/Danmarkshavn", "Danmarkshavn");
put("America/Dawson", "Dawson");
put("America/Dawson_Creek", "Dawson Creek");
put("America/Denver", "Denver");
put("America/Detroit", "Detroit");
put("America/Dominica", "Dominica");
put("America/Edmonton", "Edmonton");
put("America/Eirunepe", "Eirunepé");
put("America/El_Salvador", "El Salvador");
put("America/Fort_Nelson", "Fort Nelson");
put("America/Fortaleza", "Fortaleza");
put("America/Glace_Bay", "Glace Bay");
put("America/Godthab", "Nuuk");
put("America/Goose_Bay", "Goose Bay");
put("America/Grand_Turk", "Grand Turk");
put("America/Grenada", "Grenada");
put("America/Guadeloupe", "Guadeloupe");
put("America/Guatemala", "Guatemala");
put("America/Guayaquil", "Guayaquil");
put("America/Guyana", "Guyana");
put("America/Halifax", "Halifax");
put("America/Havana", "Havana");
put("America/Hermosillo", "Hermosillo");
put("America/Indiana/Vincennes", "Vincennes, Indiana");
put("America/Indiana/Petersburg", "Petersburg, Indiana");
put("America/Indiana/Tell_City", "Tell City, Indiana");
put("America/Indiana/Knox", "Knox, Indiana");
put("America/Indiana/Winamac", "Winamac, Indiana");
put("America/Indiana/Marengo", "Marengo, Indiana");
put("America/Indiana/Vevay", "Vevay, Indiana");
put("America/Indianapolis", "Indianapolis");
put("America/Inuvik", "Inuvik");
put("America/Iqaluit", "Iqaluit");
put("America/Jamaica", "Jamaica");
put("America/Jujuy", "Jujuy");
put("America/Juneau", "Juneau");
put("America/Kentucky/Monticello", "Monticello, Kentucky");
put("America/Kralendijk", "Kralendijk");
put("America/La_Paz", "La Paz");
put("America/Lima", "Lima");
put("America/Los_Angeles", "Los Angeles");
put("America/Louisville", "Louisville");
put("America/Lower_Princes", "Lower Prince’s Quarter");
put("America/Maceio", "Maceió");
put("America/Managua", "Managua");
put("America/Manaus", "Manaus");
put("America/Marigot", "Marigot");
put("America/Martinique", "Martinica");
put("America/Matamoros", "Matamoros");
put("America/Mazatlan", "Mazatlán");
put("America/Mendoza", "Mendoza");
put("America/Menominee", "Menominee");
put("America/Merida", "Mérida");
put("America/Metlakatla", "Metlakatla");
put("America/Mexico_City", "Ciutat de Mèxic");
put("America/Miquelon", "Miquelon");
put("America/Moncton", "Moncton");
put("America/Monterrey", "Monterrey");
put("America/Montevideo", "Montevideo");
put("America/Montserrat", "Montserrat");
put("America/Nassau", "Nassau");
put("America/New_York", "Nova York");
put("America/Nipigon", "Nipigon");
put("America/Nome", "Nome");
put("America/Noronha", "Noronha");
put("America/North_Dakota/Beulah", "Beulah, Dakota del Nord");
put("America/North_Dakota/New_Salem", "New Salem, Dakota del Nord");
put("America/North_Dakota/Center", "Center, Dakota del Nord");
put("America/Ojinaga", "Ojinaga");
put("America/Panama", "Panamà");
put("America/Pangnirtung", "Pangnirtung");
put("America/Paramaribo", "Paramaribo");
put("America/Phoenix", "Phoenix");
put("America/Port-au-Prince", "Port-au-Prince");
put("America/Port_of_Spain", "Port of Spain");
put("America/Porto_Velho", "Porto Velho");
put("America/Puerto_Rico", "Puerto Rico");
put("America/Rainy_River", "Rainy River");
put("America/Rankin_Inlet", "Rankin Inlet");
put("America/Recife", "Recife");
put("America/Regina", "Regina");
put("America/Resolute", "Resolute");
put("America/Rio_Branco", "Río Branco");
put("America/Santa_Isabel", "Santa Isabel");
put("America/Santarem", "Santarém");
put("America/Santiago", "Santiago");
put("America/Santo_Domingo", "Santo Domingo");
put("America/Sao_Paulo", "São Paulo");
put("America/Scoresbysund", "Scoresbysund");
put("America/Sitka", "Sitka");
put("America/St_Barthelemy", "Saint Barthélemy");
put("America/St_Johns", "Saint John’s");
put("America/St_Kitts", "Saint Kitts");
put("America/St_Lucia", "Saint Lucia");
put("America/St_Thomas", "Saint Thomas");
put("America/St_Vincent", "Saint Vincent");
put("America/Swift_Current", "Swift Current");
put("America/Tegucigalpa", "Tegucigalpa");
put("America/Thule", "Thule");
put("America/Thunder_Bay", "Thunder Bay");
put("America/Tijuana", "Tijuana");
put("America/Toronto", "Toronto");
put("America/Tortola", "Tortola");
put("America/Vancouver", "Vancouver");
put("America/Whitehorse", "Whitehorse");
put("America/Winnipeg", "Winnipeg");
put("America/Yakutat", "Yakutat");
put("America/Yellowknife", "Yellowknife");
put("Atlantic/Azores", "Açores");
put("Atlantic/Bermuda", "Bermudes");
put("Atlantic/Canary", "Illes Canàries");
put("Atlantic/Cape_Verde", "Cap Verd");
put("Atlantic/Faeroe", "Illes Fèroe");
put("Atlantic/Madeira", "Madeira");
put("Atlantic/Reykjavik", "Reykjavik");
put("Atlantic/South_Georgia", "Geòrgia del Sud");
put("Atlantic/St_Helena", "Saint Helena");
put("Atlantic/Stanley", "Stanley");
put("Europe/Amsterdam", "Amsterdam");
put("Europe/Andorra", "Andorra");
put("Europe/Astrakhan", "Astrakhan");
put("Europe/Athens", "Atenes");
put("Europe/Belgrade", "Belgrad");
put("Europe/Berlin", "Berlín");
put("Europe/Bratislava", "Bratislava");
put("Europe/Brussels", "Brussel·les");
put("Europe/Bucharest", "Bucarest");
put("Europe/Budapest", "Budapest");
put("Europe/Busingen", "Busingen");
put("Europe/Chisinau", "Chisinau");
put("Europe/Copenhagen", "Copenhagen");
put("Europe/Dublin", "Dublín");
put("Europe/Gibraltar", "Gibraltar");
put("Europe/Guernsey", "Guernsey");
put("Europe/Helsinki", "Hèlsinki");
put("Europe/Isle_of_Man", "Man");
put("Europe/Istanbul", "Istanbul");
put("Europe/Jersey", "Jersey");
put("Europe/Kaliningrad", "Kaliningrad");
put("Europe/Kiev", "Kíev");
put("Europe/Kirov", "Kirov");
put("Europe/Lisbon", "Lisboa");
put("Europe/Ljubljana", "Ljubljana");
put("Europe/London", "Londres");
put("Europe/Luxembourg", "Luxemburg");
put("Europe/Madrid", "Madrid");
put("Europe/Malta", "Malta");
put("Europe/Mariehamn", "Maarianhamina");
put("Europe/Minsk", "Minsk");
put("Europe/Monaco", "Mònaco");
put("Europe/Moscow", "Moscou");
put("Europe/Oslo", "Oslo");
put("Europe/Paris", "París");
put("Europe/Podgorica", "Podgorica");
put("Europe/Prague", "Praga");
put("Europe/Riga", "Riga");
put("Europe/Rome", "Roma");
put("Europe/Samara", "Samara");
put("Europe/San_Marino", "San Marino");
put("Europe/Sarajevo", "Sarajevo");
put("Europe/Simferopol", "Simferopol");
put("Europe/Skopje", "Skopje");
put("Europe/Sofia", "Sofia");
put("Europe/Stockholm", "Estocolm");
put("Europe/Tallinn", "Tallinn");
put("Europe/Tirane", "Tirana");
put("Europe/Ulyanovsk", "Uliànovsk");
put("Europe/Uzhgorod", "Uzhgorod");
put("Europe/Vaduz", "Vaduz");
put("Europe/Vatican", "Vaticà");
put("Europe/Vienna", "Viena");
put("Europe/Vilnius", "Vílnius");
put("Europe/Volgograd", "Volgograd");
put("Europe/Warsaw", "Varsòvia");
put("Europe/Zagreb", "Zagreb");
put("Europe/Zaporozhye", "Zaporíjia");
put("Europe/Zurich", "Zuric");
put("Africa/Abidjan", "Abidjan");
put("Africa/Accra", "Accra");
put("Africa/Addis_Ababa", "Addis Abeba");
put("Africa/Algiers", "Alger");
put("Africa/Asmera", "Asmara");
put("Africa/Bamako", "Bamako");
put("Africa/Bangui", "Bangui");
put("Africa/Banjul", "Banjul");
put("Africa/Bissau", "Bissau");
put("Africa/Blantyre", "Blantyre");
put("Africa/Brazzaville", "Brazzaville");
put("Africa/Bujumbura", "Bujumbura");
put("Africa/Cairo", "Caire, el");
put("Africa/Casablanca", "Casablanca");
put("Africa/Ceuta", "Ceuta");
put("Africa/Conakry", "Conakry");
put("Africa/Dakar", "Dakar");
put("Africa/Dar_es_Salaam", "Dar es Salaam");
put("Africa/Djibouti", "Djibouti");
put("Africa/Douala", "Douala");
put("Africa/El_Aaiun", "Al-aaiun");
put("Africa/Freetown", "Freetown");
put("Africa/Gaborone", "Gaborone");
put("Africa/Harare", "Harare");
put("Africa/Johannesburg", "Johannesburg");
put("Africa/Juba", "Juba");
put("Africa/Kampala", "Kampala");
put("Africa/Khartoum", "Khartum");
put("Africa/Kigali", "Kigali");
put("Africa/Kinshasa", "Kinshasa");
put("Africa/Lagos", "Lagos");
put("Africa/Libreville", "Libreville");
put("Africa/Lome", "Lome");
put("Africa/Luanda", "Luanda");
put("Africa/Lubumbashi", "Lubumbashi");
put("Africa/Lusaka", "Lusaka");
put("Africa/Malabo", "Malabo");
put("Africa/Maputo", "Maputo");
put("Africa/Maseru", "Maseru");
put("Africa/Mbabane", "Mbabane");
put("Africa/Mogadishu", "Muqdiisho");
put("Africa/Monrovia", "Monrovia");
put("Africa/Nairobi", "Nairobi");
put("Africa/Ndjamena", "Ndjamena");
put("Africa/Niamey", "Niamey");
put("Africa/Nouakchott", "Nouakchott");
put("Africa/Ouagadougou", "Ouagadougou");
put("Africa/Porto-Novo", "Porto-Novo");
put("Africa/Sao_Tome", "São Tomé");
put("Africa/Tripoli", "Trípoli");
put("Africa/Tunis", "Tunis");
put("Africa/Windhoek", "Windhoek");
put("Asia/Aden", "Aden");
put("Asia/Almaty", "Almaty");
put("Asia/Amman", "Amman");
put("Asia/Anadyr", "Anadyr’");
put("Asia/Aqtau", "Aqtaū");
put("Asia/Aqtobe", "Aqtobe");
put("Asia/Ashgabat", "Ashgabat");
put("Asia/Baghdad", "Bagdad");
put("Asia/Bahrain", "Bahrain");
put("Asia/Baku", "Bakú");
put("Asia/Bangkok", "Bangkok");
put("Asia/Barnaul", "Barnaul");
put("Asia/Beirut", "Beirut");
put("Asia/Bishkek", "Bixkek");
put("Asia/Brunei", "Brunei");
put("Asia/Calcutta", "Calcuta");
put("Asia/Chita", "Txità");
put("Asia/Choibalsan", "Choibalsan");
put("Asia/Colombo", "Colombo");
put("Asia/Damascus", "Damasc");
put("Asia/Dhaka", "Dacca");
put("Asia/Dili", "Dili");
put("Asia/Dubai", "Dubai");
put("Asia/Dushanbe", "Dushanbe");
put("Asia/Gaza", "Gaza");
put("Asia/Hebron", "Hebron");
put("Asia/Hong_Kong", "Hong Kong");
put("Asia/Hovd", "Hovd");
put("Asia/Irkutsk", "Irkutsk");
put("Asia/Jakarta", "Jakarta");
put("Asia/Jayapura", "Jaipur");
put("Asia/Jerusalem", "Jerusalem");
put("Asia/Kabul", "Kābul");
put("Asia/Kamchatka", "Kamtxatka");
put("Asia/Karachi", "Karachi");
put("Asia/Katmandu", "Katmandú");
put("Asia/Khandyga", "Khandyga");
put("Asia/Krasnoyarsk", "Krasnoiarsk");
put("Asia/Kuala_Lumpur", "Kuala Lumpur");
put("Asia/Kuching", "Kuching");
put("Asia/Kuwait", "Kuwait");
put("Asia/Macau", "Macau");
put("Asia/Magadan", "Magadan");
put("Asia/Makassar", "Makasar");
put("Asia/Manila", "Manila");
put("Asia/Muscat", "Masqat");
put("Asia/Nicosia", "Nicòsia");
put("Asia/Novokuznetsk", "Novokuznetsk");
put("Asia/Novosibirsk", "Novosibirsk");
put("Asia/Omsk", "Omsk");
put("Asia/Oral", "Oral");
put("Asia/Phnom_Penh", "Phnom Penh");
put("Asia/Pontianak", "Pontianak");
put("Asia/Pyongyang", "Pyongyang");
put("Asia/Qatar", "Qatar");
put("Asia/Qyzylorda", "Kizil-Orda");
put("Asia/Rangoon", "Rangoon");
put("Asia/Riyadh", "Al-Riyād");
put("Asia/Saigon", "Ho Chi Minh");
put("Asia/Sakhalin", "Sakhalin");
put("Asia/Samarkand", "Samarcanda");
put("Asia/Seoul", "Seül");
put("Asia/Shanghai", "Xangai");
put("Asia/Singapore", "Singapur");
put("Asia/Srednekolymsk", "Srednekolimsk");
put("Asia/Taipei", "Taipei");
put("Asia/Tashkent", "Taixkent");
put("Asia/Tbilisi", "Tbilisi");
put("Asia/Tehran", "Teheran");
put("Asia/Thimphu", "Thimbu");
put("Asia/Tokyo", "Tòquio");
put("Asia/Tomsk", "Tomsk");
put("Asia/Ulaanbaatar", "Ulaanbaatar");
put("Asia/Urumqi", "Urumchi");
put("Asia/Ust-Nera", "Ust’-Nera");
put("Asia/Vientiane", "Vientiane");
put("Asia/Vladivostok", "Vladivostok");
put("Asia/Yakutsk", "Jakutsk");
put("Asia/Yekaterinburg", "Jekaterinburg");
put("Asia/Yerevan", "Erevan");
put("Indian/Antananarivo", "Antananarivo");
put("Indian/Chagos", "Chagos");
put("Indian/Christmas", "Christmas");
put("Indian/Cocos", "Cocos");
put("Indian/Comoro", "Comoro");
put("Indian/Kerguelen", "Kerguelen");
put("Indian/Mahe", "Mahe");
put("Indian/Maldives", "Maldives");
put("Indian/Mauritius", "Maurici");
put("Indian/Mayotte", "Mayotte");
put("Indian/Reunion", "Reunió");
put("Australia/Adelaide", "Adelaide");
put("Australia/Brisbane", "Brisbane");
put("Australia/Broken_Hill", "Broken Hill");
put("Australia/Currie", "Currie");
put("Australia/Darwin", "Darwin");
put("Australia/Eucla", "Eucla");
put("Australia/Hobart", "Hobart");
put("Australia/Lindeman", "Lindeman");
put("Australia/Lord_Howe", "Lord Howe");
put("Australia/Melbourne", "Melbourne");
put("Australia/Perth", "Perth");
put("Australia/Sydney", "Sydney");
put("Pacific/Apia", "Apia");
put("Pacific/Auckland", "Auckland");
put("Pacific/Bougainville", "Bougainville");
put("Pacific/Chatham", "Chatham");
put("Pacific/Easter", "Illa de Pasqua");
put("Pacific/Efate", "Efate");
put("Pacific/Enderbury", "Enderbury");
put("Pacific/Fakaofo", "Fakaofo");
put("Pacific/Fiji", "Fiji");
put("Pacific/Funafuti", "Funafuti");
put("Pacific/Galapagos", "Galápagos");
put("Pacific/Gambier", "Gambier");
put("Pacific/Guadalcanal", "Guadalcanal");
put("Pacific/Guam", "Guam");
put("Pacific/Honolulu", "Honolulu");
put("Pacific/Johnston", "Johnston");
put("Pacific/Kiritimati", "Kiritimati");
put("Pacific/Kosrae", "Kosrae");
put("Pacific/Kwajalein", "Kwajalein");
put("Pacific/Majuro", "Majuro");
put("Pacific/Marquesas", "Marqueses");
put("Pacific/Midway", "Midway");
put("Pacific/Nauru", "Nauru");
put("Pacific/Niue", "Niue");
put("Pacific/Norfolk", "Norfolk");
put("Pacific/Noumea", "Nouméa");
put("Pacific/Pago_Pago", "Pago Pago");
put("Pacific/Palau", "Palau");
put("Pacific/Pitcairn", "Pitcairn");
put("Pacific/Ponape", "Pohnpei");
put("Pacific/Port_Moresby", "Port Moresby");
put("Pacific/Rarotonga", "Rarotonga");
put("Pacific/Saipan", "Saipan");
put("Pacific/Tahiti", "Tahití");
put("Pacific/Tarawa", "Tarawa");
put("Pacific/Tongatapu", "Tongatapu");
put("Pacific/Truk", "Chuuk");
put("Pacific/Wake", "Wake");
put("Pacific/Wallis", "Wallis");
put("Arctic/Longyearbyen", "Longyearbyen");
put("Antarctica/Casey", "Casey");
put("Antarctica/Davis", "Davis");
put("Antarctica/DumontDUrville", "Dumont d’Urville");
put("Antarctica/Macquarie", "Macquarie");
put("Antarctica/Mawson", "Mawson");
put("Antarctica/McMurdo", "McMurdo");
put("Antarctica/Palmer", "Palmer");
put("Antarctica/Rothera", "Rothera");
put("Antarctica/Syowa", "Syowa");
put("Antarctica/Troll", "Troll");
put("Antarctica/Vostok", "Vostok");
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", "Ciutat desconeguda");
} };
this.timezoneNames = new HashMap() { {
put("Europe/Dublin", new TimeZoneNames("Europe/Dublin", new TimeZoneNames.Name(null, null, "Hora estàndard d’Irlanda"),
null));
put("Europe/London", new TimeZoneNames("Europe/London", new TimeZoneNames.Name(null, null, "Hora d’estiu britànica"),
null));
put("Etc/UTC", new TimeZoneNames("Etc/UTC", new TimeZoneNames.Name(null, "Temps universal coordinat", null),
new TimeZoneNames.Name(null, "UTC", null)));
} };
this.metazoneNames = new HashMap() { {
put("Afghanistan", new TimeZoneNames("Afghanistan",
new TimeZoneNames.Name(null, "Hora de l’Afganistan", null),
null));
put("Africa_Central", new TimeZoneNames("Africa_Central",
new TimeZoneNames.Name(null, "Hora de l’Àfrica Central", null),
null));
put("Africa_Eastern", new TimeZoneNames("Africa_Eastern",
new TimeZoneNames.Name(null, "Hora de l’Àfrica Oriental", null),
null));
put("Africa_Southern", new TimeZoneNames("Africa_Southern",
new TimeZoneNames.Name(null, "Hora estàndard del sud de l’Àfrica", null),
null));
put("Africa_Western", new TimeZoneNames("Africa_Western",
new TimeZoneNames.Name("Hora de l’Àfrica Occidental", "Hora estàndard de l’Àfrica Occidental", "Hora d’estiu de l’Àfrica Occidental"),
null));
put("Alaska", new TimeZoneNames("Alaska",
new TimeZoneNames.Name("Hora d’Alaska", "Hora estàndard d’Alaska", "Hora d’estiu d’Alaska"),
null));
put("Amazon", new TimeZoneNames("Amazon",
new TimeZoneNames.Name("Hora de l’Amazones", "Hora estàndard de l’Amazones", "Hora d’estiu de l’Amazones"),
null));
put("America_Central", new TimeZoneNames("America_Central",
new TimeZoneNames.Name("Hora central d’Amèrica del Nord", "Hora estàndard central d’Amèrica del Nord", "Hora d’estiu central d’Amèrica del Nord"),
null));
put("America_Eastern", new TimeZoneNames("America_Eastern",
new TimeZoneNames.Name("Hora oriental d’Amèrica del Nord", "Hora estàndard oriental d’Amèrica del Nord", "Hora d’estiu oriental d’Amèrica del Nord"),
null));
put("America_Mountain", new TimeZoneNames("America_Mountain",
new TimeZoneNames.Name("Hora de muntanya d’Amèrica del Nord", "Hora estàndard de muntanya d’Amèrica del Nord", "Hora d’estiu de muntanya d’Amèrica del Nord"),
null));
put("America_Pacific", new TimeZoneNames("America_Pacific",
new TimeZoneNames.Name("Hora del Pacífic", "Hora estàndard del Pacífic", "Hora d’estiu del Pacífic"),
null));
put("Anadyr", new TimeZoneNames("Anadyr",
new TimeZoneNames.Name("Hora d’Anadyr", "Hora estàndard d’Anadyr", "Horari d’estiu d’Anadyr"),
null));
put("Apia", new TimeZoneNames("Apia",
new TimeZoneNames.Name("Hora d’Apia", "Hora estàndard d’Apia", "Hora d’estiu d’Apia"),
null));
put("Arabian", new TimeZoneNames("Arabian",
new TimeZoneNames.Name("Hora àrab", "Hora estàndard àrab", "Hora d’estiu àrab"),
null));
put("Argentina", new TimeZoneNames("Argentina",
new TimeZoneNames.Name("Hora de l’Argentina", "Hora estàndard de l’Argentina", "Hora d’estiu de l’Argentina"),
null));
put("Argentina_Western", new TimeZoneNames("Argentina_Western",
new TimeZoneNames.Name("Hora de l’oest de l’Argentina", "Hora estàndard de l’oest de l’Argentina", "Hora d’estiu de l’oest de l’Argentina"),
null));
put("Armenia", new TimeZoneNames("Armenia",
new TimeZoneNames.Name("Hora d’Armènia", "Hora estàndard d’Armènia", "Hora d’estiu d’Armènia"),
null));
put("Atlantic", new TimeZoneNames("Atlantic",
new TimeZoneNames.Name("Hora de l’Atlàntic", "Hora estàndard de l’Atlàntic", "Hora d’estiu de l’Atlàntic"),
null));
put("Australia_Central", new TimeZoneNames("Australia_Central",
new TimeZoneNames.Name("Hora d’Austràlia Central", "Hora estàndard d’Austràlia Central", "Hora d’estiu d’Austràlia Central"),
null));
put("Australia_CentralWestern", new TimeZoneNames("Australia_CentralWestern",
new TimeZoneNames.Name("Hora d’Austràlia centre-occidental", "Hora estàndard d’Austràlia centre-occidental", "Hora d’estiu d’Austràlia centre-occidental"),
null));
put("Australia_Eastern", new TimeZoneNames("Australia_Eastern",
new TimeZoneNames.Name("Hora d’Austràlia Oriental", "Hora estàndard d’Austràlia Oriental", "Hora d’estiu d’Austràlia Oriental"),
null));
put("Australia_Western", new TimeZoneNames("Australia_Western",
new TimeZoneNames.Name("Hora d’Austràlia Occidental", "Hora estàndard d’Austràlia Occidental", "Hora d’estiu d’Austràlia Occidental"),
null));
put("Azerbaijan", new TimeZoneNames("Azerbaijan",
new TimeZoneNames.Name("Hora d’Azerbaidjan", "Hora estàndard d’Azerbaidjan", "Hora d’estiu d’Azerbaidjan"),
null));
put("Azores", new TimeZoneNames("Azores",
new TimeZoneNames.Name("Hora de les Açores", "Hora estàndard de les Açores", "Hora d’estiu de les Açores"),
null));
put("Bangladesh", new TimeZoneNames("Bangladesh",
new TimeZoneNames.Name("Hora de Bangla Desh", "Hora estàndard de Bangla Desh", "Hora d’estiu de Bangla Desh"),
null));
put("Bhutan", new TimeZoneNames("Bhutan",
new TimeZoneNames.Name(null, "Hora de Bhutan", null),
null));
put("Bolivia", new TimeZoneNames("Bolivia",
new TimeZoneNames.Name(null, "Hora de Bolívia", null),
null));
put("Brasilia", new TimeZoneNames("Brasilia",
new TimeZoneNames.Name("Hora de Brasília", "Hora estàndard de Brasília", "Hora d’estiu de Brasília"),
null));
put("Brunei", new TimeZoneNames("Brunei",
new TimeZoneNames.Name(null, "Hora de Brunei Darussalam", null),
null));
put("Cape_Verde", new TimeZoneNames("Cape_Verde",
new TimeZoneNames.Name("Hora de Cap Verd", "Hora estàndard de Cap Verd", "Hora d’estiu de Cap Verd"),
null));
put("Chamorro", new TimeZoneNames("Chamorro",
new TimeZoneNames.Name(null, "Hora de Chamorro", null),
null));
put("Chatham", new TimeZoneNames("Chatham",
new TimeZoneNames.Name("Hora de Chatham", "Hora estàndard de Chatham", "Hora d’estiu de Chatham"),
null));
put("Chile", new TimeZoneNames("Chile",
new TimeZoneNames.Name("Hora de Xile", "Hora estàndard de Xile", "Hora d’estiu de Xile"),
null));
put("China", new TimeZoneNames("China",
new TimeZoneNames.Name("Hora de la Xina", "Hora estàndard de la Xina", "Hora d’estiu de la Xina"),
null));
put("Choibalsan", new TimeZoneNames("Choibalsan",
new TimeZoneNames.Name("Hora de Choibalsan", "Hora estàndard de Choibalsan", "Hora d’estiu de Choibalsan"),
null));
put("Christmas", new TimeZoneNames("Christmas",
new TimeZoneNames.Name(null, "Hora de Kiritimati", null),
null));
put("Cocos", new TimeZoneNames("Cocos",
new TimeZoneNames.Name(null, "Hora de les illes Cocos", null),
null));
put("Colombia", new TimeZoneNames("Colombia",
new TimeZoneNames.Name("Hora de Colòmbia", "Hora estàndard de Colòmbia", "Hora d’estiu de Colòmbia"),
null));
put("Cook", new TimeZoneNames("Cook",
new TimeZoneNames.Name("Hora de les illes Cook", "Hora estàndard de les illes Cook", "Hora de mig estiu de les illes Cook"),
null));
put("Cuba", new TimeZoneNames("Cuba",
new TimeZoneNames.Name("Hora de Cuba", "Hora estàndard de Cuba", "Hora d’estiu de Cuba"),
null));
put("Davis", new TimeZoneNames("Davis",
new TimeZoneNames.Name(null, "Hora de Davis", null),
null));
put("DumontDUrville", new TimeZoneNames("DumontDUrville",
new TimeZoneNames.Name(null, "Hora de Dumont-d’Urville", null),
null));
put("East_Timor", new TimeZoneNames("East_Timor",
new TimeZoneNames.Name(null, "Hora de Timor Oriental", null),
null));
put("Easter", new TimeZoneNames("Easter",
new TimeZoneNames.Name("Hora de l’illa de Pasqua", "Hora estàndard de l’illa de Pasqua", "Hora d’estiu de l’illa de Pasqua"),
null));
put("Ecuador", new TimeZoneNames("Ecuador",
new TimeZoneNames.Name(null, "Hora de l’Equador", null),
null));
put("Europe_Central", new TimeZoneNames("Europe_Central",
new TimeZoneNames.Name("Hora del Centre d’Europa", "Hora estàndard del Centre d’Europa", "Hora d’estiu del Centre d’Europa"),
new TimeZoneNames.Name("CET", "CET", "CEST")));
put("Europe_Eastern", new TimeZoneNames("Europe_Eastern",
new TimeZoneNames.Name("Hora de l’Est d’Europa", "Hora estàndard de l’Est d’Europa", "Hora d’estiu de l’Est d’Europa"),
new TimeZoneNames.Name("EET", "EET", "EEST")));
put("Europe_Further_Eastern", new TimeZoneNames("Europe_Further_Eastern",
new TimeZoneNames.Name(null, "Hora de l’Extrem Orient Europeu", null),
null));
put("Europe_Western", new TimeZoneNames("Europe_Western",
new TimeZoneNames.Name("Hora de l’Oest d’Europa", "Hora estàndard de l’Oest d’Europa", "Hora d’estiu de l’Oest d’Europa"),
new TimeZoneNames.Name("WET", "WET", "WEST")));
put("Falkland", new TimeZoneNames("Falkland",
new TimeZoneNames.Name("Hora de les illes Malvines", "Hora estàndard de les illes Malvines", "Hora d’estiu de les illes Malvines"),
null));
put("Fiji", new TimeZoneNames("Fiji",
new TimeZoneNames.Name("Hora de Fiji", "Hora estàndard de Fiji", "Hora d’estiu de Fiji"),
null));
put("French_Guiana", new TimeZoneNames("French_Guiana",
new TimeZoneNames.Name(null, "Hora de la Guaiana Francesa", null),
null));
put("French_Southern", new TimeZoneNames("French_Southern",
new TimeZoneNames.Name(null, "Hora d’Antàrtida i França del Sud", null),
null));
put("Galapagos", new TimeZoneNames("Galapagos",
new TimeZoneNames.Name(null, "Hora de Galápagos", null),
null));
put("Gambier", new TimeZoneNames("Gambier",
new TimeZoneNames.Name(null, "Hora de Gambier", null),
null));
put("Georgia", new TimeZoneNames("Georgia",
new TimeZoneNames.Name("Hora de Geòrgia", "Hora estàndard de Geòrgia", "Hora d’estiu de Geòrgia"),
null));
put("Gilbert_Islands", new TimeZoneNames("Gilbert_Islands",
new TimeZoneNames.Name(null, "Hora de les illes Gilbert", null),
null));
put("GMT", new TimeZoneNames("GMT",
new TimeZoneNames.Name(null, "Hora del Meridià de Greenwich", null),
new TimeZoneNames.Name(null, "GMT", null)));
put("Greenland_Eastern", new TimeZoneNames("Greenland_Eastern",
new TimeZoneNames.Name("Hora de l’Est de Grenlàndia", "Hora estàndard de l’Est de Grenlàndia", "Hora d’estiu de l’Est de Grenlàndia"),
null));
put("Greenland_Western", new TimeZoneNames("Greenland_Western",
new TimeZoneNames.Name("Hora de l’Oest de Grenlàndia", "Hora estàndard de l’Oest de Grenlàndia", "Hora d’estiu de l’Oest de Grenlàndia"),
null));
put("Gulf", new TimeZoneNames("Gulf",
new TimeZoneNames.Name(null, "Hora del Golf", null),
null));
put("Guyana", new TimeZoneNames("Guyana",
new TimeZoneNames.Name(null, "Hora de Guyana", null),
null));
put("Hawaii_Aleutian", new TimeZoneNames("Hawaii_Aleutian",
new TimeZoneNames.Name("Hora de Hawaii-Aleutianes", "Hora estàndard de Hawaii-Aleutianes", "Hora d’estiu de Hawaii-Aleutianes"),
null));
put("Hong_Kong", new TimeZoneNames("Hong_Kong",
new TimeZoneNames.Name("Hora de Hong Kong", "Hora estàndard de Hong Kong", "Hora d’estiu de Hong Kong"),
null));
put("Hovd", new TimeZoneNames("Hovd",
new TimeZoneNames.Name("Hora de Hovd", "Hora estàndard de Hovd", "Hora d’estiu de Hovd"),
null));
put("India", new TimeZoneNames("India",
new TimeZoneNames.Name(null, "Hora estàndard de l’Índia", null),
null));
put("Indian_Ocean", new TimeZoneNames("Indian_Ocean",
new TimeZoneNames.Name(null, "Hora de l’oceà Índic", null),
null));
put("Indochina", new TimeZoneNames("Indochina",
new TimeZoneNames.Name(null, "Hora d’Indoxina", null),
null));
put("Indonesia_Central", new TimeZoneNames("Indonesia_Central",
new TimeZoneNames.Name(null, "Hora central d’Indonèsia", null),
null));
put("Indonesia_Eastern", new TimeZoneNames("Indonesia_Eastern",
new TimeZoneNames.Name(null, "Hora de l’est d’Indonèsia", null),
null));
put("Indonesia_Western", new TimeZoneNames("Indonesia_Western",
new TimeZoneNames.Name(null, "Hora de l’oest d’Indonèsia", null),
null));
put("Iran", new TimeZoneNames("Iran",
new TimeZoneNames.Name("Hora d’Iran", "Hora estàndard d’Iran", "Hora d’estiu d’Iran"),
null));
put("Irkutsk", new TimeZoneNames("Irkutsk",
new TimeZoneNames.Name("Hora d’Irkutsk", "Hora estàndard d’Irkutsk", "Hora d’estiu d’Irkutsk"),
null));
put("Israel", new TimeZoneNames("Israel",
new TimeZoneNames.Name("Hora d’Israel", "Hora estàndard d’Israel", "Hora d’estiu d’Israel"),
null));
put("Japan", new TimeZoneNames("Japan",
new TimeZoneNames.Name("Hora del Japó", "Hora estàndard del Japó", "Hora d’estiu del Japó"),
null));
put("Kamchatka", new TimeZoneNames("Kamchatka",
new TimeZoneNames.Name("Hora de Kamtxatka", "Hora estàndard de Petropavlovsk de Kamtxatka", "Horari d’estiu de Petropavlovsk de Kamtxatka"),
null));
put("Kazakhstan_Eastern", new TimeZoneNames("Kazakhstan_Eastern",
new TimeZoneNames.Name(null, "Hora de l’est del Kazakhstan", null),
null));
put("Kazakhstan_Western", new TimeZoneNames("Kazakhstan_Western",
new TimeZoneNames.Name(null, "Hora de l’oest del Kazakhstan", null),
null));
put("Korea", new TimeZoneNames("Korea",
new TimeZoneNames.Name("Hora de Corea", "Hora estàndard de Corea", "Hora d’estiu de Corea"),
null));
put("Kosrae", new TimeZoneNames("Kosrae",
new TimeZoneNames.Name(null, "Hora de Kosrae", null),
null));
put("Krasnoyarsk", new TimeZoneNames("Krasnoyarsk",
new TimeZoneNames.Name("Hora de Krasnoiarsk", "Hora estàndard de Krasnoiarsk", "Hora d’estiu de Krasnoiarsk"),
null));
put("Kyrgystan", new TimeZoneNames("Kyrgystan",
new TimeZoneNames.Name(null, "Hora del Kirguizistan", null),
null));
put("Line_Islands", new TimeZoneNames("Line_Islands",
new TimeZoneNames.Name(null, "Hora de Line Islands", null),
null));
put("Lord_Howe", new TimeZoneNames("Lord_Howe",
new TimeZoneNames.Name("Hora de Lord Howe", "Hora estàndard de Lord Howe", "Horari d’estiu de Lord Howe"),
null));
put("Macau", new TimeZoneNames("Macau",
new TimeZoneNames.Name("Hora de Macau", "Hora estàndard de Macau", "Hora d’estiu de Macau"),
null));
put("Macquarie", new TimeZoneNames("Macquarie",
new TimeZoneNames.Name(null, "Hora de Macquarie", null),
null));
put("Magadan", new TimeZoneNames("Magadan",
new TimeZoneNames.Name("Hora de Magadan", "Hora estàndard de Magadan", "Hora d’estiu de Magadan"),
null));
put("Malaysia", new TimeZoneNames("Malaysia",
new TimeZoneNames.Name(null, "Hora de Malàisia", null),
null));
put("Maldives", new TimeZoneNames("Maldives",
new TimeZoneNames.Name(null, "Hora de les Maldives", null),
null));
put("Marquesas", new TimeZoneNames("Marquesas",
new TimeZoneNames.Name(null, "Hora de les Marqueses", null),
null));
put("Marshall_Islands", new TimeZoneNames("Marshall_Islands",
new TimeZoneNames.Name(null, "Hora de les illes Marshall", null),
null));
put("Mauritius", new TimeZoneNames("Mauritius",
new TimeZoneNames.Name("Hora de Maurici", "Hora estàndard de Maurici", "Hora d’estiu de Maurici"),
null));
put("Mawson", new TimeZoneNames("Mawson",
new TimeZoneNames.Name(null, "Hora de Mawson", null),
null));
put("Mexico_Northwest", new TimeZoneNames("Mexico_Northwest",
new TimeZoneNames.Name("Hora del nord-oest de Mèxic", "Hora estàndard del nord-oest de Mèxic", "Hora d’estiu del nord-oest de Mèxic"),
null));
put("Mexico_Pacific", new TimeZoneNames("Mexico_Pacific",
new TimeZoneNames.Name("Hora del Pacífic de Mèxic", "Hora estàndard del Pacífic de Mèxic", "Hora d’estiu del Pacífic de Mèxic"),
null));
put("Mongolia", new TimeZoneNames("Mongolia",
new TimeZoneNames.Name("Hora d’Ulan Bator", "Hora estàndard d’Ulan Bator", "Hora d’estiu d’Ulan Bator"),
null));
put("Moscow", new TimeZoneNames("Moscow",
new TimeZoneNames.Name("Hora de Moscou", "Hora estàndard de Moscou", "Hora d’estiu de Moscou"),
null));
put("Myanmar", new TimeZoneNames("Myanmar",
new TimeZoneNames.Name(null, "Hora de Myanmar", null),
null));
put("Nauru", new TimeZoneNames("Nauru",
new TimeZoneNames.Name(null, "Hora de Nauru", null),
null));
put("Nepal", new TimeZoneNames("Nepal",
new TimeZoneNames.Name(null, "Hora del Nepal", null),
null));
put("New_Caledonia", new TimeZoneNames("New_Caledonia",
new TimeZoneNames.Name("Hora de Nova Caledònia", "Hora estàndard de Nova Caledònia", "Hora d’estiu de Nova Caledònia"),
null));
put("New_Zealand", new TimeZoneNames("New_Zealand",
new TimeZoneNames.Name("Hora de Nova Zelanda", "Hora estàndard de Nova Zelanda", "Hora d’estiu de Nova Zelanda"),
null));
put("Newfoundland", new TimeZoneNames("Newfoundland",
new TimeZoneNames.Name("Hora de Terranova", "Hora estàndard de Terranova", "Hora d’estiu de Terranova"),
null));
put("Niue", new TimeZoneNames("Niue",
new TimeZoneNames.Name(null, "Hora de Niue", null),
null));
put("Norfolk", new TimeZoneNames("Norfolk",
new TimeZoneNames.Name(null, "Hora de les illes Norfolk", null),
null));
put("Noronha", new TimeZoneNames("Noronha",
new TimeZoneNames.Name("Hora de Fernando de Noronha", "Hora estàndard de Fernando de Noronha", "Hora d’estiu de Fernando de Noronha"),
null));
put("Novosibirsk", new TimeZoneNames("Novosibirsk",
new TimeZoneNames.Name("Hora de Novosibirsk", "Hora estàndard de Novosibirsk", "Hora d’estiu de Novosibirsk"),
null));
put("Omsk", new TimeZoneNames("Omsk",
new TimeZoneNames.Name("Hora d’Omsk", "Hora estàndard d’Omsk", "Hora d’estiu d’Omsk"),
null));
put("Pakistan", new TimeZoneNames("Pakistan",
new TimeZoneNames.Name("Hora del Pakistan", "Hora estàndard del Pakistan", "Hora d’estiu del Pakistan"),
null));
put("Palau", new TimeZoneNames("Palau",
new TimeZoneNames.Name(null, "Hora de Palau", null),
null));
put("Papua_New_Guinea", new TimeZoneNames("Papua_New_Guinea",
new TimeZoneNames.Name(null, "Hora de Papua Nova Guinea", null),
null));
put("Paraguay", new TimeZoneNames("Paraguay",
new TimeZoneNames.Name("Hora del Paraguai", "Hora estàndard del Paraguai", "Hora d’estiu del Paraguai"),
null));
put("Peru", new TimeZoneNames("Peru",
new TimeZoneNames.Name("Hora del Perú", "Hora estàndard del Perú", "Hora d’estiu del Perú"),
null));
put("Philippines", new TimeZoneNames("Philippines",
new TimeZoneNames.Name("Hora de Filipines", "Hora estàndard de Filipines", "Hora d’estiu de Filipines"),
null));
put("Phoenix_Islands", new TimeZoneNames("Phoenix_Islands",
new TimeZoneNames.Name(null, "Hora de les illes Phoenix", null),
null));
put("Pierre_Miquelon", new TimeZoneNames("Pierre_Miquelon",
new TimeZoneNames.Name("Hora de Saint-Pierre i Miquelon", "Hora estàndard de Saint-Pierre i Miquelon", "Hora d’estiu de Saint-Pierre i Miquelon"),
null));
put("Pitcairn", new TimeZoneNames("Pitcairn",
new TimeZoneNames.Name(null, "Hora de Pitcairn", null),
null));
put("Ponape", new TimeZoneNames("Ponape",
new TimeZoneNames.Name(null, "Hora de Ponape", null),
null));
put("Pyongyang", new TimeZoneNames("Pyongyang",
new TimeZoneNames.Name(null, "Hora de Pyongyang", null),
null));
put("Reunion", new TimeZoneNames("Reunion",
new TimeZoneNames.Name(null, "Hora de Reunió", null),
null));
put("Rothera", new TimeZoneNames("Rothera",
new TimeZoneNames.Name(null, "Hora de Rothera", null),
null));
put("Sakhalin", new TimeZoneNames("Sakhalin",
new TimeZoneNames.Name("Hora de Sakhalin", "Hora estàndard de Sakhalin", "Hora d’estiu de Sakhalin"),
null));
put("Samara", new TimeZoneNames("Samara",
new TimeZoneNames.Name("Hora de Samara", "Hora estàndard de Samara", "Hora d’estiu de Samara"),
null));
put("Samoa", new TimeZoneNames("Samoa",
new TimeZoneNames.Name("Hora de Samoa", "Hora estàndard de Samoa", "Hora d’estiu de Samoa"),
null));
put("Seychelles", new TimeZoneNames("Seychelles",
new TimeZoneNames.Name(null, "Hora de les Seychelles", null),
null));
put("Singapore", new TimeZoneNames("Singapore",
new TimeZoneNames.Name(null, "Hora de Singapur", null),
null));
put("Solomon", new TimeZoneNames("Solomon",
new TimeZoneNames.Name(null, "Hora de Salomó", null),
null));
put("South_Georgia", new TimeZoneNames("South_Georgia",
new TimeZoneNames.Name(null, "Hora de Geòrgia del Sud", null),
null));
put("Suriname", new TimeZoneNames("Suriname",
new TimeZoneNames.Name(null, "Hora de Surinam", null),
null));
put("Syowa", new TimeZoneNames("Syowa",
new TimeZoneNames.Name(null, "Hora de Syowa", null),
null));
put("Tahiti", new TimeZoneNames("Tahiti",
new TimeZoneNames.Name(null, "Hora de Tahití", null),
null));
put("Taipei", new TimeZoneNames("Taipei",
new TimeZoneNames.Name("Hora de Taipei", "Hora estàndard de Taipei", "Hora d’estiu de Taipei"),
null));
put("Tajikistan", new TimeZoneNames("Tajikistan",
new TimeZoneNames.Name(null, "Hora del Tadjikistan", null),
null));
put("Tokelau", new TimeZoneNames("Tokelau",
new TimeZoneNames.Name(null, "Hora de Tokelau", null),
null));
put("Tonga", new TimeZoneNames("Tonga",
new TimeZoneNames.Name("Hora de Tonga", "Hora estàndard de Tonga", "Hora d’estiu de Tonga"),
null));
put("Truk", new TimeZoneNames("Truk",
new TimeZoneNames.Name(null, "Hora de Chuuk", null),
null));
put("Turkmenistan", new TimeZoneNames("Turkmenistan",
new TimeZoneNames.Name("Hora del Turkmenistan", "Hora estàndard del Turkmenistan", "Hora d’estiu del Turkmenistan"),
null));
put("Tuvalu", new TimeZoneNames("Tuvalu",
new TimeZoneNames.Name(null, "Hora de Tuvalu", null),
null));
put("Uruguay", new TimeZoneNames("Uruguay",
new TimeZoneNames.Name("Hora de l’Uruguai", "Hora estàndard de l’Uruguai", "Hora d’estiu de l’Uruguai"),
null));
put("Uzbekistan", new TimeZoneNames("Uzbekistan",
new TimeZoneNames.Name("Hora de l’Uzbekistan", "Hora estàndard de l’Uzbekistan", "Hora d’estiu de l’Uzbekistan"),
null));
put("Vanuatu", new TimeZoneNames("Vanuatu",
new TimeZoneNames.Name("Hora de Vanatu", "Hora estàndard de Vanatu", "Hora d’estiu de Vanatu"),
null));
put("Venezuela", new TimeZoneNames("Venezuela",
new TimeZoneNames.Name(null, "Hora de Veneçuela", null),
null));
put("Vladivostok", new TimeZoneNames("Vladivostok",
new TimeZoneNames.Name("Hora de Vladivostok", "Hora estàndard de Vladivostok", "Hora d’estiu de Vladivostok"),
null));
put("Volgograd", new TimeZoneNames("Volgograd",
new TimeZoneNames.Name("Hora de Volgograd", "Hora estàndard de Volgograd", "Hora d’estiu de Volgograd"),
null));
put("Vostok", new TimeZoneNames("Vostok",
new TimeZoneNames.Name(null, "Hora de Vostok", null),
null));
put("Wake", new TimeZoneNames("Wake",
new TimeZoneNames.Name(null, "Hora de Wake", null),
null));
put("Wallis", new TimeZoneNames("Wallis",
new TimeZoneNames.Name(null, "Hora de Wallis i Futuna", null),
null));
put("Yakutsk", new TimeZoneNames("Yakutsk",
new TimeZoneNames.Name("Hora de Iakutsk", "Hora estàndard de Iakutsk", "Hora d’estiu de Iakutsk"),
null));
put("Yekaterinburg", new TimeZoneNames("Yekaterinburg",
new TimeZoneNames.Name("Hora d’Ekaterinburg", "Hora estàndard d’Ekaterinburg", "Hora d’estiu d’Ekaterinburg"),
null));
} };
}
@Override
public void formatDate(CalendarFormat type, ZonedDateTime d, StringBuilder b) {
if (type == null) {
return;
}
switch (type) {
case SHORT: {
// "d/M/yy"
formatField(d, 'd', 1, b);
b.append("/");
formatField(d, 'M', 1, b);
b.append("/");
formatField(d, 'y', 2, b);
break;
}
case MEDIUM: {
// "d MMM y"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 3, b);
b.append(" ");
formatField(d, 'y', 1, b);
break;
}
case LONG: {
// "d MMMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case FULL: {
// "EEEE, d MMMM 'de' y"
formatField(d, 'E', 4, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
}
}
@Override
public void formatTime(CalendarFormat type, ZonedDateTime d, StringBuilder b) {
if (type == null) {
return;
}
switch (type) {
case SHORT: {
// "H:mm"
formatField(d, 'H', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
break;
}
case MEDIUM: {
// "H:mm:ss"
formatField(d, 'H', 1, b);
b.append(":");
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case LONG: {
// "H:mm:ss z"
formatField(d, 'H', 1, 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: {
// "H:mm:ss zzzz"
formatField(d, 'H', 1, 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:
{
// "{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;
}
case MEDIUM:
{
// "{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;
}
case LONG:
case FULL:
{
// "{1} 'a' 'les' {0}"
if (dateType != null) {
formatDate(dateType, d, b);
} else {
formatSkeleton(dateSkel, d, b);
}
b.append(" a les ");
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);
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 H:mm"
formatField(d, 'E', 1, b);
b.append(" ");
formatField(d, 'H', 1, 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 H:mm:ss"
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);
break;
}
case "Gy": {
// Pattern: "y G"
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMM": {
// Pattern: "LLL y G"
formatField(d, 'L', 3, b);
b.append(" ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMd": {
// Pattern: "d MMM 'de' y G"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMEd": {
// Pattern: "E, d MMM 'de' y G"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMM": {
// Pattern: "LLLL 'de' y G"
formatField(d, 'L', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMMd": {
// Pattern: "d MMMM 'de' y G"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMMEd": {
// Pattern: "E, d MMMM 'de' y G"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "h": {
// Pattern: "h a"
formatField(d, 'h', 1, b);
b.append(" ");
formatField(d, 'a', 1, b);
break;
}
case "H": {
// Pattern: "H"
formatField(d, 'H', 1, 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: "d/M"
formatField(d, 'd', 1, b);
b.append("/");
formatField(d, 'M', 1, b);
break;
}
case "MEd": {
// Pattern: "E d/M"
formatField(d, 'E', 1, b);
b.append(" ");
formatField(d, 'd', 1, b);
b.append("/");
formatField(d, 'M', 1, b);
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-one": {
// Pattern: "'setmana' W MMMM"
b.append("setmana ");
formatField(d, 'W', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
break;
}
case "MMMMW-count-other": {
// Pattern: "'setmana' W MMMM"
b.append("setmana ");
formatField(d, 'W', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
break;
}
case "ms": {
// Pattern: "mm:ss"
formatField(d, 'm', 2, b);
b.append(":");
formatField(d, 's', 2, b);
break;
}
case "y": {
// Pattern: "y"
formatField(d, 'y', 1, b);
break;
}
case "yM": {
// Pattern: "M/y"
formatField(d, 'M', 1, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case "yMd": {
// Pattern: "d/M/y"
formatField(d, 'd', 1, b);
b.append("/");
formatField(d, 'M', 1, b);
b.append("/");
formatField(d, 'y', 1, b);
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);
break;
}
case "yMMM": {
// Pattern: "LLL 'de' y"
formatField(d, 'L', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMd": {
// Pattern: "d LLL y"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'L', 3, b);
b.append(" ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMEd": {
// Pattern: "E, d MMM y"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 3, b);
b.append(" ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMM": {
// Pattern: "LLLL 'de' y"
formatField(d, 'L', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMMd": {
// Pattern: "d MMMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMMEd": {
// Pattern: "E, d MMMM 'de' y"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yQQQ": {
// Pattern: "QQQ y"
formatField(d, 'Q', 3, b);
b.append(" ");
formatField(d, 'y', 1, b);
break;
}
case "yQQQQ": {
// Pattern: "QQQQ y"
formatField(d, 'Q', 4, b);
b.append(" ");
formatField(d, 'y', 1, b);
break;
}
case "yw-count-one": {
// Pattern: "'setmana' w 'de' y"
b.append("setmana ");
formatField(d, 'w', 1, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yw-count-other": {
// Pattern: "'setmana' w 'de' y"
b.append("setmana ");
formatField(d, 'w', 1, b);
b.append(" de ");
formatField(d, 'y', 1, b);
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 "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 "H": {
switch (f) {
case HOUR: {
// "H–"
formatField(s, 'H', 1, b);
b.append("–");
// "H"
formatField(e, 'H', 1, b);
return;
}
default: break;
}
break;
}
case "yMMMEd": {
switch (f) {
case DAY: {
// "E, d – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" – ");
// "E, d MMM y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "E, d MMM y – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 3, b);
b.append(" ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E, d MMM y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, 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 y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "yMEd": {
switch (f) {
case DAY: {
// "E d/M/y – "
formatField(s, 'E', 1, b);
b.append(" ");
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E d/M/y"
formatField(e, 'E', 1, b);
b.append(" ");
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "E d/M/y – "
formatField(s, 'E', 1, b);
b.append(" ");
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E d/M/y"
formatField(e, 'E', 1, b);
b.append(" ");
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "E d/M/y – "
formatField(s, 'E', 1, b);
b.append(" ");
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E d/M/y"
formatField(e, 'E', 1, b);
b.append(" ");
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "M": {
switch (f) {
case MONTH: {
// "M–"
formatField(s, 'M', 1, b);
b.append("–");
// "M"
formatField(e, 'M', 1, b);
return;
}
default: break;
}
break;
}
case "MEd": {
switch (f) {
case DAY: {
// "E d/M – "
formatField(s, 'E', 1, b);
b.append(" ");
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append(" – ");
// "E d/M"
formatField(e, 'E', 1, b);
b.append(" ");
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
return;
}
case MONTH: {
// "E d/M – "
formatField(s, 'E', 1, b);
b.append(" ");
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append(" – ");
// "E d/M"
formatField(e, 'E', 1, b);
b.append(" ");
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
return;
}
default: break;
}
break;
}
case "MMMEd": {
switch (f) {
case DAY: {
// "E, d – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, 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 "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 "yMMMMd": {
switch (f) {
case DAY: {
// "d–"
formatField(s, 'd', 1, b);
b.append("–");
// "d MMMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "d MMMM 'd'e y – "
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 4, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d MMMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "d MMMM – "
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 4, b);
b.append(" – ");
// "d MMMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "yMMMd": {
switch (f) {
case DAY: {
// "d–"
formatField(s, 'd', 1, b);
b.append("–");
// "d MMM y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "d MMM y – "
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 3, b);
b.append(" ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d MMM y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "d MMM – "
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "d MMM y"
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "yMMMMEd": {
switch (f) {
case DAY: {
// "E, d – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" – ");
// "E, d MMMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "E, d MMMM 'd'e y – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 4, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E, d MMMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "E, d MMMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" ");
formatField(s, 'M', 4, b);
b.append(" – ");
// "E, d MMMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" ");
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "d": {
switch (f) {
case DAY: {
// "d–"
formatField(s, 'd', 1, b);
b.append("–");
// "d"
formatField(e, 'd', 1, b);
return;
}
default: break;
}
break;
}
case "Hm": {
switch (f) {
case HOUR: {
// "H:mm – "
formatField(s, 'H', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append(" – ");
// "H:mm"
formatField(e, 'H', 1, b);
b.append(":");
formatField(e, 'm', 2, b);
return;
}
case MINUTE: {
// "H:mm – "
formatField(s, 'H', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append(" – ");
// "H:mm"
formatField(e, 'H', 1, 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 "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: {
// "LLL y – "
formatField(s, 'L', 3, b);
b.append(" ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "LLL y"
formatField(e, 'L', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "LLL–"
formatField(s, 'L', 3, b);
b.append("–");
// "LLL y"
formatField(e, 'L', 3, b);
b.append(" ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "Hv": {
switch (f) {
case HOUR: {
// "H–"
formatField(s, 'H', 1, b);
b.append("–");
// "H v"
formatField(e, 'H', 1, b);
b.append(" ");
formatField(e, 'v', 1, b);
return;
}
default: break;
}
break;
}
case "Hmv": {
switch (f) {
case HOUR: {
// "H:mm–"
formatField(s, 'H', 1, b);
b.append(":");
formatField(s, 'm', 2, b);
b.append("–");
// "H:mm v"
formatField(e, 'H', 1, b);
b.append(":");
formatField(e, 'm', 2, 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 v"
formatField(e, 'H', 1, 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: {
// "d/M/y – "
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d/M/y"
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "d/M/y – "
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d/M/y"
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "d/M/y – "
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d/M/y"
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
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: {
// "M/y – "
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "M/y"
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "M/y – "
formatField(s, 'M', 1, b);
b.append("/");
formatField(s, 'y', 1, b);
b.append(" – ");
// "M/y"
formatField(e, 'M', 1, b);
b.append("/");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "yMMMM": {
switch (f) {
case YEAR: {
// "LLLL 'd'e y – "
formatField(s, 'L', 4, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "LLLL 'd'e y"
formatField(e, 'L', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "LLLL–"
formatField(s, 'L', 4, b);
b.append("–");
// "LLLL 'd'e y"
formatField(e, 'L', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
default: break;
}
break;
}
case "Md": {
switch (f) {
case DAY: {
// "d/M – "
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append(" – ");
// "d/M"
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, b);
return;
}
case MONTH: {
// "d/M – "
formatField(s, 'd', 1, b);
b.append("/");
formatField(s, 'M', 1, b);
b.append(" – ");
// "d/M"
formatField(e, 'd', 1, b);
b.append("/");
formatField(e, 'M', 1, 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);
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("Hora de: ");
b.append(region);
}
}