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.numbers._NumberFormatter_gl Maven / Gradle / Ivy
//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.numbers;
import com.squarespace.cldr.CLDR;
import com.squarespace.cldr.parse.FieldPattern;
import com.squarespace.cldr.plurals.PluralCategory;
import com.squarespace.cldr.units.Unit;
import java.lang.Math;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;
public class _NumberFormatter_gl extends NumberFormatterBase {
protected static final int[] DECIMAL_SHORT_DIVISORS = new int[] { 0,0,0,0,0,0,6,6,6,0,0,0,12,12,12 };
protected static final NumberPattern[][] DECIMAL_SHORT_ONE = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("#,##0.###", "-#,##0.###"),
/* 10K */ patterns("#,##0.###", "-#,##0.###"),
/* 100K */ patterns("#,##0.###", "-#,##0.###"),
/* 1M */ patterns("0 mill'.'", "-0 mill'.'"),
/* 10M */ patterns("00 mill'.'", "-00 mill'.'"),
/* 100M */ patterns("000 mill", "-000 mill"),
/* 1B */ patterns("#,##0.###", "-#,##0.###"),
/* 10B */ patterns("#,##0.###", "-#,##0.###"),
/* 100B */ patterns("#,##0.###", "-#,##0.###"),
/* 1T */ patterns("0 bill'.'", "-0 bill'.'"),
/* 10T */ patterns("00 bill'.'", "-00 bill'.'"),
/* 100T */ patterns("000 bill'.'", "-000 bill'.'")}
;
protected static final NumberPattern[][] DECIMAL_SHORT_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("#,##0.###", "-#,##0.###"),
/* 10K */ patterns("#,##0.###", "-#,##0.###"),
/* 100K */ patterns("#,##0.###", "-#,##0.###"),
/* 1M */ patterns("0 mill'.'", "-0 mill'.'"),
/* 10M */ patterns("00 mill'.'", "-00 mill'.'"),
/* 100M */ patterns("000 mill", "-000 mill"),
/* 1B */ patterns("#,##0.###", "-#,##0.###"),
/* 10B */ patterns("#,##0.###", "-#,##0.###"),
/* 100B */ patterns("#,##0.###", "-#,##0.###"),
/* 1T */ patterns("0 bill'.'", "-0 bill'.'"),
/* 10T */ patterns("00 bill'.'", "-00 bill'.'"),
/* 100T */ patterns("000 bill'.'", "-000 bill'.'")}
;
protected static final int[] DECIMAL_LONG_DIVISORS = new int[] { 0,0,0,0,0,0,6,6,6,0,0,0,12,12,12 };
protected static final NumberPattern[][] DECIMAL_LONG_ONE = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("#,##0.###", "-#,##0.###"),
/* 10K */ patterns("#,##0.###", "-#,##0.###"),
/* 100K */ patterns("#,##0.###", "-#,##0.###"),
/* 1M */ patterns("0 millón", "-0 millón"),
/* 10M */ patterns("00 millóns", "-00 millóns"),
/* 100M */ patterns("000 millóns", "-000 millóns"),
/* 1B */ patterns("#,##0.###", "-#,##0.###"),
/* 10B */ patterns("#,##0.###", "-#,##0.###"),
/* 100B */ patterns("#,##0.###", "-#,##0.###"),
/* 1T */ patterns("0 billón", "-0 billón"),
/* 10T */ patterns("00 billóns", "-00 billóns"),
/* 100T */ patterns("000 billóns", "-000 billóns")}
;
protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("#,##0.###", "-#,##0.###"),
/* 10K */ patterns("#,##0.###", "-#,##0.###"),
/* 100K */ patterns("#,##0.###", "-#,##0.###"),
/* 1M */ patterns("0 millóns", "-0 millóns"),
/* 10M */ patterns("00 millóns", "-00 millóns"),
/* 100M */ patterns("000 millóns", "-000 millóns"),
/* 1B */ patterns("#,##0.###", "-#,##0.###"),
/* 10B */ patterns("#,##0.###", "-#,##0.###"),
/* 100B */ patterns("#,##0.###", "-#,##0.###"),
/* 1T */ patterns("0 billóns", "-0 billóns"),
/* 10T */ patterns("00 billóns", "-00 billóns"),
/* 100T */ patterns("000 billóns", "-000 billóns")}
;
protected static final int[] CURRENCY_SHORT_DIVISORS = new int[] { 0,0,0,0,0,0,6,6,6,0,0,0,0,0,0 };
protected static final NumberPattern[][] CURRENCY_SHORT_ONE = new NumberPattern[][] {
/* 1 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1M */ patterns("0 M¤", "-0 M¤"),
/* 10M */ patterns("00 M¤", "-00 M¤"),
/* 100M */ patterns("000 M¤", "-000 M¤"),
/* 1B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤")}
;
protected static final NumberPattern[][] CURRENCY_SHORT_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100 */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100K */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1M */ patterns("0 M¤", "-0 M¤"),
/* 10M */ patterns("00 M¤", "-00 M¤"),
/* 100M */ patterns("000 M¤", "-000 M¤"),
/* 1B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100B */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 1T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 10T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
/* 100T */ patterns("#,##0.00 ¤", "-#,##0.00 ¤")}
;
protected static final Map> UNITS_LONG_ONE = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} forza G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metro por segundo cadrado"));
put(Unit.ARC_MINUTE, unitPattern("{0} minuto de arco"));
put(Unit.ARC_SECOND, unitPattern("{0} segundo de arco"));
put(Unit.DEGREE, unitPattern("{0} grao"));
put(Unit.RADIAN, unitPattern("{0} radián"));
put(Unit.REVOLUTION, unitPattern("{0} revolución"));
put(Unit.ACRE, unitPattern("{0} acre"));
put(Unit.HECTARE, unitPattern("{0} hectárea"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centímetro cadrado"));
put(Unit.SQUARE_FOOT, unitPattern("{0} pé cadrado"));
put(Unit.SQUARE_INCH, unitPattern("{0} polgada cadrada"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} quilómetro cadrado"));
put(Unit.SQUARE_METER, unitPattern("{0} metro cadrado"));
put(Unit.SQUARE_MILE, unitPattern("{0} milla cadrada"));
put(Unit.SQUARE_YARD, unitPattern("{0} iarda cadrada"));
put(Unit.KARAT, unitPattern("{0} quilate"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} miligramo por decilitro"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} milimol por litro"));
put(Unit.PART_PER_MILLION, unitPattern("{0} parte por millón"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litro por 100 quilómetros"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litro por quilómetro"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} milla por galón estadounidense"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} milla por galón imperial"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} xigabit"));
put(Unit.GIGABYTE, unitPattern("{0} xigabyte"));
put(Unit.KILOBIT, unitPattern("{0} kilobit"));
put(Unit.KILOBYTE, unitPattern("{0} kilobyte"));
put(Unit.MEGABIT, unitPattern("{0} megabit"));
put(Unit.MEGABYTE, unitPattern("{0} megabyte"));
put(Unit.TERABIT, unitPattern("{0} terabit"));
put(Unit.TERABYTE, unitPattern("{0} terabyte"));
put(Unit.CENTURY, unitPattern("{0} século"));
put(Unit.DAY, unitPattern("{0} día"));
put(Unit.HOUR, unitPattern("{0} hora"));
put(Unit.MICROSECOND, unitPattern("{0} microsegundo"));
put(Unit.MILLISECOND, unitPattern("{0} milisegundo"));
put(Unit.MINUTE, unitPattern("{0} minuto"));
put(Unit.MONTH, unitPattern("{0} mes"));
put(Unit.NANOSECOND, unitPattern("{0} nanosegundo"));
put(Unit.SECOND, unitPattern("{0} segundo"));
put(Unit.WEEK, unitPattern("{0} semana"));
put(Unit.YEAR, unitPattern("{0} ano"));
put(Unit.AMPERE, unitPattern("{0} amperio"));
put(Unit.MILLIAMPERE, unitPattern("{0} miliamperio"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} caloría"));
put(Unit.FOODCALORIE, unitPattern("{0} quilocaloría"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} quilocaloría"));
put(Unit.KILOJOULE, unitPattern("{0} quilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} quilowatt/hora"));
put(Unit.GIGAHERTZ, unitPattern("{0} xigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unidad astronómica"));
put(Unit.CENTIMETER, unitPattern("{0} centímetro"));
put(Unit.DECIMETER, unitPattern("{0} decímetro"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} pé"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} polgada"));
put(Unit.KILOMETER, unitPattern("{0} quilómetro"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ano luz"));
put(Unit.METER, unitPattern("{0} metro"));
put(Unit.MICROMETER, unitPattern("{0} micrómetro"));
put(Unit.MILE, unitPattern("{0} milla"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} milla escandinava"));
put(Unit.MILLIMETER, unitPattern("{0} milímetro"));
put(Unit.NANOMETER, unitPattern("{0} nanómetro"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} milla náutica"));
put(Unit.PARSEC, unitPattern("{0} pársec"));
put(Unit.PICOMETER, unitPattern("{0} picómetro"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} iarda"));
put(Unit.LUX, unitPattern("{0} lux"));
put(Unit.CARAT, unitPattern("{0} quilate"));
put(Unit.GRAM, unitPattern("{0} gramo"));
put(Unit.KILOGRAM, unitPattern("{0} quilogramo"));
put(Unit.METRIC_TON, unitPattern("{0} tonelada métrica"));
put(Unit.MICROGRAM, unitPattern("{0} microgramo"));
put(Unit.MILLIGRAM, unitPattern("{0} miligramo"));
put(Unit.OUNCE, unitPattern("{0} onza"));
put(Unit.OUNCE_TROY, unitPattern("{0} onza troy"));
put(Unit.POUND, unitPattern("{0} libra"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tonelada estadounidense"));
put(Unit.GIGAWATT, unitPattern("{0} xigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} cabalo de potencia"));
put(Unit.KILOWATT, unitPattern("{0} quilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} megawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} hectopascal"));
put(Unit.INCH_HG, unitPattern("{0} polgada de mercurio"));
put(Unit.MILLIBAR, unitPattern("{0} milibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} milímetro de mercurio"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} libra por polgada cadrada"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} quilómetro por hora"));
put(Unit.KNOT, unitPattern("{0} nó"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metro por segundo"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} milla por hora"));
put(Unit.CELSIUS, unitPattern("{0} grao Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} grao Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0} grao"));
put(Unit.KELVIN, unitPattern("{0} grao Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} acre-pé"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitro"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centímetro cúbico"));
put(Unit.CUBIC_FOOT, unitPattern("{0} pé cúbico"));
put(Unit.CUBIC_INCH, unitPattern("{0} polgada cúbica"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} quilómetro cúbico"));
put(Unit.CUBIC_METER, unitPattern("{0} metro cúbico"));
put(Unit.CUBIC_MILE, unitPattern("{0} milla cúbica"));
put(Unit.CUBIC_YARD, unitPattern("{0} iarda cúbica"));
put(Unit.CUP, unitPattern("{0} cunca"));
put(Unit.CUP_METRIC, unitPattern("{0} cunca métrica"));
put(Unit.DECILITER, unitPattern("{0} decilitro"));
put(Unit.FLUID_OUNCE, unitPattern("{0} onza líquida"));
put(Unit.GALLON, unitPattern("{0} galón estadounidense"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} galón imperial"));
put(Unit.HECTOLITER, unitPattern("{0} hectolitro"));
put(Unit.LITER, unitPattern("{0} litro"));
put(Unit.MEGALITER, unitPattern("{0} megalitro"));
put(Unit.MILLILITER, unitPattern("{0} mililitro"));
put(Unit.PINT, unitPattern("{0} pinta"));
put(Unit.PINT_METRIC, unitPattern("{0} pinta métrica"));
put(Unit.QUART, unitPattern("{0} cuarto"));
put(Unit.TABLESPOON, unitPattern("{0} cullerada"));
put(Unit.TEASPOON, unitPattern("{0} culleriña"));
}};
protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} forzas G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metros por segundo cadrado"));
put(Unit.ARC_MINUTE, unitPattern("{0} minutos de arco"));
put(Unit.ARC_SECOND, unitPattern("{0} segundos de arco"));
put(Unit.DEGREE, unitPattern("{0} graos"));
put(Unit.RADIAN, unitPattern("{0} radiáns"));
put(Unit.REVOLUTION, unitPattern("{0} revolucións"));
put(Unit.ACRE, unitPattern("{0} acres"));
put(Unit.HECTARE, unitPattern("{0} hectáreas"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centímetros cadrados"));
put(Unit.SQUARE_FOOT, unitPattern("{0} pés cadrados"));
put(Unit.SQUARE_INCH, unitPattern("{0} polgadas cadradas"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} quilómetros cadrados"));
put(Unit.SQUARE_METER, unitPattern("{0} metros cadrados"));
put(Unit.SQUARE_MILE, unitPattern("{0} millas cadradas"));
put(Unit.SQUARE_YARD, unitPattern("{0} iardas cadradas"));
put(Unit.KARAT, unitPattern("{0} quilates"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} miligramos por decilitro"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} milimoles por litro"));
put(Unit.PART_PER_MILLION, unitPattern("{0} partes por millón"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litros por 100 quilómetros"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litros por quilómetro"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} millas por galón estadounidense"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} millas por galón imperial"));
put(Unit.BIT, unitPattern("{0} bits"));
put(Unit.BYTE, unitPattern("{0} bytes"));
put(Unit.GIGABIT, unitPattern("{0} xigabits"));
put(Unit.GIGABYTE, unitPattern("{0} xigabytes"));
put(Unit.KILOBIT, unitPattern("{0} kilobits"));
put(Unit.KILOBYTE, unitPattern("{0} kilobytes"));
put(Unit.MEGABIT, unitPattern("{0} megabits"));
put(Unit.MEGABYTE, unitPattern("{0} megabytes"));
put(Unit.TERABIT, unitPattern("{0} terabits"));
put(Unit.TERABYTE, unitPattern("{0} terabytes"));
put(Unit.CENTURY, unitPattern("{0} séculos"));
put(Unit.DAY, unitPattern("{0} días"));
put(Unit.HOUR, unitPattern("{0} horas"));
put(Unit.MICROSECOND, unitPattern("{0} microsegundos"));
put(Unit.MILLISECOND, unitPattern("{0} milisegundos"));
put(Unit.MINUTE, unitPattern("{0} minutos"));
put(Unit.MONTH, unitPattern("{0} meses"));
put(Unit.NANOSECOND, unitPattern("{0} nanosegundos"));
put(Unit.SECOND, unitPattern("{0} segundos"));
put(Unit.WEEK, unitPattern("{0} semanas"));
put(Unit.YEAR, unitPattern("{0} anos"));
put(Unit.AMPERE, unitPattern("{0} amperios"));
put(Unit.MILLIAMPERE, unitPattern("{0} miliamperios"));
put(Unit.OHM, unitPattern("{0} ohms"));
put(Unit.VOLT, unitPattern("{0} volts"));
put(Unit.CALORIE, unitPattern("{0} calorías"));
put(Unit.FOODCALORIE, unitPattern("{0} quilocalorías"));
put(Unit.JOULE, unitPattern("{0} joules"));
put(Unit.KILOCALORIE, unitPattern("{0} quilocalorías"));
put(Unit.KILOJOULE, unitPattern("{0} quilojoules"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} quilowatts/hora"));
put(Unit.GIGAHERTZ, unitPattern("{0} xigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unidades astronómicas"));
put(Unit.CENTIMETER, unitPattern("{0} centímetros"));
put(Unit.DECIMETER, unitPattern("{0} decímetros"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} pés"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} polgadas"));
put(Unit.KILOMETER, unitPattern("{0} quilómetros"));
put(Unit.LIGHT_YEAR, unitPattern("{0} anos luz"));
put(Unit.METER, unitPattern("{0} metros"));
put(Unit.MICROMETER, unitPattern("{0} micrómetros"));
put(Unit.MILE, unitPattern("{0} millas"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} millas escandinavas"));
put(Unit.MILLIMETER, unitPattern("{0} milímetros"));
put(Unit.NANOMETER, unitPattern("{0} nanómetros"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} millas náuticas"));
put(Unit.PARSEC, unitPattern("{0} pársecs"));
put(Unit.PICOMETER, unitPattern("{0} picómetros"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} iardas"));
put(Unit.LUX, unitPattern("{0} luxes"));
put(Unit.CARAT, unitPattern("{0} quilates"));
put(Unit.GRAM, unitPattern("{0} gramos"));
put(Unit.KILOGRAM, unitPattern("{0} quilogramos"));
put(Unit.METRIC_TON, unitPattern("{0} toneladas métricas"));
put(Unit.MICROGRAM, unitPattern("{0} microgramos"));
put(Unit.MILLIGRAM, unitPattern("{0} miligramos"));
put(Unit.OUNCE, unitPattern("{0} onzas"));
put(Unit.OUNCE_TROY, unitPattern("{0} onzas troy"));
put(Unit.POUND, unitPattern("{0} libras"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} toneladas estadounidenses"));
put(Unit.GIGAWATT, unitPattern("{0} xigawatts"));
put(Unit.HORSEPOWER, unitPattern("{0} cabalos de potencia"));
put(Unit.KILOWATT, unitPattern("{0} quilowatts"));
put(Unit.MEGAWATT, unitPattern("{0} megawatts"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatts"));
put(Unit.WATT, unitPattern("{0} watts"));
put(Unit.HECTOPASCAL, unitPattern("{0} hectopascais"));
put(Unit.INCH_HG, unitPattern("{0} polgadas de mercurio"));
put(Unit.MILLIBAR, unitPattern("{0} milibares"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} milímetros de mercurio"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} libras por polgada cadrada"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} quilómetros por hora"));
put(Unit.KNOT, unitPattern("{0} nós"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metros por segundo"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} millas por hora"));
put(Unit.CELSIUS, unitPattern("{0} graos Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} graos Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0} graos"));
put(Unit.KELVIN, unitPattern("{0} graos Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} acre-pés"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitros"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centímetros cúbicos"));
put(Unit.CUBIC_FOOT, unitPattern("{0} pés cúbicos"));
put(Unit.CUBIC_INCH, unitPattern("{0} polgadas cúbicas"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} quilómetros cúbicos"));
put(Unit.CUBIC_METER, unitPattern("{0} metros cúbicos"));
put(Unit.CUBIC_MILE, unitPattern("{0} millas cúbicas"));
put(Unit.CUBIC_YARD, unitPattern("{0} iardas cúbicas"));
put(Unit.CUP, unitPattern("{0} cuncas"));
put(Unit.CUP_METRIC, unitPattern("{0} cuncas métricas"));
put(Unit.DECILITER, unitPattern("{0} decilitros"));
put(Unit.FLUID_OUNCE, unitPattern("{0} onzas líquidas"));
put(Unit.GALLON, unitPattern("{0} galóns estadounidenses"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} galóns imperiais"));
put(Unit.HECTOLITER, unitPattern("{0} hectolitros"));
put(Unit.LITER, unitPattern("{0} litros"));
put(Unit.MEGALITER, unitPattern("{0} megalitros"));
put(Unit.MILLILITER, unitPattern("{0} mililitros"));
put(Unit.PINT, unitPattern("{0} pintas"));
put(Unit.PINT_METRIC, unitPattern("{0} pintas métricas"));
put(Unit.QUART, unitPattern("{0} cuartos"));
put(Unit.TABLESPOON, unitPattern("{0} culleradas"));
put(Unit.TEASPOON, unitPattern("{0} culleriñas"));
}};
protected static final Map> UNITS_NARROW_ONE = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
put(Unit.ARC_MINUTE, unitPattern("{0}′"));
put(Unit.ARC_SECOND, unitPattern("{0}′′"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} rev"));
put(Unit.ACRE, unitPattern("{0} ac"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
put(Unit.KARAT, unitPattern("{0} CT"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dl"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/l"));
put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg EUA"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg imp."));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} kB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} séc."));
put(Unit.DAY, unitPattern("{0} d"));
put(Unit.HOUR, unitPattern("{0} h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0} ms"));
put(Unit.MINUTE, unitPattern("{0} min"));
put(Unit.MONTH, unitPattern("{0} m."));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} sem."));
put(Unit.YEAR, unitPattern("{0} a."));
put(Unit.AMPERE, unitPattern("{0} A"));
put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
put(Unit.OHM, unitPattern("{0} Ω"));
put(Unit.VOLT, unitPattern("{0} V"));
put(Unit.CALORIE, unitPattern("{0} cal"));
put(Unit.FOODCALORIE, unitPattern("{0} kcal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kW/h"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} ft"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} in"));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} al"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} mi"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} mi esc."));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} M"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yd"));
put(Unit.LUX, unitPattern("{0} lx"));
put(Unit.CARAT, unitPattern("{0} CT"));
put(Unit.GRAM, unitPattern("{0} g"));
put(Unit.KILOGRAM, unitPattern("{0} kg"));
put(Unit.METRIC_TON, unitPattern("{0} t"));
put(Unit.MICROGRAM, unitPattern("{0} µg"));
put(Unit.MILLIGRAM, unitPattern("{0} mg"));
put(Unit.OUNCE, unitPattern("{0} oz"));
put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn EUA"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hp"));
put(Unit.KILOWATT, unitPattern("{0} kW"));
put(Unit.MEGAWATT, unitPattern("{0} MW"));
put(Unit.MILLIWATT, unitPattern("{0} mW"));
put(Unit.WATT, unitPattern("{0} W"));
put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
put(Unit.INCH_HG, unitPattern("{0} inHg"));
put(Unit.MILLIBAR, unitPattern("{0} mbar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mm Hg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/h"));
put(Unit.KNOT, unitPattern("{0} nós"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
put(Unit.CELSIUS, unitPattern("{0} °C"));
put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} cl"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
put(Unit.CUP, unitPattern("{0} c"));
put(Unit.CUP_METRIC, unitPattern("{0} mc"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
put(Unit.GALLON, unitPattern("{0} gal EUA"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal imp."));
put(Unit.HECTOLITER, unitPattern("{0} hl"));
put(Unit.LITER, unitPattern("{0} l"));
put(Unit.MEGALITER, unitPattern("{0} Ml"));
put(Unit.MILLILITER, unitPattern("{0} ml"));
put(Unit.PINT, unitPattern("{0} pt"));
put(Unit.PINT_METRIC, unitPattern("{0} ptm"));
put(Unit.QUART, unitPattern("{0} qt"));
put(Unit.TABLESPOON, unitPattern("{0} tbsp"));
put(Unit.TEASPOON, unitPattern("{0} tsp"));
}};
protected static final Map> UNITS_NARROW_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
put(Unit.ARC_MINUTE, unitPattern("{0}′"));
put(Unit.ARC_SECOND, unitPattern("{0}′′"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} rev"));
put(Unit.ACRE, unitPattern("{0} ac"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
put(Unit.KARAT, unitPattern("{0} CT"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dl"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/l"));
put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg EUA"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg imp."));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} kB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} séc."));
put(Unit.DAY, unitPattern("{0} d"));
put(Unit.HOUR, unitPattern("{0} h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0} ms"));
put(Unit.MINUTE, unitPattern("{0} min"));
put(Unit.MONTH, unitPattern("{0} m."));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} sem."));
put(Unit.YEAR, unitPattern("{0} a."));
put(Unit.AMPERE, unitPattern("{0} A"));
put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
put(Unit.OHM, unitPattern("{0} Ω"));
put(Unit.VOLT, unitPattern("{0} V"));
put(Unit.CALORIE, unitPattern("{0} cal"));
put(Unit.FOODCALORIE, unitPattern("{0} kcal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kW/h"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} ft"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} in"));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} al"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} mi"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} mi esc."));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} M"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yd"));
put(Unit.LUX, unitPattern("{0} lx"));
put(Unit.CARAT, unitPattern("{0} CT"));
put(Unit.GRAM, unitPattern("{0} g"));
put(Unit.KILOGRAM, unitPattern("{0} kg"));
put(Unit.METRIC_TON, unitPattern("{0} t"));
put(Unit.MICROGRAM, unitPattern("{0} µg"));
put(Unit.MILLIGRAM, unitPattern("{0} mg"));
put(Unit.OUNCE, unitPattern("{0} oz"));
put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn EUA"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hp"));
put(Unit.KILOWATT, unitPattern("{0} kW"));
put(Unit.MEGAWATT, unitPattern("{0} MW"));
put(Unit.MILLIWATT, unitPattern("{0} mW"));
put(Unit.WATT, unitPattern("{0} W"));
put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
put(Unit.INCH_HG, unitPattern("{0} inHg"));
put(Unit.MILLIBAR, unitPattern("{0} mbar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mm Hg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/h"));
put(Unit.KNOT, unitPattern("{0} nós"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
put(Unit.CELSIUS, unitPattern("{0} °C"));
put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} cl"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
put(Unit.CUP, unitPattern("{0} c"));
put(Unit.CUP_METRIC, unitPattern("{0} mc"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
put(Unit.GALLON, unitPattern("{0} gal EUA"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal imp."));
put(Unit.HECTOLITER, unitPattern("{0} hl"));
put(Unit.LITER, unitPattern("{0} l"));
put(Unit.MEGALITER, unitPattern("{0} Ml"));
put(Unit.MILLILITER, unitPattern("{0} ml"));
put(Unit.PINT, unitPattern("{0} pt"));
put(Unit.PINT_METRIC, unitPattern("{0} ptm"));
put(Unit.QUART, unitPattern("{0} qt"));
put(Unit.TABLESPOON, unitPattern("{0} tbsp"));
put(Unit.TEASPOON, unitPattern("{0} tsp"));
}};
protected static final Map> UNITS_SHORT_ONE = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
put(Unit.ARC_MINUTE, unitPattern("{0}′"));
put(Unit.ARC_SECOND, unitPattern("{0}′′"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} rev"));
put(Unit.ACRE, unitPattern("{0} ac"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
put(Unit.KARAT, unitPattern("{0} CT"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dl"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/l"));
put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg EUA"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg imp."));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} kB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} séc."));
put(Unit.DAY, unitPattern("{0} d"));
put(Unit.HOUR, unitPattern("{0} h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0} ms"));
put(Unit.MINUTE, unitPattern("{0} min"));
put(Unit.MONTH, unitPattern("{0} mes"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} sem."));
put(Unit.YEAR, unitPattern("{0} ano"));
put(Unit.AMPERE, unitPattern("{0} A"));
put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
put(Unit.OHM, unitPattern("{0} Ω"));
put(Unit.VOLT, unitPattern("{0} V"));
put(Unit.CALORIE, unitPattern("{0} cal"));
put(Unit.FOODCALORIE, unitPattern("{0} kcal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kW/h"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} ft"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} in"));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} al"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} mi"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} mi esc."));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} M"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yd"));
put(Unit.LUX, unitPattern("{0} lx"));
put(Unit.CARAT, unitPattern("{0} CT"));
put(Unit.GRAM, unitPattern("{0} gram"));
put(Unit.KILOGRAM, unitPattern("{0} kg"));
put(Unit.METRIC_TON, unitPattern("{0} t"));
put(Unit.MICROGRAM, unitPattern("{0} µg"));
put(Unit.MILLIGRAM, unitPattern("{0} mg"));
put(Unit.OUNCE, unitPattern("{0} oz"));
put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn EUA"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hp"));
put(Unit.KILOWATT, unitPattern("{0} kW"));
put(Unit.MEGAWATT, unitPattern("{0} MW"));
put(Unit.MILLIWATT, unitPattern("{0} mW"));
put(Unit.WATT, unitPattern("{0} W"));
put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
put(Unit.INCH_HG, unitPattern("{0} inHg"));
put(Unit.MILLIBAR, unitPattern("{0} mbar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mm Hg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/h"));
put(Unit.KNOT, unitPattern("{0} nós"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
put(Unit.CELSIUS, unitPattern("{0} °C"));
put(Unit.FAHRENHEIT, unitPattern("{0} °F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} cl"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
put(Unit.CUP, unitPattern("{0} c"));
put(Unit.CUP_METRIC, unitPattern("{0} mc"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
put(Unit.GALLON, unitPattern("{0} gal EUA"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal imp."));
put(Unit.HECTOLITER, unitPattern("{0} hl"));
put(Unit.LITER, unitPattern("{0} l"));
put(Unit.MEGALITER, unitPattern("{0} Ml"));
put(Unit.MILLILITER, unitPattern("{0} ml"));
put(Unit.PINT, unitPattern("{0} pt"));
put(Unit.PINT_METRIC, unitPattern("{0} ptm"));
put(Unit.QUART, unitPattern("{0} qt"));
put(Unit.TABLESPOON, unitPattern("{0} tbsp"));
put(Unit.TEASPOON, unitPattern("{0} tsp"));
}};
protected static final Map> UNITS_SHORT_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
put(Unit.ARC_MINUTE, unitPattern("{0}′"));
put(Unit.ARC_SECOND, unitPattern("{0}′′"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} rev"));
put(Unit.ACRE, unitPattern("{0} ac"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
put(Unit.KARAT, unitPattern("{0} CT"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dl"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/l"));
put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg EUA"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg imp."));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} kB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} séc."));
put(Unit.DAY, unitPattern("{0} d"));
put(Unit.HOUR, unitPattern("{0} h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0} ms"));
put(Unit.MINUTE, unitPattern("{0} min"));
put(Unit.MONTH, unitPattern("{0} meses"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} sem."));
put(Unit.YEAR, unitPattern("{0} anos"));
put(Unit.AMPERE, unitPattern("{0} A"));
put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
put(Unit.OHM, unitPattern("{0} Ω"));
put(Unit.VOLT, unitPattern("{0} V"));
put(Unit.CALORIE, unitPattern("{0} cal"));
put(Unit.FOODCALORIE, unitPattern("{0} kcal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kW/h"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} ft"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} in"));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} al"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} mi"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} mi esc."));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} M"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yd"));
put(Unit.LUX, unitPattern("{0} lx"));
put(Unit.CARAT, unitPattern("{0} CT"));
put(Unit.GRAM, unitPattern("{0} g"));
put(Unit.KILOGRAM, unitPattern("{0} kg"));
put(Unit.METRIC_TON, unitPattern("{0} t"));
put(Unit.MICROGRAM, unitPattern("{0} µg"));
put(Unit.MILLIGRAM, unitPattern("{0} mg"));
put(Unit.OUNCE, unitPattern("{0} oz"));
put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn EUA"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hp"));
put(Unit.KILOWATT, unitPattern("{0} kW"));
put(Unit.MEGAWATT, unitPattern("{0} MW"));
put(Unit.MILLIWATT, unitPattern("{0} mW"));
put(Unit.WATT, unitPattern("{0} W"));
put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
put(Unit.INCH_HG, unitPattern("{0} inHg"));
put(Unit.MILLIBAR, unitPattern("{0} mbar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mm Hg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/h"));
put(Unit.KNOT, unitPattern("{0} nós"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
put(Unit.CELSIUS, unitPattern("{0} °C"));
put(Unit.FAHRENHEIT, unitPattern("{0} °F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} cl"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
put(Unit.CUP, unitPattern("{0} c"));
put(Unit.CUP_METRIC, unitPattern("{0} mc"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
put(Unit.GALLON, unitPattern("{0} gal EUA"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal imp."));
put(Unit.HECTOLITER, unitPattern("{0} hl"));
put(Unit.LITER, unitPattern("{0} l"));
put(Unit.MEGALITER, unitPattern("{0} Ml"));
put(Unit.MILLILITER, unitPattern("{0} ml"));
put(Unit.PINT, unitPattern("{0} pt"));
put(Unit.PINT_METRIC, unitPattern("{0} ptm"));
put(Unit.QUART, unitPattern("{0} qt"));
put(Unit.TABLESPOON, unitPattern("{0} tbsp"));
put(Unit.TEASPOON, unitPattern("{0} tsp"));
}};
public _NumberFormatter_gl() {
super(
CLDR.Locale.gl,
new _Params(),
// decimal standard
patterns("#,##0.###", "-#,##0.###"),
// percent standard
patterns("#,##0 %", "-#,##0 %"),
// currency standard
patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
// currency accounting
patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
// units standard
patterns("#,##0.#", "-#,##0.#")
);
}
protected int getDivisor_DECIMAL_SHORT(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return DECIMAL_SHORT_DIVISORS[index];
}
protected NumberPattern[] getPattern_DECIMAL_SHORT(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return DECIMAL_SHORT_ONE[index];
case OTHER:
default: return DECIMAL_SHORT_OTHER[index];
}
}
protected int getDivisor_DECIMAL_LONG(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return DECIMAL_LONG_DIVISORS[index];
}
protected NumberPattern[] getPattern_DECIMAL_LONG(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return DECIMAL_LONG_ONE[index];
case OTHER:
default: return DECIMAL_LONG_OTHER[index];
}
}
protected int getDivisor_CURRENCY_SHORT(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return CURRENCY_SHORT_DIVISORS[index];
}
protected NumberPattern[] getPattern_CURRENCY_SHORT(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return CURRENCY_SHORT_ONE[index];
case OTHER:
default: return CURRENCY_SHORT_OTHER[index];
}
}
protected List getPattern_UNITS_LONG(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_LONG_ONE.get(unit);
case OTHER: default: return UNITS_LONG_OTHER.get(unit);
}
}
protected List getPattern_UNITS_NARROW(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_NARROW_ONE.get(unit);
case OTHER: default: return UNITS_NARROW_OTHER.get(unit);
}
}
protected List getPattern_UNITS_SHORT(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_SHORT_ONE.get(unit);
case OTHER: default: return UNITS_SHORT_OTHER.get(unit);
}
}
public String getCurrencySymbol(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case AUD: return "$A";
case BRL: return "$R";
case CAD: return "$CA";
case CNY: return "CN¥";
case ESP: return "₧";
case EUR: return "€";
case GBP: return "£";
case HKD: return "HK$";
case ILS: return "₪";
case INR: return "₹";
case JPY: return "JP¥";
case KRW: return "₩";
case MXN: return "$MX";
case NZD: return "NZ$";
case THB: return "฿";
case TWD: return "NT$";
case USD: return "$";
case VND: return "₫";
case XAF: return "FCFA";
case XCD: return "EC$";
case XOF: return "CFA";
case XPF: return "CFPF";
default: return code.name();
}
}
public String getNarrowCurrencySymbol(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case AOA: return "Kz";
case ARS: return "$";
case AUD: return "$";
case BAM: return "KM";
case BBD: return "$";
case BDT: return "৳";
case BMD: return "$";
case BND: return "$";
case BOB: return "Bs";
case BRL: return "$R";
case BSD: return "$";
case BWP: return "P";
case BYN: return "р.";
case BZD: return "$";
case CAD: return "$";
case CLP: return "$";
case CNY: return "¥";
case COP: return "$";
case CRC: return "₡";
case CUC: return "$";
case CUP: return "$";
case CZK: return "Kč";
case DKK: return "kr";
case DOP: return "$";
case EGP: return "E£";
case ESP: return "₧";
case EUR: return "€";
case FJD: return "$";
case FKP: return "£";
case GBP: return "£";
case GEL: return "₾";
case GIP: return "£";
case GNF: return "FG";
case GTQ: return "Q";
case GYD: return "$";
case HKD: return "$";
case HNL: return "L";
case HRK: return "kn";
case HUF: return "Ft";
case IDR: return "Rp";
case ILS: return "₪";
case INR: return "₹";
case ISK: return "kr";
case JMD: return "$";
case JPY: return "¥";
case KHR: return "៛";
case KMF: return "FC";
case KPW: return "₩";
case KRW: return "₩";
case KYD: return "$";
case KZT: return "₸";
case LAK: return "₭";
case LBP: return "L£";
case LKR: return "Rs";
case LRD: return "$";
case LTL: return "Lt";
case LVL: return "Ls";
case MGA: return "Ar";
case MMK: return "K";
case MNT: return "₮";
case MUR: return "Rs";
case MXN: return "$";
case MYR: return "RM";
case NAD: return "$";
case NGN: return "₦";
case NIO: return "C$";
case NOK: return "kr";
case NPR: return "Rs";
case NZD: return "$";
case PHP: return "₱";
case PKR: return "Rs";
case PLN: return "zł";
case PYG: return "₲";
case RON: return "lei";
case RUB: return "руб";
case RUR: return "р.";
case RWF: return "RF";
case SBD: return "$";
case SEK: return "kr";
case SGD: return "$";
case SHP: return "£";
case SRD: return "$";
case SSP: return "£";
case STD: return "Db";
case SYP: return "£";
case THB: return "฿";
case TOP: return "T$";
case TRY: return "₺";
case TTD: return "$";
case TWD: return "NT$";
case UAH: return "₴";
case USD: return "$";
case UYU: return "$";
case VEF: return "Bs";
case VND: return "₫";
case XAF: return "FCFA";
case XCD: return "$";
case XOF: return "CFA";
case XPF: return "CFPF";
case ZAR: return "R";
case ZMW: return "ZK";
default: return code.name();
}
}
public String getCurrencyDisplayName(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case ADP: return "peseta andorrana";
case AED: return "Dirham dos Emiratos Árabes Unidos";
case AFN: return "Afgani afgano";
case ALL: return "Lek albanés";
case AMD: return "Dram armenio";
case ANG: return "Florín das Antillas Neerlandesas";
case AOA: return "Kwanza angolano";
case ARP: return "Peso arxentino (1983–1985)";
case ARS: return "Peso arxentino";
case AUD: return "Dólar australiano";
case AWG: return "Florín de Aruba";
case AZN: return "Manat acerbaixano";
case BAM: return "Marco convertible de Bosnia e Hercegovina";
case BBD: return "Dólar de Barbados";
case BDT: return "Taka de Bangladés";
case BEC: return "Franco belga (convertible)";
case BEF: return "Franco belga";
case BEL: return "Franco belga (financeiro)";
case BGN: return "Lev búlgaro";
case BHD: return "Dinar de Bahrain";
case BIF: return "Franco burundiano";
case BMD: return "Dólar das Bemudas";
case BND: return "Dólar de Brunei";
case BOB: return "Boliviano";
case BOP: return "Peso boliviano";
case BOV: return "MVDOL boliviano";
case BRB: return "Cruzeiro novo brasileiro (1967–1986)";
case BRC: return "Cruzado brasileiro";
case BRE: return "Cruzeiro brasileiro (1990–1993)";
case BRL: return "Real brasileiro";
case BRN: return "Cruzado novo brasileiro";
case BRR: return "Cruzeiro brasileiro";
case BSD: return "Dólar das Bahamas";
case BTN: return "Ngultrum butanés";
case BWP: return "Pula botsuaniano";
case BYN: return "Rublo bielorruso";
case BYR: return "Rublo bielorruso (2000–2016)";
case BZD: return "Dólar belizense";
case CAD: return "Dólar canadense";
case CDF: return "Franco congolés";
case CHF: return "Franco suízo";
case CLF: return "Unidades de fomento chilenas";
case CLP: return "Peso chileno";
case CNY: return "Iuán chinés";
case COP: return "Peso colombiano";
case CRC: return "Colón costarriqueño";
case CUC: return "Peso cubano convertible";
case CUP: return "Peso cubano";
case CVE: return "Escudo caboverdiano";
case CZK: return "Coroa checa";
case DEM: return "Marco alemán";
case DJF: return "Franco xibutiano";
case DKK: return "Coroa dinamarquesa";
case DOP: return "Peso dominicano";
case DZD: return "Dinar alxeriano";
case ECS: return "Sucre ecuatoriano";
case ECV: return "Unidade de valor constante ecuatoriana";
case EGP: return "Libra exipcia";
case ERN: return "Nakfa eritreo";
case ESA: return "Peseta española (conta A)";
case ESB: return "Peseta española (conta convertible)";
case ESP: return "Peseta española";
case ETB: return "Birr etíope";
case EUR: return "Euro";
case FJD: return "Dólar fidxiano";
case FKP: return "Libra das Malvinas";
case FRF: return "Franco francés";
case GBP: return "Libra esterlina";
case GEL: return "Lari xeorxiano";
case GHS: return "Cedi de Ghana";
case GIP: return "libra xibraltareña";
case GMD: return "Dalasi gambiano";
case GNF: return "Franco guineano";
case GNS: return "Syli guineano";
case GQE: return "Ekwele guineana";
case GRD: return "Dracma grego";
case GTQ: return "Quetzal guatemalteco";
case GYD: return "Dólar güianés";
case HKD: return "Dólar de Hong Kong";
case HNL: return "Lempira hondureño";
case HRK: return "Kuna croata";
case HTG: return "Gourde haitiano";
case HUF: return "Florín húngaro";
case IDR: return "Rupia indonesia";
case IEP: return "Libra irlandesa";
case ILS: return "Novo shequel israelí";
case INR: return "Rupia india";
case IQD: return "Dinar iraquí";
case IRR: return "Rial iraniano";
case ISK: return "Coroa islandesa";
case ITL: return "Lira italiana";
case JMD: return "Dólar xamaicano";
case JOD: return "Dinar xordano";
case JPY: return "Ien xaponés";
case KES: return "Xilin kenyano";
case KGS: return "Som quirguicistano";
case KHR: return "Riel camboxano";
case KMF: return "Franco comoriano";
case KPW: return "Won norcoreano";
case KRW: return "Won surcoreano";
case KWD: return "Dinar kuwaití";
case KYD: return "Dólar das Illas Caimán";
case KZT: return "Tenge casaco";
case LAK: return "Kip laosiano";
case LBP: return "Libra libanesa";
case LKR: return "Rupia de Sri Lanka";
case LRD: return "Dólar liberiano";
case LSL: return "Loti de Lesoto";
case LTL: return "Litas lituana";
case LUC: return "Franco convertible luxemburgués";
case LUF: return "Franco luxemburgués";
case LUL: return "Franco financeiro luxemburgués";
case LVL: return "Lats letón";
case LYD: return "Dinar libio";
case MAD: return "Dirham marroquí";
case MAF: return "Franco marroquí";
case MDL: return "Leu moldavo";
case MGA: return "Ariary malgaxe";
case MKD: return "Dinar macedonio";
case MMK: return "Kyat birmano";
case MNT: return "Tugrik mongol";
case MOP: return "Pataca de Macau";
case MRO: return "Ouguiya mauritano";
case MUR: return "Rupia mauriciana";
case MVR: return "Rupia maldivana";
case MWK: return "Kwacha de Malaui";
case MXN: return "Peso mexicano";
case MXP: return "Peso de prata mexicano (1861–1992)";
case MXV: return "Unidade de inversión mexicana";
case MYR: return "Ringgit malaio";
case MZN: return "Metical de Mozambique";
case NAD: return "Dólar namibio";
case NGN: return "Naira nixeriano";
case NIC: return "Córdoba nicaragüense";
case NIO: return "Córdoba de ouro nicaraguano";
case NLG: return "Florín holandés";
case NOK: return "Coroa norueguesa";
case NPR: return "Rupia nepalesa";
case NZD: return "Dólar neozelandés";
case OMR: return "Rial omaní";
case PAB: return "Balboa panameño";
case PEI: return "Inti peruano";
case PEN: return "Sol peruano";
case PES: return "Sol peruano (1863–1965)";
case PGK: return "Kina de Papúa-Nova Guinea";
case PHP: return "Peso filipino";
case PKR: return "Rupia paquistaní";
case PLN: return "Zloty polaco";
case PTE: return "Escudo portugués";
case PYG: return "Guaraní paraguaio";
case QAR: return "Rial qatarí";
case RON: return "Leu romanés";
case RSD: return "Dinar serbio";
case RUB: return "Rublo ruso";
case RUR: return "Rublo ruso (1991–1998)";
case RWF: return "Franco ruandés";
case SAR: return "Rial saudita";
case SBD: return "Dólar das Illas Salomón";
case SCR: return "Rupia de Seixeles";
case SDG: return "Libra sudanesa";
case SEK: return "Coroa sueca";
case SGD: return "Dólar de Singapur";
case SHP: return "Libra de Santa Helena";
case SLL: return "Leone de Serra Leoa";
case SOS: return "Xilin somalí";
case SRD: return "Dólar surinamés";
case SSP: return "Libra sursudanesa";
case STD: return "Dobra de São Tomé e Príncipe";
case SUR: return "Rublo soviético";
case SVC: return "Colón salvadoreño";
case SYP: return "Libra siria";
case SZL: return "Lilangeni de Suacilandia";
case THB: return "Baht tailandés";
case TJS: return "Somoni taxiquistano";
case TMT: return "Manat turcomán";
case TND: return "Dinar tunisiano";
case TOP: return "Paʻanga de Tonga";
case TRY: return "Lira turca";
case TTD: return "Dólar de Trinidad e Tobago";
case TWD: return "Novo dólar taiwanés";
case TZS: return "Xilin tanzano";
case UAH: return "Hrivna ucraína";
case UGX: return "Xilin ugandés";
case USD: return "Dólar estadounidense";
case UYI: return "Peso en unidades indexadas uruguaio";
case UYP: return "Peso uruguaio (1975–1993)";
case UYU: return "Peso uruguaio";
case UZS: return "Som usbeco";
case VEB: return "Bolívar venezolano (1871–2008)";
case VEF: return "Bolívar venezolano";
case VND: return "Dong vietnamita";
case VUV: return "Vatu vanuatiano";
case WST: return "Tala samoano";
case XAF: return "Franco CFA (BEAC)";
case XAG: return "Prata";
case XAU: return "Ouro";
case XCD: return "Dólar do Caribe Oriental";
case XOF: return "Franco CFA (BCEAO)";
case XPD: return "Paladio";
case XPF: return "Franco CFP";
case XPT: return "Platino";
case XXX: return "Moeda descoñecida";
case YER: return "Rial iemení";
case ZAR: return "Rand surafricano";
case ZMK: return "Kwacha zambiano (1968–2012)";
case ZMW: return "Kwacha zambiano";
default: return code.name();
}
}
protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
switch (code) {
case ADP: {
switch (category) {
case ONE: return "peseta andorrana";
case OTHER:
default: return "pesetas andorranas";
}
}
case AED: {
switch (category) {
case ONE: return "dirham dos Emiratos Árabes Unidos";
case OTHER:
default: return "dirhams dos Emiratos Árabes Unidos";
}
}
case AFN: {
switch (category) {
case ONE: return "afgani afgano";
case OTHER:
default: return "afganis afganos";
}
}
case ALL: {
switch (category) {
case ONE: return "lek albanés";
case OTHER:
default: return "leks albaneses";
}
}
case AMD: {
switch (category) {
case ONE: return "dram armenio";
case OTHER:
default: return "drams armenios";
}
}
case ANG: {
switch (category) {
case ONE: return "florín das Antillas Neerlandesas";
case OTHER:
default: return "floríns das Antillas Neerlandesas";
}
}
case AOA: {
switch (category) {
case ONE: return "kwanza angolano";
case OTHER:
default: return "kwanzas angolanos";
}
}
case ARP: {
switch (category) {
case ONE: return "peso arxentino (ARP)";
case OTHER:
default: return "pesos arxentinos (ARP)";
}
}
case ARS: {
switch (category) {
case ONE: return "peso arxentino";
case OTHER:
default: return "pesos arxentinos";
}
}
case AUD: {
switch (category) {
case ONE: return "dólar australiano";
case OTHER:
default: return "dólares australianos";
}
}
case AWG: {
switch (category) {
case ONE: return "florín de Aruba";
case OTHER:
default: return "floríns de Aruba";
}
}
case AZN: {
switch (category) {
case ONE: return "manat acerbaixano";
case OTHER:
default: return "manats acerbaixanos";
}
}
case BAM: {
switch (category) {
case ONE: return "marco convertible de Bosnia e Hercegovina";
case OTHER:
default: return "marcos convertibles de Bosnia e Hercegovina";
}
}
case BBD: {
switch (category) {
case ONE: return "dólar de Barbados";
case OTHER:
default: return "dólares de Barbados";
}
}
case BDT: {
switch (category) {
case ONE: return "taka de Bangladés";
case OTHER:
default: return "takas de Bangladés";
}
}
case BEC: {
switch (category) {
case ONE: return "franco belga (convertible)";
case OTHER:
default: return "francos belgas (convertibles)";
}
}
case BEF: {
switch (category) {
case ONE: return "franco belga";
case OTHER:
default: return "francos belgas";
}
}
case BEL: {
switch (category) {
case ONE: return "franco belga (financeiro)";
case OTHER:
default: return "francos belgas (financeiros)";
}
}
case BGN: {
switch (category) {
case ONE: return "lev búlgaro";
case OTHER:
default: return "levs búlgaros";
}
}
case BHD: {
switch (category) {
case ONE: return "dinar de Bahrain";
case OTHER:
default: return "dinares de Bahrain";
}
}
case BIF: {
switch (category) {
case ONE: return "franco burundiano";
case OTHER:
default: return "francos burundianos";
}
}
case BMD: {
switch (category) {
case ONE: return "dólar das Bermudas";
case OTHER:
default: return "dólares das Bermudas";
}
}
case BND: {
switch (category) {
case ONE: return "dólar de Brunei";
case OTHER:
default: return "dólares de Brunei";
}
}
case BOB: {
switch (category) {
case ONE: return "boliviano";
case OTHER:
default: return "bolivianos";
}
}
case BOP: {
switch (category) {
case ONE: return "peso boliviano";
case OTHER:
default: return "pesos bolivianos";
}
}
case BRB: {
switch (category) {
case ONE: return "cruzeiro novo brasileiro";
case OTHER:
default: return "cruzeiros novos brasileiros";
}
}
case BRC: {
switch (category) {
case ONE: return "cruzado brasileiro";
case OTHER:
default: return "cruzados brasileiros";
}
}
case BRE: {
switch (category) {
case ONE: return "cruzeiro brasileiro (BRE)";
case OTHER:
default: return "cruzeiros brasileiros (BRE)";
}
}
case BRL: {
switch (category) {
case ONE: return "real brasileiro";
case OTHER:
default: return "reais brasileiros";
}
}
case BRN: {
switch (category) {
case ONE: return "cruzado novo brasileiro";
case OTHER:
default: return "cruzados novos brasileiros";
}
}
case BRR: {
switch (category) {
case ONE: return "cruzeiro brasileiro";
case OTHER:
default: return "cruzeiros brasileiros";
}
}
case BSD: {
switch (category) {
case ONE: return "dólar das Bahamas";
case OTHER:
default: return "dólares das Bahamas";
}
}
case BTN: {
switch (category) {
case ONE: return "ngultrum butanés";
case OTHER:
default: return "ngultrums butaneses";
}
}
case BWP: {
switch (category) {
case ONE: return "pula botsuaniano";
case OTHER:
default: return "pulas botsuanianos";
}
}
case BYN: {
switch (category) {
case ONE: return "rublo bielorruso";
case OTHER:
default: return "rublos bielorrusos";
}
}
case BYR: {
switch (category) {
case ONE: return "rublo bielorruso (2000–2016)";
case OTHER:
default: return "rublos bielorrusos (2000–2016)";
}
}
case BZD: {
switch (category) {
case ONE: return "dólar belizense";
case OTHER:
default: return "dólares belizenses";
}
}
case CAD: {
switch (category) {
case ONE: return "dólar canadense";
case OTHER:
default: return "dólares canadenses";
}
}
case CDF: {
switch (category) {
case ONE: return "franco congolés";
case OTHER:
default: return "francos congoleses";
}
}
case CHF: {
switch (category) {
case ONE: return "franco suízo";
case OTHER:
default: return "francos suizos";
}
}
case CLF: {
switch (category) {
case ONE: return "unidade de fomento chilena";
case OTHER:
default: return "unidades de fomento chilenas";
}
}
case CLP: {
switch (category) {
case ONE: return "peso chileno";
case OTHER:
default: return "pesos chilenos";
}
}
case CNY: {
switch (category) {
case ONE: return "iuán chinés";
case OTHER:
default: return "iuáns chineses";
}
}
case COP: {
switch (category) {
case ONE: return "peso colombiano";
case OTHER:
default: return "pesos colombianos";
}
}
case CRC: {
switch (category) {
case ONE: return "colón costarriqueño";
case OTHER:
default: return "colóns costarriqueños";
}
}
case CUC: {
switch (category) {
case ONE: return "peso cubano convertible";
case OTHER:
default: return "pesos cubanos convertibles";
}
}
case CUP: {
switch (category) {
case ONE: return "peso cubano";
case OTHER:
default: return "pesos cubanos";
}
}
case CVE: {
switch (category) {
case ONE: return "escudo caboverdiano";
case OTHER:
default: return "escudos caboverdianos";
}
}
case CZK: {
switch (category) {
case ONE: return "coroa checa";
case OTHER:
default: return "coroas checas";
}
}
case DEM: {
switch (category) {
case ONE: return "marco alemán";
case OTHER:
default: return "marcos alemáns";
}
}
case DJF: {
switch (category) {
case ONE: return "franco xibutiano";
case OTHER:
default: return "francos xibutianos";
}
}
case DKK: {
switch (category) {
case ONE: return "coroa dinamarquesa";
case OTHER:
default: return "coroas dinamarquesas";
}
}
case DOP: {
switch (category) {
case ONE: return "peso dominicano";
case OTHER:
default: return "pesos dominicanos";
}
}
case DZD: {
switch (category) {
case ONE: return "dinar alxeriano";
case OTHER:
default: return "dinares alxerianos";
}
}
case ECS: {
switch (category) {
case ONE: return "sucre ecuatoriano";
case OTHER:
default: return "sucres ecuatorianos";
}
}
case EGP: {
switch (category) {
case ONE: return "libra exipcia";
case OTHER:
default: return "libras exipcias";
}
}
case ERN: {
switch (category) {
case ONE: return "nakfa eritreo";
case OTHER:
default: return "nakfas eritreos";
}
}
case ESP: {
switch (category) {
case ONE: return "peseta";
case OTHER:
default: return "pesetas";
}
}
case ETB: {
switch (category) {
case ONE: return "birr etíope";
case OTHER:
default: return "birres etíopes";
}
}
case EUR: {
switch (category) {
case ONE: return "euro";
case OTHER:
default: return "euros";
}
}
case FJD: {
switch (category) {
case ONE: return "dólar fidxiano";
case OTHER:
default: return "dólares fidxianos";
}
}
case FKP: {
switch (category) {
case ONE: return "libra das Malvinas";
case OTHER:
default: return "libras das Malvinas";
}
}
case FRF: {
switch (category) {
case ONE: return "franco francés";
case OTHER:
default: return "francos franceses";
}
}
case GBP: {
switch (category) {
case ONE: return "libra esterlina";
case OTHER:
default: return "libras esterlinas";
}
}
case GEL: {
switch (category) {
case ONE: return "lari xeorxiano";
case OTHER:
default: return "laris xeorxianos";
}
}
case GHS: {
switch (category) {
case ONE: return "cedi de Ghana";
case OTHER:
default: return "cedis de Ghana";
}
}
case GIP: {
switch (category) {
case ONE: return "libra xibraltareña";
case OTHER:
default: return "libras xibraltareñas";
}
}
case GMD: {
switch (category) {
case ONE: return "dalasi gambiano";
case OTHER:
default: return "dalasis gambianos";
}
}
case GNF: {
switch (category) {
case ONE: return "franco guineano";
case OTHER:
default: return "francos guineanos";
}
}
case GTQ: {
switch (category) {
case ONE: return "quetzal guatemalteco";
case OTHER:
default: return "quetzal guatemaltecos";
}
}
case GYD: {
switch (category) {
case ONE: return "dólar güianés";
case OTHER:
default: return "dólares güianeses";
}
}
case HKD: {
switch (category) {
case ONE: return "dólar de Hong Kong";
case OTHER:
default: return "dólares de Hong Kong";
}
}
case HNL: {
switch (category) {
case ONE: return "lempira hondureño";
case OTHER:
default: return "lempiras hondureños";
}
}
case HRK: {
switch (category) {
case ONE: return "kuna croata";
case OTHER:
default: return "kunas croatas";
}
}
case HTG: {
switch (category) {
case ONE: return "gourde haitiano";
case OTHER:
default: return "gourdes haitianos";
}
}
case HUF: {
switch (category) {
case ONE: return "florín húngaro";
case OTHER:
default: return "floríns húngaros";
}
}
case IDR: {
switch (category) {
case ONE: return "rupia indonesia";
case OTHER:
default: return "rupias indonesias";
}
}
case IEP: {
switch (category) {
case ONE: return "libra irlandesa";
case OTHER:
default: return "libras irlandesas";
}
}
case ILS: {
switch (category) {
case ONE: return "novo shequel israelí";
case OTHER:
default: return "novos shequeis israelís";
}
}
case INR: {
switch (category) {
case ONE: return "rupia india";
case OTHER:
default: return "rupias indias";
}
}
case IQD: {
switch (category) {
case ONE: return "dinar iraquí";
case OTHER:
default: return "dinares iraquíes";
}
}
case IRR: {
switch (category) {
case ONE: return "rial iraniano";
case OTHER:
default: return "riais iranianos";
}
}
case ISK: {
switch (category) {
case ONE: return "coroa islandesa";
case OTHER:
default: return "coroas islandesas";
}
}
case JMD: {
switch (category) {
case ONE: return "dólar xamaicano";
case OTHER:
default: return "dólares xamaicanos";
}
}
case JOD: {
switch (category) {
case ONE: return "dinar xordano";
case OTHER:
default: return "dinares xordanos";
}
}
case JPY: {
switch (category) {
case ONE: return "ien xaponés";
case OTHER:
default: return "iens xaponeses";
}
}
case KES: {
switch (category) {
case ONE: return "xilin kenyano";
case OTHER:
default: return "xilins kenyanos";
}
}
case KGS: {
switch (category) {
case ONE: return "som quirguicistano";
case OTHER:
default: return "soms quirguicistanos";
}
}
case KHR: {
switch (category) {
case ONE: return "riel camboxano";
case OTHER:
default: return "rieis camboxanos";
}
}
case KMF: {
switch (category) {
case ONE: return "franco comoriano";
case OTHER:
default: return "francos comorianos";
}
}
case KPW: {
switch (category) {
case ONE: return "won norcoreano";
case OTHER:
default: return "wons norcoreanos";
}
}
case KRW: {
switch (category) {
case ONE: return "won surcoreano";
case OTHER:
default: return "wons surcoreanos";
}
}
case KWD: {
switch (category) {
case ONE: return "dinar kuwaití";
case OTHER:
default: return "dinares kuwaitís";
}
}
case KYD: {
switch (category) {
case ONE: return "dólar das Illas Caimán";
case OTHER:
default: return "dólares das Illas Caimán";
}
}
case KZT: {
switch (category) {
case ONE: return "tenge casaco";
case OTHER:
default: return "tenges casacos";
}
}
case LAK: {
switch (category) {
case ONE: return "kip laosiano";
case OTHER:
default: return "kips laosianos";
}
}
case LBP: {
switch (category) {
case ONE: return "libra libanesa";
case OTHER:
default: return "libras libanesas";
}
}
case LKR: {
switch (category) {
case ONE: return "rupia de Sri Lanka";
case OTHER:
default: return "rupias de Sri Lanka";
}
}
case LRD: {
switch (category) {
case ONE: return "dólar liberiano";
case OTHER:
default: return "dólares liberianos";
}
}
case LTL: {
switch (category) {
case ONE: return "litas lituana";
case OTHER:
default: return "litas lituanas";
}
}
case LVL: {
switch (category) {
case ONE: return "lats letón";
case OTHER:
default: return "lats letóns";
}
}
case LYD: {
switch (category) {
case ONE: return "dinar libio";
case OTHER:
default: return "dinares libios";
}
}
case MAD: {
switch (category) {
case ONE: return "dirham marroquí";
case OTHER:
default: return "dirhams marroquís";
}
}
case MDL: {
switch (category) {
case ONE: return "leu moldavo";
case OTHER:
default: return "leus moldavos";
}
}
case MGA: {
switch (category) {
case ONE: return "ariary malgaxe";
case OTHER:
default: return "ariarys malgaxes";
}
}
case MKD: {
switch (category) {
case ONE: return "dinar macedonio";
case OTHER:
default: return "dinares macedonios";
}
}
case MMK: {
switch (category) {
case ONE: return "kyat birmano";
case OTHER:
default: return "kyats birmanos";
}
}
case MNT: {
switch (category) {
case ONE: return "tugrik mongol";
case OTHER:
default: return "tugriks mongoles";
}
}
case MOP: {
switch (category) {
case ONE: return "pataca de Macau";
case OTHER:
default: return "patacas de Macau";
}
}
case MRO: {
switch (category) {
case ONE: return "ouguiya mauritano";
case OTHER:
default: return "ouguiyas mauritanos";
}
}
case MUR: {
switch (category) {
case ONE: return "rupia mauriciana";
case OTHER:
default: return "rupias mauricianas";
}
}
case MVR: {
switch (category) {
case ONE: return "rupia maldivana";
case OTHER:
default: return "rupias maldivanas";
}
}
case MWK: {
switch (category) {
case ONE: return "kwacha de Malaui";
case OTHER:
default: return "kwachas de Malaui";
}
}
case MXN: {
switch (category) {
case ONE: return "peso mexicano";
case OTHER:
default: return "pesos mexicanos";
}
}
case MYR: {
switch (category) {
case ONE: return "ringgit malaio";
case OTHER:
default: return "ringgits malaios";
}
}
case MZN: {
switch (category) {
case ONE: return "metical de Mozambique";
case OTHER:
default: return "meticais de Mozambique";
}
}
case NAD: {
switch (category) {
case ONE: return "dólar namibio";
case OTHER:
default: return "dólares namibios";
}
}
case NGN: {
switch (category) {
case ONE: return "naira nixeriano";
case OTHER:
default: return "nairas nixerianos";
}
}
case NIO: {
switch (category) {
case ONE: return "córdoba de ouro nicaraguano";
case OTHER:
default: return "córdobas de ouro nicaraguanos";
}
}
case NOK: {
switch (category) {
case ONE: return "coroa norueguesa";
case OTHER:
default: return "coroas norueguesas";
}
}
case NPR: {
switch (category) {
case ONE: return "rupia nepalesa";
case OTHER:
default: return "rupias nepalesas";
}
}
case NZD: {
switch (category) {
case ONE: return "dólar neozelandés";
case OTHER:
default: return "dólares neozelandeses";
}
}
case OMR: {
switch (category) {
case ONE: return "rial omaní";
case OTHER:
default: return "riais omanís";
}
}
case PAB: {
switch (category) {
case ONE: return "balboa panameño";
case OTHER:
default: return "balboas panameños";
}
}
case PEN: {
switch (category) {
case ONE: return "sol peruano";
case OTHER:
default: return "soles peruanos";
}
}
case PES: {
switch (category) {
case ONE: return "sol peruano (1863–1965)";
case OTHER:
default: return "soles peruanos (1863–1965)";
}
}
case PGK: {
switch (category) {
case ONE: return "kina de Papúa-Nova Guinea";
case OTHER:
default: return "kinas de Papúa-Nova Guinea";
}
}
case PHP: {
switch (category) {
case ONE: return "peso filipino";
case OTHER:
default: return "pesos filipinos";
}
}
case PKR: {
switch (category) {
case ONE: return "rupia paquistaní";
case OTHER:
default: return "rupias paquistanís";
}
}
case PLN: {
switch (category) {
case ONE: return "zloty polaco";
case OTHER:
default: return "zlotys polacos";
}
}
case PTE: {
switch (category) {
case ONE: return "escudo portugués";
case OTHER:
default: return "escudos portugueses";
}
}
case PYG: {
switch (category) {
case ONE: return "guaraní paraguaio";
case OTHER:
default: return "guaranís paraguaios";
}
}
case QAR: {
switch (category) {
case ONE: return "rial qatarí";
case OTHER:
default: return "riais qatarís";
}
}
case RON: {
switch (category) {
case ONE: return "leu romanés";
case OTHER:
default: return "leus romaneses";
}
}
case RSD: {
switch (category) {
case ONE: return "dinar serbio";
case OTHER:
default: return "dinares serbios";
}
}
case RUB: {
switch (category) {
case ONE: return "rublo ruso";
case OTHER:
default: return "rublos rusos";
}
}
case RWF: {
switch (category) {
case ONE: return "franco ruandés";
case OTHER:
default: return "francos ruandeses";
}
}
case SAR: {
switch (category) {
case ONE: return "rial saudita";
case OTHER:
default: return "riais sauditas";
}
}
case SBD: {
switch (category) {
case ONE: return "dólar das Illas Salomón";
case OTHER:
default: return "dólares das Illas Salomón";
}
}
case SCR: {
switch (category) {
case ONE: return "rupia de Seixeles";
case OTHER:
default: return "rupias de Seixeles";
}
}
case SDG: {
switch (category) {
case ONE: return "libra sudanesa";
case OTHER:
default: return "libras sudanesas";
}
}
case SEK: {
switch (category) {
case ONE: return "coroa sueca";
case OTHER:
default: return "coroas suecas";
}
}
case SGD: {
switch (category) {
case ONE: return "dólar de Singapur";
case OTHER:
default: return "dólares de Singapur";
}
}
case SHP: {
switch (category) {
case ONE: return "libra de Santa Helena";
case OTHER:
default: return "libras de Santa Helena";
}
}
case SLL: {
switch (category) {
case ONE: return "leone de Serra Leoa";
case OTHER:
default: return "leones de Serra Leoa";
}
}
case SOS: {
switch (category) {
case ONE: return "xilin somalí";
case OTHER:
default: return "xilins somalíes";
}
}
case SRD: {
switch (category) {
case ONE: return "dólar surinamés";
case OTHER:
default: return "dólares surinamés";
}
}
case SSP: {
switch (category) {
case ONE: return "libra sursudanesa";
case OTHER:
default: return "libras sursudanesa";
}
}
case STD: {
switch (category) {
case ONE: return "dobra de São Tomé e Príncipe";
case OTHER:
default: return "dobras de São Tomé e Príncipe";
}
}
case SUR: {
switch (category) {
case ONE: return "rublo soviético";
case OTHER:
default: return "rublos soviéticos";
}
}
case SVC: {
switch (category) {
case ONE: return "colón salvadoreño";
case OTHER:
default: return "colóns salvadoreños";
}
}
case SYP: {
switch (category) {
case ONE: return "libra siria";
case OTHER:
default: return "libras sirias";
}
}
case SZL: {
switch (category) {
case ONE: return "lilangeni de Suacilandia";
case OTHER:
default: return "lilangenis de Suacilandia";
}
}
case THB: {
switch (category) {
case ONE: return "baht tailandés";
case OTHER:
default: return "bahts tailandeses";
}
}
case TJS: {
switch (category) {
case ONE: return "somoni taxiquistano";
case OTHER:
default: return "somonis taxiquistanos";
}
}
case TMT: {
switch (category) {
case ONE: return "manat turcomán";
case OTHER:
default: return "manats turcománs";
}
}
case TND: {
switch (category) {
case ONE: return "dinar tunisiano";
case OTHER:
default: return "dinares tunisianos";
}
}
case TOP: {
switch (category) {
case ONE: return "paʻanga de Tonga";
case OTHER:
default: return "pa’angas de Tonga";
}
}
case TRY: {
switch (category) {
case ONE: return "lira turca";
case OTHER:
default: return "liras turcas";
}
}
case TTD: {
switch (category) {
case ONE: return "dólar de Trinidad e Tobago";
case OTHER:
default: return "dólares de Trinidad e Tobago";
}
}
case TWD: {
switch (category) {
case ONE: return "novo dólar taiwanés";
case OTHER:
default: return "novos dólares taiwaneses";
}
}
case TZS: {
switch (category) {
case ONE: return "xilin tanzano";
case OTHER:
default: return "xilins tanzanos";
}
}
case UAH: {
switch (category) {
case ONE: return "hrivna ucraína";
case OTHER:
default: return "hrivnas ucraínas";
}
}
case UGX: {
switch (category) {
case ONE: return "xilin ugandés";
case OTHER:
default: return "xilins ugandeses";
}
}
case USD: {
switch (category) {
case ONE: return "dólar estadounidense";
case OTHER:
default: return "dólares estadounidenses";
}
}
case UYU: {
switch (category) {
case ONE: return "peso uruguaio";
case OTHER:
default: return "pesos uruguaios";
}
}
case UZS: {
switch (category) {
case ONE: return "som usbeco";
case OTHER:
default: return "soms usbecos";
}
}
case VEB: {
switch (category) {
case ONE: return "bolívar venezolano (1871–2008)";
case OTHER:
default: return "bolívares venezolanos (1871–2008)";
}
}
case VEF: {
switch (category) {
case ONE: return "bolívar venezolano";
case OTHER:
default: return "bolívares venezolanos";
}
}
case VND: {
switch (category) {
case ONE: return "dong vietnamita";
case OTHER:
default: return "dongs vietnamitas";
}
}
case VUV: {
switch (category) {
case ONE: return "vatu vanuatiano";
case OTHER:
default: return "vatus vanuatianos";
}
}
case WST: {
switch (category) {
case ONE: return "tala samoano";
case OTHER:
default: return "talas samoanos";
}
}
case XAF: {
switch (category) {
case ONE: return "franco CFA (BEAC)";
case OTHER:
default: return "francos CFA (BEAC)";
}
}
case XCD: {
switch (category) {
case ONE: return "dólar do Caribe Oriental";
case OTHER:
default: return "dólares do Caribe Oriental";
}
}
case XOF: {
switch (category) {
case ONE: return "franco CFA (BCEAO)";
case OTHER:
default: return "francos CFA (BCEAO)";
}
}
case XPF: {
switch (category) {
case ONE: return "franco CFP";
case OTHER:
default: return "francos CFP";
}
}
case XXX: {
switch (category) {
case ONE: return "(moeda descoñecida)";
case OTHER:
default: return "(moedas descoñecidas)";
}
}
case YER: {
switch (category) {
case ONE: return "rial iemení";
case OTHER:
default: return "riais iemenís";
}
}
case ZAR: {
switch (category) {
case ONE: return "rand surafricano";
case OTHER:
default: return "rands surafricanos";
}
}
case ZMW: {
switch (category) {
case ONE: return "kwacha zambiano";
case OTHER:
default: return "kwachas zambianos";
}
}
default: return "";
}
}
public int getCurrencyDigits(CLDR.Currency code) {
return _CurrencyUtil.getCurrencyDigits(code);
}
protected void wrapUnits(PluralCategory category, DigitBuffer dbuf, String unit,
StringBuilder dest) {
dbuf.appendTo(dest);
dest.append(" ");
dest.append(unit);
}
private static class _Params extends NumberFormatterParams {
_Params() {
this.decimal = ",";
this.group = ".";
this.percent = "%";
this.minus = "-";
this.plus = "+";
this.exponential = "E";
this.superscriptingExponent = "×";
this.perMille = "‰";
this.infinity = "∞";
this.nan = "NaN";
this.currencyDecimal = ",";
this.currencyGroup = ".";
}
}
}