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_pt 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 "pt"
* See http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
*/
public class _CalendarFormatter_pt extends CalendarFormatterBase {
public _CalendarFormatter_pt() {
this.bundleId = CLDR.Locale.pt;
this.firstDay = 1;
this.minDays = 1;
this.eras = new FieldVariants(
new String[] {"a.C.", "d.C."},
new String[] {"a.C.", "d.C."},
new String[] {},
new String[] {"antes de Cristo", "depois de Cristo"});
this.quartersFormat = new FieldVariants(
new String[] {"T1", "T2", "T3", "T4"},
new String[] {"1", "2", "3", "4"},
new String[] {},
new String[] {"1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"});
this.quartersStandalone = new FieldVariants(
new String[] {"T1", "T2", "T3", "T4"},
new String[] {"1", "2", "3", "4"},
new String[] {},
new String[] {"1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"});
this.monthsFormat = new FieldVariants(
new String[] {"jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"},
new String[] {"J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
new String[] {},
new String[] {"janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"});
this.monthsStandalone = new FieldVariants(
new String[] {"jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"},
new String[] {"J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
new String[] {},
new String[] {"janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"});
this.weekdaysFormat = new FieldVariants(
new String[] {"dom", "seg", "ter", "qua", "qui", "sex", "sáb"},
new String[] {"D", "S", "T", "Q", "Q", "S", "S"},
new String[] {"dom", "seg", "ter", "qua", "qui", "sex", "sáb"},
new String[] {"domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"});
this.weekdaysStandalone = new FieldVariants(
new String[] {"dom", "seg", "ter", "qua", "qui", "sex", "sáb"},
new String[] {"D", "S", "T", "Q", "Q", "S", "S"},
new String[] {"dom", "seg", "ter", "qua", "qui", "sex", "sáb"},
new String[] {"domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"});
this.dayPeriodsFormat = new FieldVariants(
new String[] {"AM", "PM"},
new String[] {"AM", "PM"},
new String[] {},
new String[] {"AM", "PM"});
this.dayPeriodsStandalone = new FieldVariants(
new String[] {"AM", "PM"},
new String[] {"AM", "PM"},
new String[] {},
new String[] {"AM", "PM"});
this.exemplarCities = new HashMap() { {
put("America/Adak", "Adak");
put("America/Anchorage", "Anchorage");
put("America/Anguilla", "Anguilla");
put("America/Antigua", "Antígua");
put("America/Araguaina", "Araguaína");
put("America/Argentina/Rio_Gallegos", "Rio 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ã");
put("America/Aruba", "Aruba");
put("America/Asuncion", "Assunção");
put("America/Bahia", "Bahia");
put("America/Bahia_Banderas", "Bahia 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", "Cancún");
put("America/Caracas", "Caracas");
put("America/Catamarca", "Catamarca");
put("America/Cayenne", "Caiena");
put("America/Cayman", "Caimã");
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", "Granada");
put("America/Guadeloupe", "Guadalupe");
put("America/Guatemala", "Guatemala");
put("America/Guayaquil", "Guaiaquil");
put("America/Guyana", "Guiana");
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", "Indianápolis");
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", "Manágua");
put("America/Manaus", "Manaus");
put("America/Marigot", "Marigot");
put("America/Martinique", "Martinica");
put("America/Matamoros", "Matamoros");
put("America/Mazatlan", "Mazatlan");
put("America/Mendoza", "Mendoza");
put("America/Menominee", "Menominee");
put("America/Merida", "Mérida");
put("America/Metlakatla", "Metlakatla");
put("America/Mexico_City", "Cidade do México");
put("America/Miquelon", "Miquelon");
put("America/Moncton", "Moncton");
put("America/Monterrey", "Monterrei");
put("America/Montevideo", "Montevidéu");
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", "Fernando de Noronha");
put("America/North_Dakota/Beulah", "Beulah, Dakota do Norte");
put("America/North_Dakota/New_Salem", "New Salen, Dakota do Norte");
put("America/North_Dakota/Center", "Central, Dakota do Norte");
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", "Porto Príncipe");
put("America/Port_of_Spain", "Porto Espanha");
put("America/Porto_Velho", "Porto Velho");
put("America/Puerto_Rico", "Porto 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", "Rio 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", "Ittoqqortoormiit");
put("America/Sitka", "Sitka");
put("America/St_Barthelemy", "São Bartolomeu");
put("America/St_Johns", "St. John’s");
put("America/St_Kitts", "São Cristóvão");
put("America/St_Lucia", "Santa Lúcia");
put("America/St_Thomas", "St. Thomas");
put("America/St_Vincent", "São Vicente");
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", "Bermudas");
put("Atlantic/Canary", "Canárias");
put("Atlantic/Cape_Verde", "Cabo Verde");
put("Atlantic/Faeroe", "Ilhas Faroe");
put("Atlantic/Madeira", "Madeira");
put("Atlantic/Reykjavik", "Reykjavík");
put("Atlantic/South_Georgia", "Geórgia do Sul");
put("Atlantic/St_Helena", "Santa Helena");
put("Atlantic/Stanley", "Stanley");
put("Europe/Amsterdam", "Amsterdã");
put("Europe/Andorra", "Andorra");
put("Europe/Astrakhan", "Astracã");
put("Europe/Athens", "Atenas");
put("Europe/Belgrade", "Belgrado");
put("Europe/Berlin", "Berlim");
put("Europe/Bratislava", "Bratislava");
put("Europe/Brussels", "Bruxelas");
put("Europe/Bucharest", "Bucareste");
put("Europe/Budapest", "Budapeste");
put("Europe/Busingen", "Büsingen");
put("Europe/Chisinau", "Chisinau");
put("Europe/Copenhagen", "Copenhague");
put("Europe/Dublin", "Dublin");
put("Europe/Gibraltar", "Gibraltar");
put("Europe/Guernsey", "Guernsey");
put("Europe/Helsinki", "Helsinque");
put("Europe/Isle_of_Man", "Ilha de Man");
put("Europe/Istanbul", "Istambul");
put("Europe/Jersey", "Jersey");
put("Europe/Kaliningrad", "Kaliningrado");
put("Europe/Kiev", "Kiev");
put("Europe/Kirov", "Kirov");
put("Europe/Lisbon", "Lisboa");
put("Europe/Ljubljana", "Liubliana");
put("Europe/London", "Londres");
put("Europe/Luxembourg", "Luxemburgo");
put("Europe/Madrid", "Madri");
put("Europe/Malta", "Malta");
put("Europe/Mariehamn", "Mariehamn");
put("Europe/Minsk", "Minsk");
put("Europe/Monaco", "Mônaco");
put("Europe/Moscow", "Moscou");
put("Europe/Oslo", "Oslo");
put("Europe/Paris", "Paris");
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", "Sófia");
put("Europe/Stockholm", "Estocolmo");
put("Europe/Tallinn", "Tallinn");
put("Europe/Tirane", "Tirana");
put("Europe/Ulyanovsk", "Ulianovsk");
put("Europe/Uzhgorod", "Uzhgorod");
put("Europe/Vaduz", "Vaduz");
put("Europe/Vatican", "Vaticano");
put("Europe/Vienna", "Viena");
put("Europe/Vilnius", "Vilnius");
put("Europe/Volgograd", "Volgogrado");
put("Europe/Warsaw", "Varsóvia");
put("Europe/Zagreb", "Zagreb");
put("Europe/Zaporozhye", "Zaporizhia");
put("Europe/Zurich", "Zurique");
put("Africa/Abidjan", "Abidjan");
put("Africa/Accra", "Acra");
put("Africa/Addis_Ababa", "Adis-Abeba");
put("Africa/Algiers", "Argel");
put("Africa/Asmera", "Asmara");
put("Africa/Bamako", "Bamaco");
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", "Cairo");
put("Africa/Casablanca", "Casablanca");
put("Africa/Ceuta", "Ceuta");
put("Africa/Conakry", "Conacri");
put("Africa/Dakar", "Dacar");
put("Africa/Dar_es_Salaam", "Dar es Salaam");
put("Africa/Djibouti", "Djibuti");
put("Africa/Douala", "Douala");
put("Africa/El_Aaiun", "El Aaiún");
put("Africa/Freetown", "Freetown");
put("Africa/Gaborone", "Gaborone");
put("Africa/Harare", "Harare");
put("Africa/Johannesburg", "Johannesburgo");
put("Africa/Juba", "Juba");
put("Africa/Kampala", "Campala");
put("Africa/Khartoum", "Cartum");
put("Africa/Kigali", "Kigali");
put("Africa/Kinshasa", "Kinshasa");
put("Africa/Lagos", "Lagos");
put("Africa/Libreville", "Libreville");
put("Africa/Lome", "Lomé");
put("Africa/Luanda", "Luanda");
put("Africa/Lubumbashi", "Lubumbashi");
put("Africa/Lusaka", "Lusaca");
put("Africa/Malabo", "Malabo");
put("Africa/Maputo", "Maputo");
put("Africa/Maseru", "Maseru");
put("Africa/Mbabane", "Mbabane");
put("Africa/Mogadishu", "Mogadíscio");
put("Africa/Monrovia", "Monróvia");
put("Africa/Nairobi", "Nairóbi");
put("Africa/Ndjamena", "Ndjamena");
put("Africa/Niamey", "Niamei");
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", "Túnis");
put("Africa/Windhoek", "Windhoek");
put("Asia/Aden", "Adem");
put("Asia/Almaty", "Almaty");
put("Asia/Amman", "Amã");
put("Asia/Anadyr", "Anadyr");
put("Asia/Aqtau", "Aqtau");
put("Asia/Aqtobe", "Aqtöbe");
put("Asia/Ashgabat", "Asgabate");
put("Asia/Baghdad", "Bagdá");
put("Asia/Bahrain", "Bahrein");
put("Asia/Baku", "Baku");
put("Asia/Bangkok", "Bangkok");
put("Asia/Barnaul", "Barnaul");
put("Asia/Beirut", "Beirute");
put("Asia/Bishkek", "Bishkek");
put("Asia/Brunei", "Brunei");
put("Asia/Calcutta", "Kolkata");
put("Asia/Chita", "Chita");
put("Asia/Choibalsan", "Choibalsan");
put("Asia/Colombo", "Colombo");
put("Asia/Damascus", "Damasco");
put("Asia/Dhaka", "Dacca");
put("Asia/Dili", "Dili");
put("Asia/Dubai", "Dubai");
put("Asia/Dushanbe", "Duchambe");
put("Asia/Gaza", "Gaza");
put("Asia/Hebron", "Hebrom");
put("Asia/Hong_Kong", "Hong Kong");
put("Asia/Hovd", "Hovd");
put("Asia/Irkutsk", "Irkutsk");
put("Asia/Jakarta", "Jacarta");
put("Asia/Jayapura", "Jayapura");
put("Asia/Jerusalem", "Jerusalém");
put("Asia/Kabul", "Kabul");
put("Asia/Kamchatka", "Kamchatka");
put("Asia/Karachi", "Carachi");
put("Asia/Katmandu", "Catmandu");
put("Asia/Khandyga", "Khandyga");
put("Asia/Krasnoyarsk", "Krasnoyarsk");
put("Asia/Kuala_Lumpur", "Kuala Lampur");
put("Asia/Kuching", "Kuching");
put("Asia/Kuwait", "Kuwait");
put("Asia/Macau", "Macau");
put("Asia/Magadan", "Magadan");
put("Asia/Makassar", "Macáçar");
put("Asia/Manila", "Manila");
put("Asia/Muscat", "Mascate");
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", "Qyzylorda");
put("Asia/Rangoon", "Yangon");
put("Asia/Riyadh", "Riade");
put("Asia/Saigon", "Ho Chi Minh");
put("Asia/Sakhalin", "Sacalina");
put("Asia/Samarkand", "Samarcanda");
put("Asia/Seoul", "Seul");
put("Asia/Shanghai", "Xangai");
put("Asia/Singapore", "Cingapura");
put("Asia/Srednekolymsk", "Srednekolymsk");
put("Asia/Taipei", "Taipei");
put("Asia/Tashkent", "Tashkent");
put("Asia/Tbilisi", "Tbilisi");
put("Asia/Tehran", "Teerã");
put("Asia/Thimphu", "Timphu");
put("Asia/Tokyo", "Tóquio");
put("Asia/Tomsk", "Tomsk");
put("Asia/Ulaanbaatar", "Ulan Bator");
put("Asia/Urumqi", "Urumqi");
put("Asia/Ust-Nera", "Ust-Nera");
put("Asia/Vientiane", "Vientiane");
put("Asia/Vladivostok", "Vladivostok");
put("Asia/Yakutsk", "Yakutsk");
put("Asia/Yekaterinburg", "Ecaterimburgo");
put("Asia/Yerevan", "Yerevan");
put("Indian/Antananarivo", "Antananarivo");
put("Indian/Chagos", "Chagos");
put("Indian/Christmas", "Christmas");
put("Indian/Cocos", "Cocos");
put("Indian/Comoro", "Comores");
put("Indian/Kerguelen", "Kerguelen");
put("Indian/Mahe", "Mahé");
put("Indian/Maldives", "Maldivas");
put("Indian/Mauritius", "Maurício");
put("Indian/Mayotte", "Mayotte");
put("Indian/Reunion", "Reunião");
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", "Ápia");
put("Pacific/Auckland", "Auckland");
put("Pacific/Bougainville", "Bougainville");
put("Pacific/Chatham", "Chatham");
put("Pacific/Easter", "Ilha de Páscoa");
put("Pacific/Efate", "Éfaté");
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", "Marquesas");
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", "Taiti");
put("Pacific/Tarawa", "Taraua");
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", "Showa");
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", "Cidade desconhecida");
} };
this.timezoneNames = new HashMap() { {
put("Europe/Dublin", new TimeZoneNames("Europe/Dublin", new TimeZoneNames.Name(null, null, "Horário Padrão da Irlanda"),
null));
put("Europe/London", new TimeZoneNames("Europe/London", new TimeZoneNames.Name(null, null, "Horário de Verão Britânico"),
null));
put("Etc/UTC", new TimeZoneNames("Etc/UTC", new TimeZoneNames.Name(null, "Tempo Universal Coordenado", null),
new TimeZoneNames.Name(null, "UTC", null)));
} };
this.metazoneNames = new HashMap() { {
put("Acre", new TimeZoneNames("Acre",
new TimeZoneNames.Name("Horário do Acre", "Horário Padrão do Acre", "Horário de Verão do Acre"),
new TimeZoneNames.Name("ACT", "ACT", "ACST")));
put("Afghanistan", new TimeZoneNames("Afghanistan",
new TimeZoneNames.Name(null, "Horário do Afeganistão", null),
null));
put("Africa_Central", new TimeZoneNames("Africa_Central",
new TimeZoneNames.Name(null, "Horário da África Central", null),
null));
put("Africa_Eastern", new TimeZoneNames("Africa_Eastern",
new TimeZoneNames.Name(null, "Horário da África Oriental", null),
null));
put("Africa_Southern", new TimeZoneNames("Africa_Southern",
new TimeZoneNames.Name(null, "Horário da África do Sul", null),
null));
put("Africa_Western", new TimeZoneNames("Africa_Western",
new TimeZoneNames.Name("Horário da África Ocidental", "Horário Padrão da África Ocidental", "Horário de Verão da África Ocidental"),
null));
put("Alaska", new TimeZoneNames("Alaska",
new TimeZoneNames.Name("Horário do Alasca", "Horário Padrão do Alasca", "Horário de Verão do Alasca"),
null));
put("Almaty", new TimeZoneNames("Almaty",
new TimeZoneNames.Name("Horário do Almaty", "Horário Padrão do Almaty", "Horário de Verão do Almaty"),
null));
put("Amazon", new TimeZoneNames("Amazon",
new TimeZoneNames.Name("Horário do Amazonas", "Horário Padrão do Amazonas", "Horário de Verão do Amazonas"),
new TimeZoneNames.Name("AMT", "AMT", "AMST")));
put("America_Central", new TimeZoneNames("America_Central",
new TimeZoneNames.Name("Horário Central", "Horário Padrão Central", "Horário de Verão Central"),
null));
put("America_Eastern", new TimeZoneNames("America_Eastern",
new TimeZoneNames.Name("Horário Oriental", "Horário Padrão Oriental", "Horário de Verão Oriental"),
null));
put("America_Mountain", new TimeZoneNames("America_Mountain",
new TimeZoneNames.Name("Horário da Montanha", "Horário Padrão da Montanha", "Horário de Verão da Montanha"),
null));
put("America_Pacific", new TimeZoneNames("America_Pacific",
new TimeZoneNames.Name("Horário do Pacífico", "Horário Padrão do Pacífico", "Horário de Verão do Pacífico"),
null));
put("Anadyr", new TimeZoneNames("Anadyr",
new TimeZoneNames.Name("Horário de Anadyr", "Horário Padrão do Anadyr", "Horário de Verão do Anadyr"),
null));
put("Apia", new TimeZoneNames("Apia",
new TimeZoneNames.Name("Horário de Apia", "Horário Padrão de Apia", "Horário de Verão de Apia"),
null));
put("Aqtau", new TimeZoneNames("Aqtau",
new TimeZoneNames.Name("Horário do Aqtau", "Horário Padrão do Aqtau", "Horário de Verão do Aqtau"),
null));
put("Aqtobe", new TimeZoneNames("Aqtobe",
new TimeZoneNames.Name("Horário do Aqtobe", "Horário Padrão do Aqtobe", "Horário de Verão do Aqtobe"),
null));
put("Arabian", new TimeZoneNames("Arabian",
new TimeZoneNames.Name("Horário da Arábia", "Horário Padrão da Arábia", "Horário de Verão da Arábia"),
null));
put("Argentina", new TimeZoneNames("Argentina",
new TimeZoneNames.Name("Horário da Argentina", "Horário Padrão da Argentina", "Horário de Verão da Argentina"),
null));
put("Argentina_Western", new TimeZoneNames("Argentina_Western",
new TimeZoneNames.Name("Horário da Argentina Ocidental", "Horário Padrão da Argentina Ocidental", "Horário de Verão da Argentina Ocidental"),
null));
put("Armenia", new TimeZoneNames("Armenia",
new TimeZoneNames.Name("Horário da Armênia", "Horário Padrão da Armênia", "Horário de Verão da Armênia"),
null));
put("Atlantic", new TimeZoneNames("Atlantic",
new TimeZoneNames.Name("Horário do Atlântico", "Horário Padrão do Atlântico", "Horário de Verão do Atlântico"),
null));
put("Australia_Central", new TimeZoneNames("Australia_Central",
new TimeZoneNames.Name("Horário da Austrália Central", "Horário Padrão da Austrália Central", "Horário de Verão da Austrália Central"),
null));
put("Australia_CentralWestern", new TimeZoneNames("Australia_CentralWestern",
new TimeZoneNames.Name("Horário da Austrália Centro-Ocidental", "Horário Padrão da Austrália Centro-Ocidental", "Horário de Verão da Austrália Centro-Ocidental"),
null));
put("Australia_Eastern", new TimeZoneNames("Australia_Eastern",
new TimeZoneNames.Name("Horário da Austrália Oriental", "Horário Padrão da Austrália Oriental", "Horário de Verão da Austrália Oriental"),
null));
put("Australia_Western", new TimeZoneNames("Australia_Western",
new TimeZoneNames.Name("Horário da Austrália Ocidental", "Horário Padrão da Austrália Ocidental", "Horário de Verão da Austrália Ocidental"),
null));
put("Azerbaijan", new TimeZoneNames("Azerbaijan",
new TimeZoneNames.Name("Horário do Arzeibaijão", "Horário Padrão do Arzeibaijão", "Horário de Verão do Arzeibaijão"),
null));
put("Azores", new TimeZoneNames("Azores",
new TimeZoneNames.Name("Horário dos Açores", "Horário Padrão dos Açores", "Horário de Verão dos Açores"),
null));
put("Bangladesh", new TimeZoneNames("Bangladesh",
new TimeZoneNames.Name("Horário de Bangladesh", "Horário Padrão de Bangladesh", "Horário de Verão de Bangladesh"),
null));
put("Bhutan", new TimeZoneNames("Bhutan",
new TimeZoneNames.Name(null, "Horário do Butão", null),
null));
put("Bolivia", new TimeZoneNames("Bolivia",
new TimeZoneNames.Name(null, "Horário da Bolívia", null),
null));
put("Brasilia", new TimeZoneNames("Brasilia",
new TimeZoneNames.Name("Horário de Brasília", "Horário Padrão de Brasília", "Horário de Verão de Brasília"),
new TimeZoneNames.Name("BRT", "BRT", "BRST")));
put("Brunei", new TimeZoneNames("Brunei",
new TimeZoneNames.Name(null, "Horário de Brunei Darussalam", null),
null));
put("Cape_Verde", new TimeZoneNames("Cape_Verde",
new TimeZoneNames.Name("Horário do Cabo Verde", "Horário Padrão do Cabo Verde", "Horário de Verão do Cabo Verde"),
null));
put("Chamorro", new TimeZoneNames("Chamorro",
new TimeZoneNames.Name(null, "Horário de Chamorro", null),
null));
put("Chatham", new TimeZoneNames("Chatham",
new TimeZoneNames.Name("Horário de Chatham", "Horário Padrão de Chatham", "Horário de Verão de Chatham"),
null));
put("Chile", new TimeZoneNames("Chile",
new TimeZoneNames.Name("Horário do Chile", "Horário Padrão do Chile", "Horário de Verão do Chile"),
null));
put("China", new TimeZoneNames("China",
new TimeZoneNames.Name("Horário da China", "Horário Padrão da China", "Horário de Verão da China"),
null));
put("Choibalsan", new TimeZoneNames("Choibalsan",
new TimeZoneNames.Name("Horário de Choibalsan", "Horário Padrão de Choibalsan", "Horário de Verão de Choibalsan"),
null));
put("Christmas", new TimeZoneNames("Christmas",
new TimeZoneNames.Name(null, "Horário da Ilha Christmas", null),
null));
put("Cocos", new TimeZoneNames("Cocos",
new TimeZoneNames.Name(null, "Horário das Ilhas Coco", null),
null));
put("Colombia", new TimeZoneNames("Colombia",
new TimeZoneNames.Name("Horário da Colômbia", "Horário Padrão da Colômbia", "Horário de Verão da Colômbia"),
null));
put("Cook", new TimeZoneNames("Cook",
new TimeZoneNames.Name("Horário das Ilhas Cook", "Horário Padrão das Ilhas Cook", "Meio Horário de Verão das Ilhas Cook"),
null));
put("Cuba", new TimeZoneNames("Cuba",
new TimeZoneNames.Name("Horário de Cuba", "Horário Padrão de Cuba", "Horário de Verão de Cuba"),
null));
put("Davis", new TimeZoneNames("Davis",
new TimeZoneNames.Name(null, "Horário de Davis", null),
null));
put("DumontDUrville", new TimeZoneNames("DumontDUrville",
new TimeZoneNames.Name(null, "Horário de Dumont-d’Urville", null),
null));
put("East_Timor", new TimeZoneNames("East_Timor",
new TimeZoneNames.Name(null, "Horário do Timor-Leste", null),
null));
put("Easter", new TimeZoneNames("Easter",
new TimeZoneNames.Name("Horário da Ilha de Páscoa", "Horário Padrão da Ilha de Páscoa", "Horário de Verão da Ilha de Páscoa"),
null));
put("Ecuador", new TimeZoneNames("Ecuador",
new TimeZoneNames.Name(null, "Horário do Equador", null),
null));
put("Europe_Central", new TimeZoneNames("Europe_Central",
new TimeZoneNames.Name("Horário da Europa Central", "Horário Padrão da Europa Central", "Horário de Verão da Europa Central"),
null));
put("Europe_Eastern", new TimeZoneNames("Europe_Eastern",
new TimeZoneNames.Name("Horário da Europa Oriental", "Horário Padrão da Europa Oriental", "Horário de Verão da Europa Oriental"),
null));
put("Europe_Further_Eastern", new TimeZoneNames("Europe_Further_Eastern",
new TimeZoneNames.Name(null, "Horário do Extremo Leste Europeu", null),
null));
put("Europe_Western", new TimeZoneNames("Europe_Western",
new TimeZoneNames.Name("Horário da Europa Ocidental", "Horário Padrão da Europa Ocidental", "Horário de Verão da Europa Ocidental"),
null));
put("Falkland", new TimeZoneNames("Falkland",
new TimeZoneNames.Name("Horário das Ilhas Falkland", "Horário Padrão das Ilhas Falkland", "Horário de Verão das Ilhas Falkland"),
null));
put("Fiji", new TimeZoneNames("Fiji",
new TimeZoneNames.Name("Horário de Fiji", "Horário Padrão de Fiji", "Horário de Verão de Fiji"),
null));
put("French_Guiana", new TimeZoneNames("French_Guiana",
new TimeZoneNames.Name(null, "Horário da Guiana Francesa", null),
null));
put("French_Southern", new TimeZoneNames("French_Southern",
new TimeZoneNames.Name(null, "Horário da Antártida e do Sul da França", null),
null));
put("Galapagos", new TimeZoneNames("Galapagos",
new TimeZoneNames.Name(null, "Horário de Galápagos", null),
null));
put("Gambier", new TimeZoneNames("Gambier",
new TimeZoneNames.Name(null, "Horário de Gambier", null),
null));
put("Georgia", new TimeZoneNames("Georgia",
new TimeZoneNames.Name("Horário da Geórgia", "Horário Padrão da Geórgia", "Horário de Verão da Geórgia"),
null));
put("Gilbert_Islands", new TimeZoneNames("Gilbert_Islands",
new TimeZoneNames.Name(null, "Horário das Ilhas Gilberto", null),
null));
put("GMT", new TimeZoneNames("GMT",
new TimeZoneNames.Name(null, "Horário do Meridiano de Greenwich", null),
null));
put("Greenland_Eastern", new TimeZoneNames("Greenland_Eastern",
new TimeZoneNames.Name("Horário da Groelândia Oriental", "Horário Padrão da Groelândia Oriental", "Horário de Verão da Groelândia Oriental"),
null));
put("Greenland_Western", new TimeZoneNames("Greenland_Western",
new TimeZoneNames.Name("Horário da Groenlândia Ocidental", "Horário Padrão da Groenlândia Ocidental", "Horário de Verão da Groenlândia Ocidental"),
null));
put("Guam", new TimeZoneNames("Guam",
new TimeZoneNames.Name(null, "Horário Padrão de Guam", null),
null));
put("Gulf", new TimeZoneNames("Gulf",
new TimeZoneNames.Name(null, "Horário do Golfo", null),
null));
put("Guyana", new TimeZoneNames("Guyana",
new TimeZoneNames.Name(null, "Horário da Guiana", null),
null));
put("Hawaii_Aleutian", new TimeZoneNames("Hawaii_Aleutian",
new TimeZoneNames.Name("Horário do Havaí e Ilhas Aleutas", "Horário Padrão do Havaí e Ilhas Aleutas", "Horário de Verão do Havaí e Ilhas Aleutas"),
null));
put("Hong_Kong", new TimeZoneNames("Hong_Kong",
new TimeZoneNames.Name("Horário de Hong Kong", "Horário Padrão de Hong Kong", "Horário de Verão de Hong Kong"),
null));
put("Hovd", new TimeZoneNames("Hovd",
new TimeZoneNames.Name("Horário de Hovd", "Horário Padrão de Hovd", "Horário de Verão de Hovd"),
null));
put("India", new TimeZoneNames("India",
new TimeZoneNames.Name(null, "Horário Padrão da Índia", null),
null));
put("Indian_Ocean", new TimeZoneNames("Indian_Ocean",
new TimeZoneNames.Name(null, "Horário do Oceano Índico", null),
null));
put("Indochina", new TimeZoneNames("Indochina",
new TimeZoneNames.Name(null, "Horário da Indochina", null),
null));
put("Indonesia_Central", new TimeZoneNames("Indonesia_Central",
new TimeZoneNames.Name(null, "Horário da Indonésia Central", null),
null));
put("Indonesia_Eastern", new TimeZoneNames("Indonesia_Eastern",
new TimeZoneNames.Name(null, "Horário da Indonésia Oriental", null),
null));
put("Indonesia_Western", new TimeZoneNames("Indonesia_Western",
new TimeZoneNames.Name(null, "Horário da Indonésia Ocidental", null),
null));
put("Iran", new TimeZoneNames("Iran",
new TimeZoneNames.Name("Horário do Irã", "Horário Padrão do Irã", "Horário de Verão do Irã"),
null));
put("Irkutsk", new TimeZoneNames("Irkutsk",
new TimeZoneNames.Name("Horário de Irkutsk", "Horário Padrão de Irkutsk", "Horário de Verão de Irkutsk"),
null));
put("Israel", new TimeZoneNames("Israel",
new TimeZoneNames.Name("Horário de Israel", "Horário Padrão de Israel", "Horário de Verão de Israel"),
null));
put("Japan", new TimeZoneNames("Japan",
new TimeZoneNames.Name("Horário do Japão", "Horário Padrão do Japão", "Horário de Verão do Japão"),
null));
put("Kamchatka", new TimeZoneNames("Kamchatka",
new TimeZoneNames.Name("Horário de Petropavlovsk-Kamchatski", "Horário Padrão de Petropavlovsk-Kamchatski", "Horário de Verão de Petropavlovsk-Kamchatski"),
null));
put("Kazakhstan_Eastern", new TimeZoneNames("Kazakhstan_Eastern",
new TimeZoneNames.Name(null, "Horário do Casaquistão Oriental", null),
null));
put("Kazakhstan_Western", new TimeZoneNames("Kazakhstan_Western",
new TimeZoneNames.Name(null, "Horário do Casaquistão Ocidental", null),
null));
put("Korea", new TimeZoneNames("Korea",
new TimeZoneNames.Name("Horário da Coreia", "Horário Padrão da Coreia", "Horário de Verão da Coreia"),
null));
put("Kosrae", new TimeZoneNames("Kosrae",
new TimeZoneNames.Name(null, "Horário de Kosrae", null),
null));
put("Krasnoyarsk", new TimeZoneNames("Krasnoyarsk",
new TimeZoneNames.Name("Horário de Krasnoyarsk", "Horário Padrão de Krasnoyarsk", "Horário de Verão de Krasnoyarsk"),
null));
put("Kyrgystan", new TimeZoneNames("Kyrgystan",
new TimeZoneNames.Name(null, "Horário do Quirguistão", null),
null));
put("Lanka", new TimeZoneNames("Lanka",
new TimeZoneNames.Name(null, "Horário de Lanka", null),
null));
put("Line_Islands", new TimeZoneNames("Line_Islands",
new TimeZoneNames.Name(null, "Horário das Ilhas Line", null),
null));
put("Lord_Howe", new TimeZoneNames("Lord_Howe",
new TimeZoneNames.Name("Horário de Lord Howe", "Horário Padrão de Lord Howe", "Horário de Verão de Lord Howe"),
null));
put("Macau", new TimeZoneNames("Macau",
new TimeZoneNames.Name("Horário de Macau", "Horário Padrão de Macau", "Horário de Verão de Macau"),
null));
put("Macquarie", new TimeZoneNames("Macquarie",
new TimeZoneNames.Name(null, "Horário da Ilha Macquarie", null),
null));
put("Magadan", new TimeZoneNames("Magadan",
new TimeZoneNames.Name("Horário de Magadan", "Horário Padrão de Magadan", "Horário de Verão de Magadan"),
null));
put("Malaysia", new TimeZoneNames("Malaysia",
new TimeZoneNames.Name(null, "Horário da Malásia", null),
null));
put("Maldives", new TimeZoneNames("Maldives",
new TimeZoneNames.Name(null, "Horário das Ilhas Maldivas", null),
null));
put("Marquesas", new TimeZoneNames("Marquesas",
new TimeZoneNames.Name(null, "Horário das Marquesas", null),
null));
put("Marshall_Islands", new TimeZoneNames("Marshall_Islands",
new TimeZoneNames.Name(null, "Horário das Ilhas Marshall", null),
null));
put("Mauritius", new TimeZoneNames("Mauritius",
new TimeZoneNames.Name("Horário das Ilhas Maurício", "Horário Padrão das Ilhas Maurício", "Horário de Verão das Ilhas Maurício"),
null));
put("Mawson", new TimeZoneNames("Mawson",
new TimeZoneNames.Name(null, "Horário de Mawson", null),
null));
put("Mexico_Northwest", new TimeZoneNames("Mexico_Northwest",
new TimeZoneNames.Name("Horário do Noroeste do México", "Horário Padrão do Noroeste do México", "Horário de Verão do Noroeste do México"),
null));
put("Mexico_Pacific", new TimeZoneNames("Mexico_Pacific",
new TimeZoneNames.Name("Horário do Pacífico do México", "Horário Padrão do Pacífico do México", "Horário de Verão do Pacífico do México"),
null));
put("Mongolia", new TimeZoneNames("Mongolia",
new TimeZoneNames.Name("Horário de Ulan Bator", "Horário Padrão de Ulan Bator", "Horário de Verão de Ulan Bator"),
null));
put("Moscow", new TimeZoneNames("Moscow",
new TimeZoneNames.Name("Horário de Moscou", "Horário Padrão de Moscou", "Horário de Verão de Moscou"),
null));
put("Myanmar", new TimeZoneNames("Myanmar",
new TimeZoneNames.Name(null, "Horário de Mianmar", null),
null));
put("Nauru", new TimeZoneNames("Nauru",
new TimeZoneNames.Name(null, "Horário de Nauru", null),
null));
put("Nepal", new TimeZoneNames("Nepal",
new TimeZoneNames.Name(null, "Horário do Nepal", null),
null));
put("New_Caledonia", new TimeZoneNames("New_Caledonia",
new TimeZoneNames.Name("Horário da Nova Caledônia", "Horário Padrão da Nova Caledônia", "Horário de Verão da Nova Caledônia"),
null));
put("New_Zealand", new TimeZoneNames("New_Zealand",
new TimeZoneNames.Name("Horário da Nova Zelândia", "Horário Padrão da Nova Zelândia", "Horário de Verão da Nova Zelândia"),
null));
put("Newfoundland", new TimeZoneNames("Newfoundland",
new TimeZoneNames.Name("Horário de Terra Nova", "Horário Padrão de Terra Nova", "Horário de Verão de Terra Nova"),
null));
put("Niue", new TimeZoneNames("Niue",
new TimeZoneNames.Name(null, "Horário de Niue", null),
null));
put("Norfolk", new TimeZoneNames("Norfolk",
new TimeZoneNames.Name(null, "Horário da Ilha Norfolk", null),
null));
put("Noronha", new TimeZoneNames("Noronha",
new TimeZoneNames.Name("Horário de Fernando de Noronha", "Horário Padrão de Fernando de Noronha", "Horário de Verão de Fernando de Noronha"),
null));
put("North_Mariana", new TimeZoneNames("North_Mariana",
new TimeZoneNames.Name(null, "Horário das Ilhas Mariana do Norte", null),
null));
put("Novosibirsk", new TimeZoneNames("Novosibirsk",
new TimeZoneNames.Name("Horário de Novosibirsk", "Horário Padrão de Novosibirsk", "Horário de Verão de Novosibirsk"),
null));
put("Omsk", new TimeZoneNames("Omsk",
new TimeZoneNames.Name("Horário de Omsk", "Horário Padrão de Omsk", "Horário de Verão de Omsk"),
null));
put("Pakistan", new TimeZoneNames("Pakistan",
new TimeZoneNames.Name("Horário do Paquistão", "Horário Padrão do Paquistão", "Horário de Verão do Paquistão"),
null));
put("Palau", new TimeZoneNames("Palau",
new TimeZoneNames.Name(null, "Horário de Palau", null),
null));
put("Papua_New_Guinea", new TimeZoneNames("Papua_New_Guinea",
new TimeZoneNames.Name(null, "Horário de Papua Nova Guiné", null),
null));
put("Paraguay", new TimeZoneNames("Paraguay",
new TimeZoneNames.Name("Horário do Paraguai", "Horário Padrão do Paraguai", "Horário de Verão do Paraguai"),
null));
put("Peru", new TimeZoneNames("Peru",
new TimeZoneNames.Name("Horário do Peru", "Horário Padrão do Peru", "Horário de Verão do Peru"),
null));
put("Philippines", new TimeZoneNames("Philippines",
new TimeZoneNames.Name("Horário das Filipinas", "Horário Padrão das Filipinas", "Horário de Verão das Filipinas"),
null));
put("Phoenix_Islands", new TimeZoneNames("Phoenix_Islands",
new TimeZoneNames.Name(null, "Horário das Ilhas Fênix", null),
null));
put("Pierre_Miquelon", new TimeZoneNames("Pierre_Miquelon",
new TimeZoneNames.Name("Horário de Saint Pierre e Miquelon", "Horário Padrão de Saint Pierre e Miquelon", "Horário de Verão de Saint Pierre e Miquelon"),
null));
put("Pitcairn", new TimeZoneNames("Pitcairn",
new TimeZoneNames.Name(null, "Horário de Pitcairn", null),
null));
put("Ponape", new TimeZoneNames("Ponape",
new TimeZoneNames.Name(null, "Horário de Ponape", null),
null));
put("Pyongyang", new TimeZoneNames("Pyongyang",
new TimeZoneNames.Name(null, "Horário de Pyongyang", null),
null));
put("Qyzylorda", new TimeZoneNames("Qyzylorda",
new TimeZoneNames.Name("Horário de Qyzylorda", "Horário Padrão de Qyzylorda", "Horário de Verão de Qyzylorda"),
null));
put("Reunion", new TimeZoneNames("Reunion",
new TimeZoneNames.Name(null, "Horário das Ilhas Reunião", null),
null));
put("Rothera", new TimeZoneNames("Rothera",
new TimeZoneNames.Name(null, "Horário de Rothera", null),
null));
put("Sakhalin", new TimeZoneNames("Sakhalin",
new TimeZoneNames.Name("Horário de Sacalina", "Horário Padrão de Sacalina", "Horário de Verão de Sacalina"),
null));
put("Samara", new TimeZoneNames("Samara",
new TimeZoneNames.Name("Horário de Samara", "Horário Padrão de Samara", "Horário de Verão de Samara"),
null));
put("Samoa", new TimeZoneNames("Samoa",
new TimeZoneNames.Name("Horário de Samoa", "Horário Padrão de Samoa", "Horário de Verão de Samoa"),
null));
put("Seychelles", new TimeZoneNames("Seychelles",
new TimeZoneNames.Name(null, "Horário das Ilhas Seychelles", null),
null));
put("Singapore", new TimeZoneNames("Singapore",
new TimeZoneNames.Name(null, "Horário Padrão de Cingapura", null),
null));
put("Solomon", new TimeZoneNames("Solomon",
new TimeZoneNames.Name(null, "Horário das Ilhas Salomão", null),
null));
put("South_Georgia", new TimeZoneNames("South_Georgia",
new TimeZoneNames.Name(null, "Horário da Geórgia do Sul", null),
null));
put("Suriname", new TimeZoneNames("Suriname",
new TimeZoneNames.Name(null, "Horário do Suriname", null),
null));
put("Syowa", new TimeZoneNames("Syowa",
new TimeZoneNames.Name(null, "Horário de Syowa", null),
null));
put("Tahiti", new TimeZoneNames("Tahiti",
new TimeZoneNames.Name(null, "Horário do Taiti", null),
null));
put("Taipei", new TimeZoneNames("Taipei",
new TimeZoneNames.Name("Horário de Taipei", "Horário Padrão de Taipei", "Horário de Verão de Taipei"),
null));
put("Tajikistan", new TimeZoneNames("Tajikistan",
new TimeZoneNames.Name(null, "Horário do Tajiquistão", null),
null));
put("Tokelau", new TimeZoneNames("Tokelau",
new TimeZoneNames.Name(null, "Horário de Tokelau", null),
null));
put("Tonga", new TimeZoneNames("Tonga",
new TimeZoneNames.Name("Horário de Tonga", "Horário Padrão de Tonga", "Horário de Verão de Tonga"),
null));
put("Truk", new TimeZoneNames("Truk",
new TimeZoneNames.Name(null, "Horário de Chuuk", null),
null));
put("Turkmenistan", new TimeZoneNames("Turkmenistan",
new TimeZoneNames.Name("Horário do Turcomenistão", "Horário Padrão do Turcomenistão", "Horário de Verão do Turcomenistão"),
null));
put("Tuvalu", new TimeZoneNames("Tuvalu",
new TimeZoneNames.Name(null, "Horário de Tuvalu", null),
null));
put("Uruguay", new TimeZoneNames("Uruguay",
new TimeZoneNames.Name("Horário do Uruguai", "Horário Padrão do Uruguai", "Horário de Verão do Uruguai"),
null));
put("Uzbekistan", new TimeZoneNames("Uzbekistan",
new TimeZoneNames.Name("Horário do Uzbequistão", "Horário Padrão do Uzbequistão", "Horário de Verão do Uzbequistão"),
null));
put("Vanuatu", new TimeZoneNames("Vanuatu",
new TimeZoneNames.Name("Horário de Vanuatu", "Horário Padrão de Vanuatu", "Horário de Verão de Vanuatu"),
null));
put("Venezuela", new TimeZoneNames("Venezuela",
new TimeZoneNames.Name(null, "Horário da Venezuela", null),
null));
put("Vladivostok", new TimeZoneNames("Vladivostok",
new TimeZoneNames.Name("Horário de Vladivostok", "Horário Padrão de Vladivostok", "Horário de Verão de Vladivostok"),
null));
put("Volgograd", new TimeZoneNames("Volgograd",
new TimeZoneNames.Name("Horário de Volgogrado", "Horário Padrão de Volgogrado", "Horário de Verão de Volgogrado"),
null));
put("Vostok", new TimeZoneNames("Vostok",
new TimeZoneNames.Name(null, "Horário de Vostok", null),
null));
put("Wake", new TimeZoneNames("Wake",
new TimeZoneNames.Name(null, "Horário das Ilhas Wake", null),
null));
put("Wallis", new TimeZoneNames("Wallis",
new TimeZoneNames.Name(null, "Horário de Wallis e Futuna", null),
null));
put("Yakutsk", new TimeZoneNames("Yakutsk",
new TimeZoneNames.Name("Horário de Yakutsk", "Horário Padrão de Yakutsk", "Horário de Verão de Yakutsk"),
null));
put("Yekaterinburg", new TimeZoneNames("Yekaterinburg",
new TimeZoneNames.Name("Horário de Ecaterimburgo", "Horário Padrão de Ecaterimburgo", "Horário de Verão de Ecaterimburgo"),
null));
} };
}
@Override
public void formatDate(CalendarFormat type, ZonedDateTime d, StringBuilder b) {
if (type == null) {
return;
}
switch (type) {
case SHORT: {
// "dd/MM/y"
formatField(d, 'd', 2, b);
b.append("/");
formatField(d, 'M', 2, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case MEDIUM: {
// "d 'de' MMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case LONG: {
// "d 'de' MMMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case FULL: {
// "EEEE, d 'de' MMMM 'de' y"
formatField(d, 'E', 4, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
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: {
// "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);
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: "y G"
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMM": {
// Pattern: "MMM 'de' y G"
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
b.append(" ");
formatField(d, 'G', 1, b);
break;
}
case "GyMMMd": {
// Pattern: "d 'de' MMM 'de' y G"
formatField(d, 'd', 1, b);
b.append(" de ");
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 'de' MMM 'de' y G"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, 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: "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: "d/M"
formatField(d, 'd', 1, b);
b.append("/");
formatField(d, 'M', 1, b);
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);
break;
}
case "MMdd": {
// Pattern: "dd/MM"
formatField(d, 'd', 2, b);
b.append("/");
formatField(d, 'M', 2, b);
break;
}
case "MMM": {
// Pattern: "LLL"
formatField(d, 'L', 3, b);
break;
}
case "MMMd": {
// Pattern: "d 'de' MMM"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, b);
break;
}
case "MMMEd": {
// Pattern: "E, d 'de' MMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, b);
break;
}
case "MMMMd": {
// Pattern: "d 'de' MMMM"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 4, b);
break;
}
case "MMMMEd": {
// Pattern: "E, d 'de' MMMM"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 4, b);
break;
}
case "MMMMW-count-one": {
// Pattern: "W'ª' 'semana' 'de' MMM"
formatField(d, 'W', 1, b);
b.append("ª semana de ");
formatField(d, 'M', 3, b);
break;
}
case "MMMMW-count-other": {
// Pattern: "W'ª' 'semana' 'de' MMMM"
formatField(d, 'W', 1, b);
b.append("ª semana de ");
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: "MM/y"
formatField(d, 'M', 2, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case "yMd": {
// Pattern: "dd/MM/y"
formatField(d, 'd', 2, b);
b.append("/");
formatField(d, 'M', 2, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case "yMEd": {
// Pattern: "E, dd/MM/y"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 2, b);
b.append("/");
formatField(d, 'M', 2, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case "yMM": {
// Pattern: "MM/y"
formatField(d, 'M', 2, b);
b.append("/");
formatField(d, 'y', 1, b);
break;
}
case "yMMM": {
// Pattern: "MMM 'de' y"
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMd": {
// Pattern: "d 'de' MMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMEd": {
// Pattern: "E, d 'de' MMM 'de' y"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMM": {
// Pattern: "MMMM 'de' y"
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMMd": {
// Pattern: "d 'de' MMMM 'de' y"
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yMMMMEd": {
// Pattern: "E, d 'de' MMMM 'de' y"
formatField(d, 'E', 1, b);
b.append(", ");
formatField(d, 'd', 1, b);
b.append(" de ");
formatField(d, 'M', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yQQQ": {
// Pattern: "QQQ 'de' y"
formatField(d, 'Q', 3, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yQQQQ": {
// Pattern: "QQQQ 'de' y"
formatField(d, 'Q', 4, b);
b.append(" de ");
formatField(d, 'y', 1, b);
break;
}
case "yw-count-one": {
// Pattern: "w'ª' 'semana' 'de' y"
formatField(d, 'w', 1, b);
b.append("ª semana de ");
formatField(d, 'y', 1, b);
break;
}
case "yw-count-other": {
// Pattern: "w'ª' 'semana' 'de' y"
formatField(d, 'w', 1, b);
b.append("ª semana 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 "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 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'h a – "
formatField(s, 'h', 1, b);
b.append("h ");
formatField(s, 'a', 1, b);
b.append(" – ");
// "h'h a"
formatField(e, 'h', 1, b);
b.append("h ");
formatField(e, 'a', 1, b);
return;
}
case HOUR: {
// "h'h - "
formatField(s, 'h', 1, b);
b.append("h - ");
// "h'h a"
formatField(e, 'h', 1, b);
b.append("h ");
formatField(e, 'a', 1, b);
return;
}
default: break;
}
break;
}
case "H": {
switch (f) {
case HOUR: {
// "HH'h - "
formatField(s, 'H', 2, b);
b.append("h - ");
// "HH'h"
formatField(e, 'H', 2, b);
b.append("h");
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 'd'e MMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "E, d 'd'e MMM 'd'e y – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "E, d 'd'e MMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "E, d 'd'e MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, d 'd'e MMM 'd'e y"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, 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);
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);
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);
return;
}
default: break;
}
break;
}
case "MMM": {
switch (f) {
case MONTH: {
// "MMM – "
formatField(s, 'M', 3, b);
b.append(" – ");
// "MMM"
formatField(e, 'M', 3, b);
return;
}
default: break;
}
break;
}
case "yMMM": {
switch (f) {
case YEAR: {
// "MMM 'd'e y – "
formatField(s, 'M', 3, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "MMM 'd'e y"
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "MMM – "
formatField(s, 'M', 3, b);
b.append(" – ");
// "MMM 'd'e y"
formatField(e, 'M', 3, b);
b.append(" de ");
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, 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 – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" – ");
// "E, d 'd'e MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "E, d 'd'e MMM – "
formatField(s, 'E', 1, b);
b.append(", ");
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "E, d 'd'e MMM"
formatField(e, 'E', 1, b);
b.append(", ");
formatField(e, 'd', 1, b);
b.append(" de ");
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);
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);
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);
return;
}
default: break;
}
break;
}
case "MMMd": {
switch (f) {
case DAY: {
// "d – "
formatField(s, 'd', 1, b);
b.append(" – ");
// "d 'd'e MMM"
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
return;
}
case MONTH: {
// "d 'd'e MMM – "
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "d 'd'e MMM"
formatField(e, 'd', 1, b);
b.append(" de ");
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);
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);
return;
}
default: break;
}
break;
}
case "yMMMM": {
switch (f) {
case YEAR: {
// "MMMM 'd'e y – "
formatField(s, 'M', 4, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "MMMM 'd'e y"
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "MMMM – "
formatField(s, 'M', 4, b);
b.append(" – ");
// "MMMM 'd'e y"
formatField(e, 'M', 4, b);
b.append(" de ");
formatField(e, 'y', 1, 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);
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);
return;
}
default: break;
}
break;
}
case "yMMMd": {
switch (f) {
case DAY: {
// "d – "
formatField(s, 'd', 1, b);
b.append(" – ");
// "d 'd'e MMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case YEAR: {
// "d 'd'e MMM 'd'e y – "
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" de ");
formatField(s, 'y', 1, b);
b.append(" – ");
// "d 'd'e MMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
formatField(e, 'y', 1, b);
return;
}
case MONTH: {
// "d 'd'e MMM – "
formatField(s, 'd', 1, b);
b.append(" de ");
formatField(s, 'M', 3, b);
b.append(" – ");
// "d 'd'e MMM 'd'e y"
formatField(e, 'd', 1, b);
b.append(" de ");
formatField(e, 'M', 3, b);
b.append(" de ");
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("Horário ");
b.append(region);
}
}