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_it 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_it extends NumberFormatterBase {
protected static final int[] DECIMAL_SHORT_DIVISORS = new int[] { 0,0,0,0,0,0,6,6,6,9,9,9,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 Mln", "-0 Mln"),
/* 10M */ patterns("00 Mln", "-00 Mln"),
/* 100M */ patterns("000 Mln", "-000 Mln"),
/* 1B */ patterns("0 Mld", "-0 Mld"),
/* 10B */ patterns("00 Mld", "-00 Mld"),
/* 100B */ patterns("000 Mld", "-000 Mld"),
/* 1T */ patterns("0 Bln", "-0 Bln"),
/* 10T */ patterns("00 Bln", "-00 Bln"),
/* 100T */ patterns("000 Bln", "-000 Bln")}
;
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 Mln", "-0 Mln"),
/* 10M */ patterns("00 Mln", "-00 Mln"),
/* 100M */ patterns("000 Mln", "-000 Mln"),
/* 1B */ patterns("0 Mld", "-0 Mld"),
/* 10B */ patterns("00 Mld", "-00 Mld"),
/* 100B */ patterns("000 Mld", "-000 Mld"),
/* 1T */ patterns("0 Bln", "-0 Bln"),
/* 10T */ patterns("00 Bln", "-00 Bln"),
/* 100T */ patterns("000 Bln", "-000 Bln")}
;
protected static final int[] DECIMAL_LONG_DIVISORS = new int[] { 0,0,0,3,3,3,6,6,6,9,9,9,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 mille", "-0 mille"),
/* 10K */ patterns("00 mila", "-00 mila"),
/* 100K */ patterns("000 mila", "-000 mila"),
/* 1M */ patterns("0 milione", "-0 milione"),
/* 10M */ patterns("00 milioni", "-00 milioni"),
/* 100M */ patterns("000 milioni", "-000 milioni"),
/* 1B */ patterns("0 miliardo", "-0 miliardo"),
/* 10B */ patterns("00 miliardi", "-00 miliardi"),
/* 100B */ patterns("000 miliardi", "-000 miliardi"),
/* 1T */ patterns("0 mille miliardi", "-0 mille miliardi"),
/* 10T */ patterns("00 mila miliardi", "-00 mila miliardi"),
/* 100T */ patterns("000 mila miliardi", "-000 mila miliardi")}
;
protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("0 mila", "-0 mila"),
/* 10K */ patterns("00 mila", "-00 mila"),
/* 100K */ patterns("000 mila", "-000 mila"),
/* 1M */ patterns("0 milioni", "-0 milioni"),
/* 10M */ patterns("00 milioni", "-00 milioni"),
/* 100M */ patterns("000 milioni", "-000 milioni"),
/* 1B */ patterns("0 miliardi", "-0 miliardi"),
/* 10B */ patterns("00 miliardi", "-00 miliardi"),
/* 100B */ patterns("000 miliardi", "-000 miliardi"),
/* 1T */ patterns("0 mila miliardi", "-0 mila miliardi"),
/* 10T */ patterns("00 mila miliardi", "-00 mila miliardi"),
/* 100T */ patterns("000 mila miliardi", "-000 mila miliardi")}
;
protected static final int[] CURRENCY_SHORT_DIVISORS = new int[] { 0,0,0,0,0,0,6,6,6,9,9,9,12,12,12 };
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 Mio ¤", "-0 Mio ¤"),
/* 10M */ patterns("00 Mio ¤", "-00 Mio ¤"),
/* 100M */ patterns("000 Mio ¤", "-000 Mio ¤"),
/* 1B */ patterns("0 Mrd ¤", "-0 Mrd ¤"),
/* 10B */ patterns("00 Mrd ¤", "-00 Mrd ¤"),
/* 100B */ patterns("000 Mrd ¤", "-000 Mrd ¤"),
/* 1T */ patterns("0 Bln ¤", "-0 Bln ¤"),
/* 10T */ patterns("00 Bln ¤", "-00 Bln ¤"),
/* 100T */ patterns("000 Bln ¤", "-000 Bln ¤")}
;
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 Mio ¤", "-0 Mio ¤"),
/* 10M */ patterns("00 Mio ¤", "-00 Mio ¤"),
/* 100M */ patterns("000 Mio ¤", "-000 Mio ¤"),
/* 1B */ patterns("0 Mrd ¤", "-0 Mrd ¤"),
/* 10B */ patterns("00 Mrd ¤", "-00 Mrd ¤"),
/* 100B */ patterns("000 Mrd ¤", "-000 Mrd ¤"),
/* 1T */ patterns("0 Bln ¤", "-0 Bln ¤"),
/* 10T */ patterns("00 Bln ¤", "-00 Bln ¤"),
/* 100T */ patterns("000 Bln ¤", "-000 Bln ¤")}
;
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 al secondo quadrato"));
put(Unit.ARC_MINUTE, unitPattern("{0} primo d’arco"));
put(Unit.ARC_SECOND, unitPattern("{0} secondo d’arco"));
put(Unit.DEGREE, unitPattern("{0} grado"));
put(Unit.RADIAN, unitPattern("{0} radiante"));
put(Unit.REVOLUTION, unitPattern("{0} rivoluzione"));
put(Unit.ACRE, unitPattern("{0} acro"));
put(Unit.HECTARE, unitPattern("{0} ettaro"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centimetro quadrato"));
put(Unit.SQUARE_FOOT, unitPattern("{0} piede quadrato"));
put(Unit.SQUARE_INCH, unitPattern("{0} pollice quadrato"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} chilometro quadrato"));
put(Unit.SQUARE_METER, unitPattern("{0} metro quadrato"));
put(Unit.SQUARE_MILE, unitPattern("{0} miglio quadrato"));
put(Unit.SQUARE_YARD, unitPattern("{0} iarda quadrata"));
put(Unit.KARAT, unitPattern("{0} carato"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligrammo per decilitro"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimole per litro"));
put(Unit.PART_PER_MILLION, unitPattern("{0} parte per milione"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litro per 100 chilometri"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litro per chilometro"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} miglio per gallone"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} miglio per gallone imperiale"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} gigabit"));
put(Unit.GIGABYTE, unitPattern("{0} gigabyte"));
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} secolo"));
put(Unit.DAY, unitPattern("{0} giorno"));
put(Unit.HOUR, unitPattern("{0} ora"));
put(Unit.MICROSECOND, unitPattern("{0} microsecondo"));
put(Unit.MILLISECOND, unitPattern("{0} millisecondo"));
put(Unit.MINUTE, unitPattern("{0} minuto"));
put(Unit.MONTH, unitPattern("{0} mese"));
put(Unit.NANOSECOND, unitPattern("{0} nanosecondo"));
put(Unit.SECOND, unitPattern("{0} secondo"));
put(Unit.WEEK, unitPattern("{0} settimana"));
put(Unit.YEAR, unitPattern("{0} anno"));
put(Unit.AMPERE, unitPattern("{0} ampere"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliampere"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} caloria"));
put(Unit.FOODCALORIE, unitPattern("{0} caloria"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} chilocaloria"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} chilowattora"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unità astronomica"));
put(Unit.CENTIMETER, unitPattern("{0} centimetro"));
put(Unit.DECIMETER, unitPattern("{0} decimetro"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} piede"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} pollice"));
put(Unit.KILOMETER, unitPattern("{0} chilometro"));
put(Unit.LIGHT_YEAR, unitPattern("{0} anno luce"));
put(Unit.METER, unitPattern("{0} metro"));
put(Unit.MICROMETER, unitPattern("{0} micrometro"));
put(Unit.MILE, unitPattern("{0} miglio"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} miglio scandinavo"));
put(Unit.MILLIMETER, unitPattern("{0} millimetro"));
put(Unit.NANOMETER, unitPattern("{0} nanometro"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} miglio nautico"));
put(Unit.PARSEC, unitPattern("{0} parsec"));
put(Unit.PICOMETER, unitPattern("{0} picometro"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} iarda"));
put(Unit.LUX, unitPattern("{0} lux"));
put(Unit.CARAT, unitPattern("{0} carato"));
put(Unit.GRAM, unitPattern("{0} grammo"));
put(Unit.KILOGRAM, unitPattern("{0} chilogrammo"));
put(Unit.METRIC_TON, unitPattern("{0} tonnellata metrica"));
put(Unit.MICROGRAM, unitPattern("{0} microgrammo"));
put(Unit.MILLIGRAM, unitPattern("{0} milligrammo"));
put(Unit.OUNCE, unitPattern("{0} oncia"));
put(Unit.OUNCE_TROY, unitPattern("{0} oncia troy"));
put(Unit.POUND, unitPattern("{0} libbra"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tonnellata"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} cavallo vapore"));
put(Unit.KILOWATT, unitPattern("{0} kilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} megawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} ettopascal"));
put(Unit.INCH_HG, unitPattern("{0} pollice di mercurio"));
put(Unit.MILLIBAR, unitPattern("{0} millibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimetro di mercurio"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} libbra per pollice quadrato"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} chilometro orario"));
put(Unit.KNOT, unitPattern("{0} nodo"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metro al secondo"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} miglio all’ora"));
put(Unit.CELSIUS, unitPattern("{0} grado Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} grado Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} acre-foot"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitro"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centimetro cubo"));
put(Unit.CUBIC_FOOT, unitPattern("{0} piede cubo"));
put(Unit.CUBIC_INCH, unitPattern("{0} pollice cubo"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} chilometro cubo"));
put(Unit.CUBIC_METER, unitPattern("{0} metro cubo"));
put(Unit.CUBIC_MILE, unitPattern("{0} miglio cubo"));
put(Unit.CUBIC_YARD, unitPattern("{0} iarda cubica"));
put(Unit.CUP, unitPattern("{0} tazza"));
put(Unit.CUP_METRIC, unitPattern("{0} tazza metrica"));
put(Unit.DECILITER, unitPattern("{0} decilitro"));
put(Unit.FLUID_OUNCE, unitPattern("{0} oncia fluida"));
put(Unit.GALLON, unitPattern("{0} gallone"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gallone imperiale"));
put(Unit.HECTOLITER, unitPattern("{0} ettolitro"));
put(Unit.LITER, unitPattern("{0} litro"));
put(Unit.MEGALITER, unitPattern("{0} megalitro"));
put(Unit.MILLILITER, unitPattern("{0} millilitro"));
put(Unit.PINT, unitPattern("{0} pinta"));
put(Unit.PINT_METRIC, unitPattern("{0} pinta metrica"));
put(Unit.QUART, unitPattern("{0} quarto"));
put(Unit.TABLESPOON, unitPattern("{0} cucchiaio da tavola"));
put(Unit.TEASPOON, unitPattern("{0} cucchiaio da tè"));
}};
protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} forza g"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metri al secondo quadrato"));
put(Unit.ARC_MINUTE, unitPattern("{0} primi d’arco"));
put(Unit.ARC_SECOND, unitPattern("{0} secondi d’arco"));
put(Unit.DEGREE, unitPattern("{0} gradi"));
put(Unit.RADIAN, unitPattern("{0} radianti"));
put(Unit.REVOLUTION, unitPattern("{0} rivoluzioni"));
put(Unit.ACRE, unitPattern("{0} acri"));
put(Unit.HECTARE, unitPattern("{0} ettari"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centimetri quadrati"));
put(Unit.SQUARE_FOOT, unitPattern("{0} piedi quadrati"));
put(Unit.SQUARE_INCH, unitPattern("{0} pollici quadrati"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} chilometri quadrati"));
put(Unit.SQUARE_METER, unitPattern("{0} metri quadrati"));
put(Unit.SQUARE_MILE, unitPattern("{0} miglia quadrate"));
put(Unit.SQUARE_YARD, unitPattern("{0} iarde quadrate"));
put(Unit.KARAT, unitPattern("{0} carati"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligrammi per decilitro"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimoli per litro"));
put(Unit.PART_PER_MILLION, unitPattern("{0} parti per milione"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litri per 100 chilometri"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litri per chilometro"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} miglia per gallone"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} miglia per gallone imperiale"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} byte"));
put(Unit.GIGABIT, unitPattern("{0} gigabit"));
put(Unit.GIGABYTE, unitPattern("{0} gigabyte"));
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} secoli"));
put(Unit.DAY, unitPattern("{0} giorni"));
put(Unit.HOUR, unitPattern("{0} ore"));
put(Unit.MICROSECOND, unitPattern("{0} microsecondi"));
put(Unit.MILLISECOND, unitPattern("{0} millisecondi"));
put(Unit.MINUTE, unitPattern("{0} minuti"));
put(Unit.MONTH, unitPattern("{0} mesi"));
put(Unit.NANOSECOND, unitPattern("{0} nanosecondi"));
put(Unit.SECOND, unitPattern("{0} secondi"));
put(Unit.WEEK, unitPattern("{0} settimane"));
put(Unit.YEAR, unitPattern("{0} anni"));
put(Unit.AMPERE, unitPattern("{0} ampere"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliampere"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} calorie"));
put(Unit.FOODCALORIE, unitPattern("{0} calorie"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} chilocalorie"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} chilowattora"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unità astronomiche"));
put(Unit.CENTIMETER, unitPattern("{0} centimetri"));
put(Unit.DECIMETER, unitPattern("{0} decimetri"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} piedi"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} pollici"));
put(Unit.KILOMETER, unitPattern("{0} chilometri"));
put(Unit.LIGHT_YEAR, unitPattern("{0} anni luce"));
put(Unit.METER, unitPattern("{0} metri"));
put(Unit.MICROMETER, unitPattern("{0} micrometri"));
put(Unit.MILE, unitPattern("{0} miglia"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} miglia scandinave"));
put(Unit.MILLIMETER, unitPattern("{0} millimetri"));
put(Unit.NANOMETER, unitPattern("{0} nanometri"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} miglia nautiche"));
put(Unit.PARSEC, unitPattern("{0} parsec"));
put(Unit.PICOMETER, unitPattern("{0} picometri"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} iarde"));
put(Unit.LUX, unitPattern("{0} lux"));
put(Unit.CARAT, unitPattern("{0} carati"));
put(Unit.GRAM, unitPattern("{0} grammi"));
put(Unit.KILOGRAM, unitPattern("{0} chilogrammi"));
put(Unit.METRIC_TON, unitPattern("{0} tonnellate metriche"));
put(Unit.MICROGRAM, unitPattern("{0} microgrammi"));
put(Unit.MILLIGRAM, unitPattern("{0} milligrammi"));
put(Unit.OUNCE, unitPattern("{0} once"));
put(Unit.OUNCE_TROY, unitPattern("{0} once troy"));
put(Unit.POUND, unitPattern("{0} libbre"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tonnellate"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} cavalli vapore"));
put(Unit.KILOWATT, unitPattern("{0} kilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} megawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} ettopascal"));
put(Unit.INCH_HG, unitPattern("{0} pollici di mercurio"));
put(Unit.MILLIBAR, unitPattern("{0} millibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimetri di mercurio"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} libbre per pollice quadrato"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} chilometri orari"));
put(Unit.KNOT, unitPattern("{0} nodi"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metri al secondo"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} miglia all’ora"));
put(Unit.CELSIUS, unitPattern("{0} gradi Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} gradi Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} acre-feet"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitri"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centimetri cubi"));
put(Unit.CUBIC_FOOT, unitPattern("{0} piedi cubi"));
put(Unit.CUBIC_INCH, unitPattern("{0} pollici cubi"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} chilometri cubi"));
put(Unit.CUBIC_METER, unitPattern("{0} metri cubi"));
put(Unit.CUBIC_MILE, unitPattern("{0} miglia cube"));
put(Unit.CUBIC_YARD, unitPattern("{0} iarde cubiche"));
put(Unit.CUP, unitPattern("{0} tazze"));
put(Unit.CUP_METRIC, unitPattern("{0} tazze metriche"));
put(Unit.DECILITER, unitPattern("{0} decilitri"));
put(Unit.FLUID_OUNCE, unitPattern("{0} once fluide"));
put(Unit.GALLON, unitPattern("{0} galloni"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} galloni imperiali"));
put(Unit.HECTOLITER, unitPattern("{0} ettolitri"));
put(Unit.LITER, unitPattern("{0} litri"));
put(Unit.MEGALITER, unitPattern("{0} megalitri"));
put(Unit.MILLILITER, unitPattern("{0} millilitri"));
put(Unit.PINT, unitPattern("{0} pinte"));
put(Unit.PINT_METRIC, unitPattern("{0} pinte metriche"));
put(Unit.QUART, unitPattern("{0} quarti"));
put(Unit.TABLESPOON, unitPattern("{0} cucchiai da tavola"));
put(Unit.TEASPOON, unitPattern("{0} cucchiai da tè"));
}};
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}min"));
put(Unit.ARC_SECOND, unitPattern("{0}s"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} riv"));
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} kt"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} L/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/Imp gal"));
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} sec."));
put(Unit.DAY, unitPattern("{0}gg"));
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}mesi"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0}s"));
put(Unit.WEEK, unitPattern("{0}sett."));
put(Unit.YEAR, unitPattern("{0}anno"));
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} Cal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
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} au"));
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}″"));
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} smi"));
put(Unit.MILLIMETER, unitPattern("{0}mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} nmi"));
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} kt"));
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} ozt"));
put(Unit.POUND, unitPattern("{0}lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn"));
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} kn"));
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"));
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} mpt"));
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}min"));
put(Unit.ARC_SECOND, unitPattern("{0}s"));
put(Unit.DEGREE, unitPattern("{0}°"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} riv"));
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} kt"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} L/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/Imp gal"));
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} secc."));
put(Unit.DAY, unitPattern("{0}gg"));
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}mesi"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0}s"));
put(Unit.WEEK, unitPattern("{0}sett."));
put(Unit.YEAR, unitPattern("{0}anni"));
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} Cal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
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} au"));
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}″"));
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} smi"));
put(Unit.MILLIMETER, unitPattern("{0}mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} nmi"));
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} kt"));
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} ozt"));
put(Unit.POUND, unitPattern("{0}lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn"));
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} kn"));
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"));
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} mpt"));
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} riv"));
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} kt"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} L/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/Imp gal"));
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} sec."));
put(Unit.DAY, unitPattern("{0} giorno"));
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} mese"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} settimana"));
put(Unit.YEAR, unitPattern("{0} anno"));
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} Cal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
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} au"));
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} smi"));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} nmi"));
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} kt"));
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} ozt"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn"));
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} kn"));
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"));
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} mpt"));
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} riv"));
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} kt"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} L/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/Imp gal"));
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} secc."));
put(Unit.DAY, unitPattern("{0} giorni"));
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} mesi"));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} s"));
put(Unit.WEEK, unitPattern("{0} settimane"));
put(Unit.YEAR, unitPattern("{0} anni"));
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} Cal"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
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} au"));
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} smi"));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} nmi"));
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} kt"));
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} ozt"));
put(Unit.POUND, unitPattern("{0} lb"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tn"));
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} kn"));
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"));
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} mpt"));
put(Unit.QUART, unitPattern("{0} qt"));
put(Unit.TABLESPOON, unitPattern("{0} tbsp"));
put(Unit.TEASPOON, unitPattern("{0} tsp"));
}};
public _NumberFormatter_it() {
super(
CLDR.Locale.it,
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 CAD: return "CA$";
case CNY: return "CN¥";
case EUR: return "€";
case GBP: return "£";
case ILS: return "₪";
case INR: return "₹";
case NZD: return "NZ$";
case THB: return "฿";
case USD: return "US$";
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 "Br";
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 "CF";
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 "NKr";
case NPR: return "Rs";
case NZD: return "$";
case PHP: return "₱";
case PKR: return "Rs";
case PLN: return "zł";
case PYG: return "₲";
case RON: return "L";
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 degli Emirati Arabi Uniti";
case AFA: return "afgani (1927–2002)";
case AFN: return "afghani";
case ALL: return "lek albanese";
case AMD: return "dram armeno";
case ANG: return "fiorino delle Antille olandesi";
case AOA: return "kwanza angolano";
case AOK: return "kwanza angolano (1977–1990)";
case AON: return "nuovo kwanza angolano (1990–2000)";
case AOR: return "kwanza reajustado angolano (1995–1999)";
case ARA: return "austral argentino";
case ARP: return "peso argentino (vecchio Cod.)";
case ARS: return "peso argentino";
case ATS: return "scellino austriaco";
case AUD: return "dollaro australiano";
case AWG: return "fiorino di Aruba";
case AZM: return "manat azero (1993–2006)";
case AZN: return "manat azero";
case BAD: return "dinar Bosnia-Herzegovina";
case BAM: return "marco convertibile della Bosnia-Herzegovina";
case BBD: return "dollaro di Barbados";
case BDT: return "taka bangladese";
case BEC: return "franco belga (convertibile)";
case BEF: return "franco belga";
case BEL: return "franco belga (finanziario)";
case BGL: return "lev bulgaro (1962–1999)";
case BGN: return "lev bulgaro";
case BHD: return "dinaro del Bahrein";
case BIF: return "franco del Burundi";
case BMD: return "dollaro delle Bermuda";
case BND: return "dollaro del Brunei";
case BOB: return "boliviano";
case BOP: return "peso boliviano";
case BOV: return "mvdol boliviano";
case BRB: return "cruzeiro novo brasiliano (1967–1986)";
case BRC: return "cruzado brasiliano";
case BRE: return "cruzeiro brasiliano (1990–1993)";
case BRL: return "real brasiliano";
case BRN: return "cruzado novo brasiliano";
case BRR: return "cruzeiro brasiliano";
case BSD: return "dollaro delle Bahamas";
case BTN: return "ngultrum bhutanese";
case BUK: return "kyat birmano";
case BWP: return "pula del Botswana";
case BYB: return "nuovo rublo bielorusso (1994–1999)";
case BYN: return "rublo bielorusso";
case BYR: return "rublo bielorusso (2000–2016)";
case BZD: return "dollaro del Belize";
case CAD: return "dollaro canadese";
case CDF: return "franco congolese";
case CHF: return "franco svizzero";
case CLF: return "unidades de fomento chilene";
case CLP: return "peso cileno";
case CNY: return "renminbi cinese";
case COP: return "peso colombiano";
case CRC: return "colón costaricano";
case CSD: return "antico dinaro serbo";
case CSK: return "corona forte cecoslovacca";
case CUC: return "peso cubano convertibile";
case CUP: return "peso cubano";
case CVE: return "escudo capoverdiano";
case CYP: return "sterlina cipriota";
case CZK: return "corona ceca";
case DDM: return "ostmark della Germania Orientale";
case DEM: return "marco tedesco";
case DJF: return "franco di Gibuti";
case DKK: return "corona danese";
case DOP: return "peso dominicano";
case DZD: return "dinaro algerino";
case ECS: return "sucre dell’Ecuador";
case ECV: return "unidad de valor constante (UVC) dell’Ecuador";
case EEK: return "corona dell’Estonia";
case EGP: return "sterlina egiziana";
case ERN: return "nakfa eritreo";
case ESA: return "peseta spagnola account";
case ESB: return "peseta spagnola account convertibile";
case ESP: return "peseta spagnola";
case ETB: return "birr etiope";
case EUR: return "euro";
case FIM: return "markka finlandese";
case FJD: return "dollaro delle Figi";
case FKP: return "sterlina delle Falkland";
case FRF: return "franco francese";
case GBP: return "sterlina britannica";
case GEK: return "kupon larit georgiano";
case GEL: return "lari georgiano";
case GHC: return "cedi del Ghana";
case GHS: return "cedi ghanese";
case GIP: return "sterlina di Gibilterra";
case GMD: return "dalasi gambiano";
case GNF: return "franco della Guinea";
case GNS: return "syli della Guinea";
case GQE: return "ekwele della Guinea Equatoriale";
case GRD: return "dracma greca";
case GTQ: return "quetzal guatemalteco";
case GWE: return "escudo della Guinea portoghese";
case GWP: return "peso della Guinea-Bissau";
case GYD: return "dollaro della Guyana";
case HKD: return "dollaro di Hong Kong";
case HNL: return "lempira honduregna";
case HRD: return "dinaro croato";
case HRK: return "kuna croata";
case HTG: return "gourde haitiano";
case HUF: return "fiorino ungherese";
case IDR: return "rupia indonesiana";
case IEP: return "sterlina irlandese";
case ILP: return "sterlina israeliana";
case ILS: return "nuovo siclo israeliano";
case INR: return "rupia indiana";
case IQD: return "dinaro iracheno";
case IRR: return "rial iraniano";
case ISK: return "corona islandese";
case ITL: return "lira italiana";
case JMD: return "dollaro giamaicano";
case JOD: return "dinaro giordano";
case JPY: return "yen giapponese";
case KES: return "scellino keniota";
case KGS: return "som kirghiso";
case KHR: return "riel cambogiano";
case KMF: return "franco comoriano";
case KPW: return "won nordcoreano";
case KRW: return "won sudcoreano";
case KWD: return "dinaro kuwaitiano";
case KYD: return "dollaro delle Isole Cayman";
case KZT: return "tenge kazako";
case LAK: return "kip laotiano";
case LBP: return "lira libanese";
case LKR: return "rupia di Sri Lanka";
case LRD: return "dollaro liberiano";
case LSL: return "loti del Lesotho";
case LTL: return "litas lituano";
case LTT: return "talonas lituani";
case LUC: return "franco convertibile del Lussemburgo";
case LUF: return "franco del Lussemburgo";
case LUL: return "franco finanziario del Lussemburgo";
case LVL: return "lats lettone";
case LVR: return "rublo lettone";
case LYD: return "dinaro libico";
case MAD: return "dirham marocchino";
case MAF: return "franco marocchino";
case MDL: return "leu moldavo";
case MGA: return "ariary malgascio";
case MGF: return "franco malgascio";
case MKD: return "denar macedone";
case MLF: return "franco di Mali";
case MMK: return "kyat di Myanmar";
case MNT: return "tugrik mongolo";
case MOP: return "pataca di Macao";
case MRO: return "ouguiya della Mauritania";
case MTL: return "lira maltese";
case MTP: return "sterlina maltese";
case MUR: return "rupia mauriziana";
case MVR: return "rufiyaa delle Maldive";
case MWK: return "kwacha malawiano";
case MXN: return "peso messicano";
case MXP: return "peso messicano d’argento (1861–1992)";
case MXV: return "unidad de inversion (UDI) messicana";
case MYR: return "ringgit malese";
case MZE: return "escudo del Mozambico";
case MZN: return "metical mozambicano";
case NAD: return "dollaro namibiano";
case NGN: return "naira nigeriana";
case NIC: return "cordoba nicaraguense";
case NIO: return "córdoba nicaraguense";
case NLG: return "fiorino olandese";
case NOK: return "corona norvegese";
case NPR: return "rupia nepalese";
case NZD: return "dollaro neozelandese";
case OMR: return "rial omanita";
case PAB: return "balboa panamense";
case PEI: return "inti peruviano";
case PEN: return "sol peruviano";
case PES: return "sol peruviano (1863–1965)";
case PGK: return "kina papuana";
case PHP: return "peso filippino";
case PKR: return "rupia pakistana";
case PLN: return "złoty polacco";
case PLZ: return "złoty Polacco (1950–1995)";
case PTE: return "escudo portoghese";
case PYG: return "guaraní paraguayano";
case QAR: return "rial qatariano";
case RHD: return "dollaro della Rhodesia";
case ROL: return "leu della Romania";
case RON: return "leu rumeno";
case RSD: return "dinaro serbo";
case RUB: return "rublo russo";
case RUR: return "rublo della CSI";
case RWF: return "franco ruandese";
case SAR: return "riyal saudita";
case SBD: return "dollaro delle Isole Salomone";
case SCR: return "rupia delle Seychelles";
case SDD: return "dinaro sudanese";
case SDG: return "sterlina sudanese";
case SEK: return "corona svedese";
case SGD: return "dollaro di Singapore";
case SHP: return "sterlina di Sant’Elena";
case SIT: return "tallero sloveno";
case SKK: return "corona slovacca";
case SLL: return "leone della Sierra Leone";
case SOS: return "scellino somalo";
case SRD: return "dollaro del Suriname";
case SRG: return "fiorino del Suriname";
case SSP: return "sterlina sud-sudanese";
case STD: return "dobra di Sao Tomé e Principe";
case SUR: return "rublo sovietico";
case SVC: return "colón salvadoregno";
case SYP: return "lira siriana";
case SZL: return "lilangeni dello Swaziland";
case THB: return "baht thailandese";
case TJR: return "rublo del Tajikistan";
case TJS: return "somoni tagiko";
case TMM: return "manat turkmeno (1993–2009)";
case TMT: return "manat turkmeno";
case TND: return "dinaro tunisino";
case TOP: return "paʻanga tongano";
case TPE: return "escudo di Timor";
case TRL: return "lira turca (1922–2005)";
case TRY: return "lira turca";
case TTD: return "dollaro di Trinidad e Tobago";
case TWD: return "nuovo dollaro taiwanese";
case TZS: return "scellino della Tanzania";
case UAH: return "grivnia ucraina";
case UAK: return "karbovanetz ucraino";
case UGS: return "scellino ugandese (1966–1987)";
case UGX: return "scellino ugandese";
case USD: return "dollaro statunitense";
case USN: return "dollaro statunitense (next day)";
case USS: return "dollaro statunitense (same day)";
case UYI: return "peso uruguaiano in unità indicizzate";
case UYP: return "peso uruguaiano (1975–1993)";
case UYU: return "peso uruguayano";
case UZS: return "sum uzbeco";
case VEB: return "bolivar venezuelano (1871–2008)";
case VEF: return "bolívar venezuelano";
case VND: return "dong vietnamita";
case VUV: return "vatu di Vanuatu";
case WST: return "tala samoano";
case XAF: return "franco CFA BEAC";
case XAG: return "argento";
case XAU: return "oro";
case XBA: return "unità composita europea";
case XBB: return "unità monetaria europea";
case XBC: return "unità di acconto europea (XBC)";
case XBD: return "unità di acconto europea (XBD)";
case XCD: return "dollaro dei Caraibi orientali";
case XDR: return "diritti speciali di incasso";
case XFO: return "franco oro francese";
case XFU: return "franco UIC francese";
case XOF: return "franco CFA BCEAO";
case XPD: return "palladio";
case XPF: return "franco CFP";
case XPT: return "platino";
case XRE: return "fondi RINET";
case XTS: return "codice di verifica della valuta";
case XXX: return "valuta sconosciuta";
case YDD: return "dinaro dello Yemen";
case YER: return "riyal yemenita";
case YUD: return "dinaro forte yugoslavo";
case YUM: return "dinaro noviy yugoslavo";
case YUN: return "dinaro convertibile yugoslavo";
case ZAL: return "rand sudafricano (finanziario)";
case ZAR: return "rand sudafricano";
case ZMK: return "kwacha dello Zambia (1968–2012)";
case ZMW: return "kwacha dello Zambia";
case ZRN: return "nuovo zaire dello Zaire";
case ZRZ: return "zaire dello Zaire";
case ZWD: return "dollaro dello Zimbabwe";
case ZWL: return "dollaro zimbabwiano (2009)";
default: return code.name();
}
}
protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
switch (code) {
case AED: {
switch (category) {
case ONE: return "dirham degli EAU";
case OTHER:
default: return "dirham degli EAU";
}
}
case AFN: {
switch (category) {
case ONE: return "afghani";
case OTHER:
default: return "afghani";
}
}
case ALL: {
switch (category) {
case ONE: return "lek albanese";
case OTHER:
default: return "lekë albanesi";
}
}
case AMD: {
switch (category) {
case ONE: return "dram armeno";
case OTHER:
default: return "dram armeni";
}
}
case ANG: {
switch (category) {
case ONE: return "fiorino delle Antille olandesi";
case OTHER:
default: return "fiorino delle Antille olandesi";
}
}
case AOA: {
switch (category) {
case ONE: return "kwanza angolano";
case OTHER:
default: return "kwanzas angolani";
}
}
case ARS: {
switch (category) {
case ONE: return "peso argentino";
case OTHER:
default: return "pesos argentini";
}
}
case AUD: {
switch (category) {
case ONE: return "dollaro australiano";
case OTHER:
default: return "dollari australiani";
}
}
case AWG: {
switch (category) {
case ONE: return "fiorino di Aruba";
case OTHER:
default: return "fiorini di Aruba";
}
}
case AZN: {
switch (category) {
case ONE: return "manat azero";
case OTHER:
default: return "manat azeri";
}
}
case BAM: {
switch (category) {
case ONE: return "marco convertibile della Bosnia-Herzegovina";
case OTHER:
default: return "marchi convertibili della Bosnia-Herzegovina";
}
}
case BBD: {
switch (category) {
case ONE: return "dollaro di Barbados";
case OTHER:
default: return "dollari di Barbados";
}
}
case BDT: {
switch (category) {
case ONE: return "taka bengalese";
case OTHER:
default: return "taka bengalesi";
}
}
case BGL: {
switch (category) {
case ONE: return "lev bulgaro (1962–1999)";
case OTHER:
default: return "leva bulgari (1962–1999)";
}
}
case BGN: {
switch (category) {
case ONE: return "lev bulgaro";
case OTHER:
default: return "leva bulgari";
}
}
case BHD: {
switch (category) {
case ONE: return "dinaro del Bahrein";
case OTHER:
default: return "dinari del Bahrein";
}
}
case BIF: {
switch (category) {
case ONE: return "franco del Burundi";
case OTHER:
default: return "franchi del Burundi";
}
}
case BMD: {
switch (category) {
case ONE: return "dollaro delle Bermuda";
case OTHER:
default: return "dollari delle Bermuda";
}
}
case BND: {
switch (category) {
case ONE: return "dollaro del Brunei";
case OTHER:
default: return "dollari del Brunei";
}
}
case BOB: {
switch (category) {
case ONE: return "boliviano";
case OTHER:
default: return "boliviani";
}
}
case BRL: {
switch (category) {
case ONE: return "real brasiliano";
case OTHER:
default: return "real brasiliani";
}
}
case BSD: {
switch (category) {
case ONE: return "dollaro delle Bahamas";
case OTHER:
default: return "dollari delle Bahamas";
}
}
case BTN: {
switch (category) {
case ONE: return "ngultrum bhutanese";
case OTHER:
default: return "ngultrum bhutanesi";
}
}
case BWP: {
switch (category) {
case ONE: return "pula del Botswana";
case OTHER:
default: return "pula del Botswana";
}
}
case BYN: {
switch (category) {
case ONE: return "rublo bielorusso";
case OTHER:
default: return "rubli bielorussi";
}
}
case BYR: {
switch (category) {
case ONE: return "rublo bielorusso (2000–2016)";
case OTHER:
default: return "rubli bielorussi (2000–2016)";
}
}
case BZD: {
switch (category) {
case ONE: return "dollaro del Belize";
case OTHER:
default: return "dollari del Belize";
}
}
case CAD: {
switch (category) {
case ONE: return "dollaro canadese";
case OTHER:
default: return "dollari canadesi";
}
}
case CDF: {
switch (category) {
case ONE: return "franco congolese";
case OTHER:
default: return "franchi congolesi";
}
}
case CHF: {
switch (category) {
case ONE: return "franco svizzero";
case OTHER:
default: return "franchi svizzeri";
}
}
case CLP: {
switch (category) {
case ONE: return "peso cileno";
case OTHER:
default: return "pesos cileni";
}
}
case CNY: {
switch (category) {
case ONE: return "renmimbi cinese";
case OTHER:
default: return "renmimbi cinesi";
}
}
case COP: {
switch (category) {
case ONE: return "peso colombiano";
case OTHER:
default: return "pesos colombiani";
}
}
case CRC: {
switch (category) {
case ONE: return "colón costaricano";
case OTHER:
default: return "colón costaricani";
}
}
case CUC: {
switch (category) {
case ONE: return "peso cubano convertibile";
case OTHER:
default: return "pesos cubani convertibili";
}
}
case CUP: {
switch (category) {
case ONE: return "peso cubano";
case OTHER:
default: return "pesos cubani";
}
}
case CVE: {
switch (category) {
case ONE: return "escudo capoverdiano";
case OTHER:
default: return "escudos capoverdiani";
}
}
case CZK: {
switch (category) {
case ONE: return "corona ceca";
case OTHER:
default: return "corone ceche";
}
}
case DJF: {
switch (category) {
case ONE: return "franco di Gibuti";
case OTHER:
default: return "franchi di Gibuti";
}
}
case DKK: {
switch (category) {
case ONE: return "corona danese";
case OTHER:
default: return "corone danesi";
}
}
case DOP: {
switch (category) {
case ONE: return "peso dominicano";
case OTHER:
default: return "pesos dominicani";
}
}
case DZD: {
switch (category) {
case ONE: return "dinaro algerino";
case OTHER:
default: return "dinari algerini";
}
}
case EGP: {
switch (category) {
case ONE: return "sterlina egiziana";
case OTHER:
default: return "sterline egiziane";
}
}
case ERN: {
switch (category) {
case ONE: return "nakfa eritreo";
case OTHER:
default: return "nakfa eritrei";
}
}
case ETB: {
switch (category) {
case ONE: return "birr etiope";
case OTHER:
default: return "birr etiopi";
}
}
case EUR: {
switch (category) {
case ONE: return "euro";
case OTHER:
default: return "euro";
}
}
case FJD: {
switch (category) {
case ONE: return "dollaro delle Figi";
case OTHER:
default: return "dollari delle Figi";
}
}
case FKP: {
switch (category) {
case ONE: return "sterlina delle Falkland";
case OTHER:
default: return "sterline delle Falkland";
}
}
case GBP: {
switch (category) {
case ONE: return "sterlina britannica";
case OTHER:
default: return "sterline britanniche";
}
}
case GEL: {
switch (category) {
case ONE: return "lari georgiano";
case OTHER:
default: return "lari georgiani";
}
}
case GHS: {
switch (category) {
case ONE: return "cedi ghanese";
case OTHER:
default: return "cedi ghanesi";
}
}
case GIP: {
switch (category) {
case ONE: return "sterlina di Gibilterra";
case OTHER:
default: return "sterline di Gibilterra";
}
}
case GMD: {
switch (category) {
case ONE: return "dalasi gambiano";
case OTHER:
default: return "dalasi gambiani";
}
}
case GNF: {
switch (category) {
case ONE: return "franco della Guinea";
case OTHER:
default: return "franchi della Guinea";
}
}
case GTQ: {
switch (category) {
case ONE: return "quetzal guatemalteco";
case OTHER:
default: return "quetzal guatemaltechi";
}
}
case GYD: {
switch (category) {
case ONE: return "dollaro della Guyana";
case OTHER:
default: return "dollari della Guyana";
}
}
case HKD: {
switch (category) {
case ONE: return "dollaro di Hong Kong";
case OTHER:
default: return "dollari di Hong Kong";
}
}
case HNL: {
switch (category) {
case ONE: return "lempira honduregna";
case OTHER:
default: return "lempire honduregne";
}
}
case HRK: {
switch (category) {
case ONE: return "kuna croata";
case OTHER:
default: return "kune croate";
}
}
case HTG: {
switch (category) {
case ONE: return "gourde haitiano";
case OTHER:
default: return "gourde haitiani";
}
}
case HUF: {
switch (category) {
case ONE: return "fiorino ungherese";
case OTHER:
default: return "fiorini ungheresi";
}
}
case IDR: {
switch (category) {
case ONE: return "rupia indonesiana";
case OTHER:
default: return "rupie indonesiane";
}
}
case ILS: {
switch (category) {
case ONE: return "nuovo siclo israeliano";
case OTHER:
default: return "nuovi sicli israeliani";
}
}
case INR: {
switch (category) {
case ONE: return "rupia indiana";
case OTHER:
default: return "rupie indiane";
}
}
case IQD: {
switch (category) {
case ONE: return "dinaro iracheno";
case OTHER:
default: return "dinari iracheni";
}
}
case IRR: {
switch (category) {
case ONE: return "rial iraniano";
case OTHER:
default: return "rial iraniani";
}
}
case ISK: {
switch (category) {
case ONE: return "corona islandese";
case OTHER:
default: return "corone islandesi";
}
}
case JMD: {
switch (category) {
case ONE: return "dollaro giamaicano";
case OTHER:
default: return "dollari giamaicani";
}
}
case JOD: {
switch (category) {
case ONE: return "dinaro giordano";
case OTHER:
default: return "dinari giordani";
}
}
case JPY: {
switch (category) {
case ONE: return "yen giapponese";
case OTHER:
default: return "yen giapponesi";
}
}
case KES: {
switch (category) {
case ONE: return "scellino keniota";
case OTHER:
default: return "scellini keniota";
}
}
case KGS: {
switch (category) {
case ONE: return "som kirghiso";
case OTHER:
default: return "som kirghisi";
}
}
case KHR: {
switch (category) {
case ONE: return "riel cambogiano";
case OTHER:
default: return "riel cambogiani";
}
}
case KMF: {
switch (category) {
case ONE: return "franco comoriano";
case OTHER:
default: return "franchi comoriani";
}
}
case KPW: {
switch (category) {
case ONE: return "won nordcoreano";
case OTHER:
default: return "won nordcoreani";
}
}
case KRW: {
switch (category) {
case ONE: return "won sudcoreano";
case OTHER:
default: return "won sudcoreani";
}
}
case KWD: {
switch (category) {
case ONE: return "dinaro kuwaitiano";
case OTHER:
default: return "dinari kuwaitiani";
}
}
case KYD: {
switch (category) {
case ONE: return "dollaro delle Isole Cayman";
case OTHER:
default: return "dollari delle Isole Cayman";
}
}
case KZT: {
switch (category) {
case ONE: return "tenge kazako";
case OTHER:
default: return "tenge kazaki";
}
}
case LAK: {
switch (category) {
case ONE: return "kip laotiano";
case OTHER:
default: return "kip laotiani";
}
}
case LBP: {
switch (category) {
case ONE: return "lira libanese";
case OTHER:
default: return "lire libanesi";
}
}
case LKR: {
switch (category) {
case ONE: return "rupia di Sri Lanka";
case OTHER:
default: return "rupie di Sri Lanka";
}
}
case LRD: {
switch (category) {
case ONE: return "dollaro liberiano";
case OTHER:
default: return "dollari liberiani";
}
}
case LTL: {
switch (category) {
case ONE: return "litas lituano";
case OTHER:
default: return "litas lituani";
}
}
case LVL: {
switch (category) {
case ONE: return "lats lettone";
case OTHER:
default: return "lati lettoni";
}
}
case LYD: {
switch (category) {
case ONE: return "dinaro libico";
case OTHER:
default: return "dinari libici";
}
}
case MAD: {
switch (category) {
case ONE: return "dirham marocchino";
case OTHER:
default: return "dirham marocchini";
}
}
case MDL: {
switch (category) {
case ONE: return "leu moldavo";
case OTHER:
default: return "lei moldavi";
}
}
case MGA: {
switch (category) {
case ONE: return "ariary malgascio";
case OTHER:
default: return "ariary malgasci";
}
}
case MKD: {
switch (category) {
case ONE: return "dinaro macedone";
case OTHER:
default: return "dinari macedoni";
}
}
case MMK: {
switch (category) {
case ONE: return "kyat di Myanmar";
case OTHER:
default: return "kyat di Myanmar";
}
}
case MNT: {
switch (category) {
case ONE: return "tugrik mongolo";
case OTHER:
default: return "tugrik mongoli";
}
}
case MOP: {
switch (category) {
case ONE: return "pataca di Macao";
case OTHER:
default: return "patacas di Macao";
}
}
case MRO: {
switch (category) {
case ONE: return "ouguiya della Mauritania";
case OTHER:
default: return "ouguiya della Mauritania";
}
}
case MUR: {
switch (category) {
case ONE: return "rupia mauriziana";
case OTHER:
default: return "rupie mauriziane";
}
}
case MVR: {
switch (category) {
case ONE: return "rufiyaa delle Maldive";
case OTHER:
default: return "rufiyaa delle Maldive";
}
}
case MWK: {
switch (category) {
case ONE: return "kwacha malawiano";
case OTHER:
default: return "kwacha malawiani";
}
}
case MXN: {
switch (category) {
case ONE: return "peso messicano";
case OTHER:
default: return "pesos messicani";
}
}
case MYR: {
switch (category) {
case ONE: return "ringgit malese";
case OTHER:
default: return "ringgit malesi";
}
}
case MZN: {
switch (category) {
case ONE: return "metical mozambicano";
case OTHER:
default: return "metical mozambicani";
}
}
case NAD: {
switch (category) {
case ONE: return "dollaro namibiano";
case OTHER:
default: return "dollari namibiani";
}
}
case NGN: {
switch (category) {
case ONE: return "naira nigeriana";
case OTHER:
default: return "naire nigeriane";
}
}
case NIC: {
switch (category) {
case ONE: return "cordoba nicaraguense";
case OTHER:
default: return "cordoba nicaraguense";
}
}
case NIO: {
switch (category) {
case ONE: return "córdoba nicaraguense";
case OTHER:
default: return "córdoba nicaraguensi";
}
}
case NOK: {
switch (category) {
case ONE: return "corona norvegese";
case OTHER:
default: return "corone norvegesi";
}
}
case NPR: {
switch (category) {
case ONE: return "rupia nepalese";
case OTHER:
default: return "rupie nepalesi";
}
}
case NZD: {
switch (category) {
case ONE: return "dollaro neozelandese";
case OTHER:
default: return "dollari neozelandesi";
}
}
case OMR: {
switch (category) {
case ONE: return "rial omanita";
case OTHER:
default: return "rial omaniti";
}
}
case PAB: {
switch (category) {
case ONE: return "balboa panamense";
case OTHER:
default: return "balboa panamensi";
}
}
case PEN: {
switch (category) {
case ONE: return "sol peruviano";
case OTHER:
default: return "sol peruviani";
}
}
case PGK: {
switch (category) {
case ONE: return "kina papuana";
case OTHER:
default: return "kina papuane";
}
}
case PHP: {
switch (category) {
case ONE: return "peso filippino";
case OTHER:
default: return "pesos filippini";
}
}
case PKR: {
switch (category) {
case ONE: return "rupia pakistana";
case OTHER:
default: return "rupie pakistane";
}
}
case PLN: {
switch (category) {
case ONE: return "złoty polacco";
case OTHER:
default: return "złoty polacchi";
}
}
case PLZ: {
switch (category) {
case ONE: return "złoty polacco (1950–1995)";
case OTHER:
default: return "złoty polacchi (1950–1995)";
}
}
case PYG: {
switch (category) {
case ONE: return "guaraní paraguayano";
case OTHER:
default: return "guaraní paraguayani";
}
}
case QAR: {
switch (category) {
case ONE: return "rial qatariano";
case OTHER:
default: return "rial qatariani";
}
}
case RON: {
switch (category) {
case ONE: return "leu rumeno";
case OTHER:
default: return "lei rumeni";
}
}
case RSD: {
switch (category) {
case ONE: return "dinaro serbo";
case OTHER:
default: return "dinara serbi";
}
}
case RUB: {
switch (category) {
case ONE: return "rublo russo";
case OTHER:
default: return "rubli russi";
}
}
case RWF: {
switch (category) {
case ONE: return "franco ruandese";
case OTHER:
default: return "franchi ruandesi";
}
}
case SAR: {
switch (category) {
case ONE: return "riyal saudita";
case OTHER:
default: return "riyal sauditi";
}
}
case SBD: {
switch (category) {
case ONE: return "dollaro delle Isole Salomone";
case OTHER:
default: return "dollari delle Isole Salomone";
}
}
case SCR: {
switch (category) {
case ONE: return "rupia delle Seychelles";
case OTHER:
default: return "rupie delle Seychelles";
}
}
case SDG: {
switch (category) {
case ONE: return "sterlina sudanese";
case OTHER:
default: return "sterline sudanesi";
}
}
case SEK: {
switch (category) {
case ONE: return "corona svedese";
case OTHER:
default: return "corone svedesi";
}
}
case SGD: {
switch (category) {
case ONE: return "dollaro di Singapore";
case OTHER:
default: return "dollari di Singapore";
}
}
case SHP: {
switch (category) {
case ONE: return "sterlina di Sant’Elena";
case OTHER:
default: return "sterline di Sant’Elena";
}
}
case SLL: {
switch (category) {
case ONE: return "leone della Sierra Leone";
case OTHER:
default: return "leoni della Sierra Leone";
}
}
case SOS: {
switch (category) {
case ONE: return "scellino somalo";
case OTHER:
default: return "scellini somali";
}
}
case SRD: {
switch (category) {
case ONE: return "dollaro del Suriname";
case OTHER:
default: return "dollari del Suriname";
}
}
case SSP: {
switch (category) {
case ONE: return "sterlina sud-sudanese";
case OTHER:
default: return "sterline sud-sudanesi";
}
}
case STD: {
switch (category) {
case ONE: return "dobra di Sao Tomé e Principe";
case OTHER:
default: return "dobra di Sao Tomé e Principe";
}
}
case SYP: {
switch (category) {
case ONE: return "lira siriana";
case OTHER:
default: return "lire siriane";
}
}
case SZL: {
switch (category) {
case ONE: return "lilangeni dello Swaziland";
case OTHER:
default: return "lilangeni dello Swaziland";
}
}
case THB: {
switch (category) {
case ONE: return "baht thailandese";
case OTHER:
default: return "baht thailandesi";
}
}
case TJS: {
switch (category) {
case ONE: return "somoni tagiko";
case OTHER:
default: return "somoni tagiki";
}
}
case TMT: {
switch (category) {
case ONE: return "manat turkmeno";
case OTHER:
default: return "manat turkmeni";
}
}
case TND: {
switch (category) {
case ONE: return "dinaro tunisino";
case OTHER:
default: return "dinari tunisini";
}
}
case TOP: {
switch (category) {
case ONE: return "paʻanga tongano";
case OTHER:
default: return "paʻanga tongani";
}
}
case TRL: {
switch (category) {
case ONE: return "lira turca (1922–2005)";
case OTHER:
default: return "lire turche (1922–2005)";
}
}
case TRY: {
switch (category) {
case ONE: return "lira turca";
case OTHER:
default: return "lire turche";
}
}
case TTD: {
switch (category) {
case ONE: return "dollaro di Trinidad e Tobago";
case OTHER:
default: return "dollari di Trinidad e Tobago";
}
}
case TWD: {
switch (category) {
case ONE: return "nuovo dollaro taiwanese";
case OTHER:
default: return "nuovi dollari taiwanesi";
}
}
case TZS: {
switch (category) {
case ONE: return "scellino della Tanzania";
case OTHER:
default: return "scellini della Tanzania";
}
}
case UAH: {
switch (category) {
case ONE: return "grivnia ucraina";
case OTHER:
default: return "grivnie ucraine";
}
}
case UGX: {
switch (category) {
case ONE: return "scellino ugandese";
case OTHER:
default: return "scellini ugandesi";
}
}
case USD: {
switch (category) {
case ONE: return "dollaro statunitense";
case OTHER:
default: return "dollari statunitensi";
}
}
case UYU: {
switch (category) {
case ONE: return "peso uruguayano";
case OTHER:
default: return "pesos uruguayani";
}
}
case UZS: {
switch (category) {
case ONE: return "sum uzbeco";
case OTHER:
default: return "sum uzbechi";
}
}
case VEB: {
switch (category) {
case ONE: return "bolivar venezuelano (1871–2008)";
case OTHER:
default: return "bolivares venezuelani (1871–2008)";
}
}
case VEF: {
switch (category) {
case ONE: return "bolívar venezuelano";
case OTHER:
default: return "bolívares venezuelani";
}
}
case VND: {
switch (category) {
case ONE: return "dong vietnamita";
case OTHER:
default: return "dong vietnamiti";
}
}
case VUV: {
switch (category) {
case ONE: return "vatu di Vanuatu";
case OTHER:
default: return "vatu di Vanuatu";
}
}
case WST: {
switch (category) {
case ONE: return "tala samoano";
case OTHER:
default: return "tala samoani";
}
}
case XAF: {
switch (category) {
case ONE: return "franco CFA BEAC";
case OTHER:
default: return "franchi CFA BEAC";
}
}
case XCD: {
switch (category) {
case ONE: return "dollaro dei Caraibi orientali";
case OTHER:
default: return "dollari dei Caraibi orientali";
}
}
case XOF: {
switch (category) {
case ONE: return "franco CFA BCEAO";
case OTHER:
default: return "franchi CFA BCEAO";
}
}
case XPF: {
switch (category) {
case ONE: return "franco CFP";
case OTHER:
default: return "franchi CFP";
}
}
case XXX: {
switch (category) {
case ONE: return "(valuta sconosciuta)";
case OTHER:
default: return "(valute sconosciute)";
}
}
case YER: {
switch (category) {
case ONE: return "rial yemenita";
case OTHER:
default: return "rial yemeniti";
}
}
case ZAR: {
switch (category) {
case ONE: return "rand sudafricano";
case OTHER:
default: return "rand sudafricani";
}
}
case ZMK: {
switch (category) {
case ONE: return "kwacha zambiano (1968–2012)";
case OTHER:
default: return "kwacha zambiani (1968–2012)";
}
}
case ZMW: {
switch (category) {
case ONE: return "kwacha zambiano";
case OTHER:
default: return "kwacha zambiani";
}
}
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 = ".";
}
}
}