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_fr_CA 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_fr_CA extends NumberFormatterBase {
protected static final int[] DECIMAL_SHORT_DIVISORS = new int[] { 0,0,0,3,3,3,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 k", "-0 k"),
/* 10K */ patterns("00 k", "-00 k"),
/* 100K */ patterns("000 k", "-000 k"),
/* 1M */ patterns("0 M", "-0 M"),
/* 10M */ patterns("00 M", "-00 M"),
/* 100M */ patterns("000 M", "-000 M"),
/* 1B */ patterns("0 G", "-0 G"),
/* 10B */ patterns("00 G", "-00 G"),
/* 100B */ patterns("000 G", "-000 G"),
/* 1T */ patterns("0 T", "-0 T"),
/* 10T */ patterns("00 T", "-00 T"),
/* 100T */ patterns("000 T", "-000 T")}
;
protected static final NumberPattern[][] DECIMAL_SHORT_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("0 k", "-0 k"),
/* 10K */ patterns("00 k", "-00 k"),
/* 100K */ patterns("000 k", "-000 k"),
/* 1M */ patterns("0 M", "-0 M"),
/* 10M */ patterns("00 M", "-00 M"),
/* 100M */ patterns("000 M", "-000 M"),
/* 1B */ patterns("0 G", "-0 G"),
/* 10B */ patterns("00 G", "-00 G"),
/* 100B */ patterns("000 G", "-000 G"),
/* 1T */ patterns("0 T", "-0 T"),
/* 10T */ patterns("00 T", "-00 T"),
/* 100T */ patterns("000 T", "-000 T")}
;
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 millier", "-0 millier"),
/* 10K */ patterns("00 mille", "-00 mille"),
/* 100K */ patterns("000 mille", "-000 mille"),
/* 1M */ patterns("0 million", "-0 million"),
/* 10M */ patterns("00 million", "-00 million"),
/* 100M */ patterns("000 million", "-000 million"),
/* 1B */ patterns("0 milliard", "-0 milliard"),
/* 10B */ patterns("00 milliard", "-00 milliard"),
/* 100B */ patterns("000 milliard", "-000 milliard"),
/* 1T */ patterns("0 billion", "-0 billion"),
/* 10T */ patterns("00 billion", "-00 billion"),
/* 100T */ patterns("000 billion", "-000 billion")}
;
protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("0 mille", "-0 mille"),
/* 10K */ patterns("00 mille", "-00 mille"),
/* 100K */ patterns("000 mille", "-000 mille"),
/* 1M */ patterns("0 millions", "-0 millions"),
/* 10M */ patterns("00 millions", "-00 millions"),
/* 100M */ patterns("000 millions", "-000 millions"),
/* 1B */ patterns("0 milliards", "-0 milliards"),
/* 10B */ patterns("00 milliards", "-00 milliards"),
/* 100B */ patterns("000 milliards", "-000 milliards"),
/* 1T */ patterns("0 billions", "-0 billions"),
/* 10T */ patterns("00 billions", "-00 billions"),
/* 100T */ patterns("000 billions", "-000 billions")}
;
protected static final int[] CURRENCY_SHORT_DIVISORS = new int[] { 0,0,0,3,3,3,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 k ¤", "-0 k ¤"),
/* 10K */ patterns("00 k ¤", "-00 k ¤"),
/* 100K */ patterns("000 k ¤", "-000 k ¤"),
/* 1M */ patterns("0 mn ¤", "-0 mn ¤"),
/* 10M */ patterns("00 mn ¤", "-00 mn ¤"),
/* 100M */ patterns("000 mn ¤", "-000 mn ¤"),
/* 1B */ patterns("0 md ¤", "-0 md ¤"),
/* 10B */ patterns("00 md ¤", "-00 md ¤"),
/* 100B */ patterns("000 md ¤", "-000 md ¤"),
/* 1T */ patterns("0 bn ¤", "-0 bn ¤"),
/* 10T */ patterns("00 bn ¤", "-00 bn ¤"),
/* 100T */ patterns("000 bn ¤", "-000 bn ¤")}
;
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 k ¤", "-0 k ¤"),
/* 10K */ patterns("00 k ¤", "-00 k ¤"),
/* 100K */ patterns("000 k ¤", "-000 k ¤"),
/* 1M */ patterns("0 mns ¤", "-0 mns ¤"),
/* 10M */ patterns("00 mns ¤", "-00 mns ¤"),
/* 100M */ patterns("000 mns ¤", "-000 mns ¤"),
/* 1B */ patterns("0 mds ¤", "-0 mds ¤"),
/* 10B */ patterns("00 mds ¤", "-00 mds ¤"),
/* 100B */ patterns("000 mds ¤", "-000 mds ¤"),
/* 1T */ patterns("0 bns ¤", "-0 bns ¤"),
/* 10T */ patterns("00 bns ¤", "-00 bns ¤"),
/* 100T */ patterns("000 bns ¤", "-000 bns ¤")}
;
protected static final Map> UNITS_LONG_ONE = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} fois la gravitation terrestre"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} mètre par seconde carrée"));
put(Unit.ARC_MINUTE, unitPattern("{0} minute d’arc"));
put(Unit.ARC_SECOND, unitPattern("{0} seconde d’angle"));
put(Unit.DEGREE, unitPattern("{0} degré"));
put(Unit.RADIAN, unitPattern("{0} radian"));
put(Unit.REVOLUTION, unitPattern("{0} tour"));
put(Unit.ACRE, unitPattern("{0} acre"));
put(Unit.HECTARE, unitPattern("{0} hectare"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centimètre carré"));
put(Unit.SQUARE_FOOT, unitPattern("{0} pied carré"));
put(Unit.SQUARE_INCH, unitPattern("{0} pouce carré"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} kilomètre carré"));
put(Unit.SQUARE_METER, unitPattern("{0} mètre carré"));
put(Unit.SQUARE_MILE, unitPattern("{0} mille carré"));
put(Unit.SQUARE_YARD, unitPattern("{0} verge carrée"));
put(Unit.KARAT, unitPattern("{0} carat"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligramme par décilitre"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimole par litre"));
put(Unit.PART_PER_MILLION, unitPattern("{0} partie par million"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litre aux 100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litre au kilomètre"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mille au gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mile par gallon impérial"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} octet"));
put(Unit.GIGABIT, unitPattern("{0} gigabit"));
put(Unit.GIGABYTE, unitPattern("{0} gigaoctet"));
put(Unit.KILOBIT, unitPattern("{0} kilobit"));
put(Unit.KILOBYTE, unitPattern("{0} kilooctet"));
put(Unit.MEGABIT, unitPattern("{0} mégabit"));
put(Unit.MEGABYTE, unitPattern("{0} mégaoctet"));
put(Unit.TERABIT, unitPattern("{0} térabit"));
put(Unit.TERABYTE, unitPattern("{0} téraoctet"));
put(Unit.CENTURY, unitPattern("{0} siècle"));
put(Unit.DAY, unitPattern("{0} jour"));
put(Unit.HOUR, unitPattern("{0} heure"));
put(Unit.MICROSECOND, unitPattern("{0} microseconde"));
put(Unit.MILLISECOND, unitPattern("{0} milliseconde"));
put(Unit.MINUTE, unitPattern("{0} minute"));
put(Unit.MONTH, unitPattern("{0} mois"));
put(Unit.NANOSECOND, unitPattern("{0} nanoseconde"));
put(Unit.SECOND, unitPattern("{0} seconde"));
put(Unit.WEEK, unitPattern("{0} semaine"));
put(Unit.YEAR, unitPattern("{0} an"));
put(Unit.AMPERE, unitPattern("{0} ampère"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliampère"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} calorie"));
put(Unit.FOODCALORIE, unitPattern("{0} kilocalorie"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} kilocalorie"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kilowattheure"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} mégahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unité astronomique"));
put(Unit.CENTIMETER, unitPattern("{0} centimètre"));
put(Unit.DECIMETER, unitPattern("{0} décimètre"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0} pied"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} pouce"));
put(Unit.KILOMETER, unitPattern("{0} kilomètre"));
put(Unit.LIGHT_YEAR, unitPattern("{0} année-lumière"));
put(Unit.METER, unitPattern("{0} mètre"));
put(Unit.MICROMETER, unitPattern("{0} micromètre"));
put(Unit.MILE, unitPattern("{0} mille"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} mille scandinave"));
put(Unit.MILLIMETER, unitPattern("{0} millimètre"));
put(Unit.NANOMETER, unitPattern("{0} nanomètre"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} mille marin"));
put(Unit.PARSEC, unitPattern("{0} parsec"));
put(Unit.PICOMETER, unitPattern("{0} picomètre"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} verge"));
put(Unit.LUX, unitPattern("{0} lux"));
put(Unit.CARAT, unitPattern("{0} carat"));
put(Unit.GRAM, unitPattern("{0} gramme"));
put(Unit.KILOGRAM, unitPattern("{0} kilogramme"));
put(Unit.METRIC_TON, unitPattern("{0} tonne"));
put(Unit.MICROGRAM, unitPattern("{0} microgramme"));
put(Unit.MILLIGRAM, unitPattern("{0} milligramme"));
put(Unit.OUNCE, unitPattern("{0} once"));
put(Unit.OUNCE_TROY, unitPattern("{0} once troy"));
put(Unit.POUND, unitPattern("{0} livre"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tonne courte"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} cheval-vapeur"));
put(Unit.KILOWATT, unitPattern("{0} kilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} mégawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} hectopascal"));
put(Unit.INCH_HG, unitPattern("{0} pouce de mercure"));
put(Unit.MILLIBAR, unitPattern("{0} millibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimètre de mercure"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} livre par pouce carré"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilomètre par heure"));
put(Unit.KNOT, unitPattern("{0} nœud"));
put(Unit.METER_PER_SECOND, unitPattern("{0} mètre par seconde"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} mille à l’heure"));
put(Unit.CELSIUS, unitPattern("{0} degré Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} degré Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} acre-pied"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitre"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centimètre cube"));
put(Unit.CUBIC_FOOT, unitPattern("{0} pied cube"));
put(Unit.CUBIC_INCH, unitPattern("{0} pouce cube"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} kilomètre cube"));
put(Unit.CUBIC_METER, unitPattern("{0} mètre cube"));
put(Unit.CUBIC_MILE, unitPattern("{0} mille cube"));
put(Unit.CUBIC_YARD, unitPattern("{0} verge cube"));
put(Unit.CUP, unitPattern("{0} tasse"));
put(Unit.CUP_METRIC, unitPattern("{0} tasse métrique"));
put(Unit.DECILITER, unitPattern("{0} décilitre"));
put(Unit.FLUID_OUNCE, unitPattern("{0} once liquide"));
put(Unit.GALLON, unitPattern("{0} gallon"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gallon impérial"));
put(Unit.HECTOLITER, unitPattern("{0} hectolitre"));
put(Unit.LITER, unitPattern("{0} litre"));
put(Unit.MEGALITER, unitPattern("{0} mégalitre"));
put(Unit.MILLILITER, unitPattern("{0} millilitre"));
put(Unit.PINT, unitPattern("{0} chopine"));
put(Unit.PINT_METRIC, unitPattern("{0} pinte métrique"));
put(Unit.QUART, unitPattern("{0} pinte"));
put(Unit.TABLESPOON, unitPattern("{0} cuillère à soupe"));
put(Unit.TEASPOON, unitPattern("{0} cuillère à thé"));
}};
protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} fois la gravitation terrestre"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} mètres par seconde carrée"));
put(Unit.ARC_MINUTE, unitPattern("{0} minutes d’arc"));
put(Unit.ARC_SECOND, unitPattern("{0} secondes d’angle"));
put(Unit.DEGREE, unitPattern("{0} degrés"));
put(Unit.RADIAN, unitPattern("{0} radians"));
put(Unit.REVOLUTION, unitPattern("{0} tours"));
put(Unit.ACRE, unitPattern("{0} acres"));
put(Unit.HECTARE, unitPattern("{0} hectares"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} centimètres carrés"));
put(Unit.SQUARE_FOOT, unitPattern("{0} pieds carrés"));
put(Unit.SQUARE_INCH, unitPattern("{0} pouces carrés"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} kilomètres carrés"));
put(Unit.SQUARE_METER, unitPattern("{0} mètres carrés"));
put(Unit.SQUARE_MILE, unitPattern("{0} milles carrés"));
put(Unit.SQUARE_YARD, unitPattern("{0} verges carrées"));
put(Unit.KARAT, unitPattern("{0} carats"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligrammes par décilitre"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimoles par litre"));
put(Unit.PART_PER_MILLION, unitPattern("{0} parties par million"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litres aux 100 km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litres au kilomètre"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} milles au gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} miles par gallon impérial"));
put(Unit.BIT, unitPattern("{0} bits"));
put(Unit.BYTE, unitPattern("{0} octets"));
put(Unit.GIGABIT, unitPattern("{0} gigabits"));
put(Unit.GIGABYTE, unitPattern("{0} gigaoctets"));
put(Unit.KILOBIT, unitPattern("{0} kilobits"));
put(Unit.KILOBYTE, unitPattern("{0} kilooctets"));
put(Unit.MEGABIT, unitPattern("{0} mégabits"));
put(Unit.MEGABYTE, unitPattern("{0} mégaoctets"));
put(Unit.TERABIT, unitPattern("{0} térabits"));
put(Unit.TERABYTE, unitPattern("{0} téraoctets"));
put(Unit.CENTURY, unitPattern("{0} siècles"));
put(Unit.DAY, unitPattern("{0} jours"));
put(Unit.HOUR, unitPattern("{0} heures"));
put(Unit.MICROSECOND, unitPattern("{0} microsecondes"));
put(Unit.MILLISECOND, unitPattern("{0} millisecondes"));
put(Unit.MINUTE, unitPattern("{0} minutes"));
put(Unit.MONTH, unitPattern("{0} mois"));
put(Unit.NANOSECOND, unitPattern("{0} nanosecondes"));
put(Unit.SECOND, unitPattern("{0} secondes"));
put(Unit.WEEK, unitPattern("{0} semaines"));
put(Unit.YEAR, unitPattern("{0} ans"));
put(Unit.AMPERE, unitPattern("{0} ampères"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliampères"));
put(Unit.OHM, unitPattern("{0} ohms"));
put(Unit.VOLT, unitPattern("{0} volts"));
put(Unit.CALORIE, unitPattern("{0} calories"));
put(Unit.FOODCALORIE, unitPattern("{0} kilocalories"));
put(Unit.JOULE, unitPattern("{0} joules"));
put(Unit.KILOCALORIE, unitPattern("{0} kilocalories"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoules"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kilowattheures"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} mégahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} unités astronomiques"));
put(Unit.CENTIMETER, unitPattern("{0} centimètres"));
put(Unit.DECIMETER, unitPattern("{0} décimètres"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0} pieds"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} pouces"));
put(Unit.KILOMETER, unitPattern("{0} kilomètres"));
put(Unit.LIGHT_YEAR, unitPattern("{0} années-lumière"));
put(Unit.METER, unitPattern("{0} mètres"));
put(Unit.MICROMETER, unitPattern("{0} micromètres"));
put(Unit.MILE, unitPattern("{0} milles"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} milles scandinaves"));
put(Unit.MILLIMETER, unitPattern("{0} millimètres"));
put(Unit.NANOMETER, unitPattern("{0} nanomètres"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} milles marins"));
put(Unit.PARSEC, unitPattern("{0} parsecs"));
put(Unit.PICOMETER, unitPattern("{0} picomètres"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} verges"));
put(Unit.LUX, unitPattern("{0} lux"));
put(Unit.CARAT, unitPattern("{0} carats"));
put(Unit.GRAM, unitPattern("{0} grammes"));
put(Unit.KILOGRAM, unitPattern("{0} kilogrammes"));
put(Unit.METRIC_TON, unitPattern("{0} tonnes"));
put(Unit.MICROGRAM, unitPattern("{0} microgrammes"));
put(Unit.MILLIGRAM, unitPattern("{0} milligrammes"));
put(Unit.OUNCE, unitPattern("{0} onces"));
put(Unit.OUNCE_TROY, unitPattern("{0} onces troy"));
put(Unit.POUND, unitPattern("{0} livres"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} tonnes courtes"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatts"));
put(Unit.HORSEPOWER, unitPattern("{0} chevaux-vapeur"));
put(Unit.KILOWATT, unitPattern("{0} kilowatts"));
put(Unit.MEGAWATT, unitPattern("{0} mégawatts"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatts"));
put(Unit.WATT, unitPattern("{0} watts"));
put(Unit.HECTOPASCAL, unitPattern("{0} hectopascals"));
put(Unit.INCH_HG, unitPattern("{0} pouces de mercure"));
put(Unit.MILLIBAR, unitPattern("{0} millibars"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimètres de mercure"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} livres par pouce carré"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilomètres par heure"));
put(Unit.KNOT, unitPattern("{0} nœuds"));
put(Unit.METER_PER_SECOND, unitPattern("{0} mètres par seconde"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} milles à l’heure"));
put(Unit.CELSIUS, unitPattern("{0} degrés Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} degrés Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} kelvins"));
put(Unit.ACRE_FOOT, unitPattern("{0} acres-pieds"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} centilitres"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} centimètres cubes"));
put(Unit.CUBIC_FOOT, unitPattern("{0} pieds cubes"));
put(Unit.CUBIC_INCH, unitPattern("{0} pouces cubes"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} kilomètres cubes"));
put(Unit.CUBIC_METER, unitPattern("{0} mètres cubes"));
put(Unit.CUBIC_MILE, unitPattern("{0} milles cubes"));
put(Unit.CUBIC_YARD, unitPattern("{0} verges cubes"));
put(Unit.CUP, unitPattern("{0} tasses"));
put(Unit.CUP_METRIC, unitPattern("{0} tasses métriques"));
put(Unit.DECILITER, unitPattern("{0} décilitres"));
put(Unit.FLUID_OUNCE, unitPattern("{0} onces liquides"));
put(Unit.GALLON, unitPattern("{0} gallons"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} gallons impériaux"));
put(Unit.HECTOLITER, unitPattern("{0} hectolitres"));
put(Unit.LITER, unitPattern("{0} litres"));
put(Unit.MEGALITER, unitPattern("{0} mégalitres"));
put(Unit.MILLILITER, unitPattern("{0} millilitres"));
put(Unit.PINT, unitPattern("{0} chopines"));
put(Unit.PINT_METRIC, unitPattern("{0} pintes métriques"));
put(Unit.QUART, unitPattern("{0} pintes"));
put(Unit.TABLESPOON, unitPattern("{0} cuillères à soupe"));
put(Unit.TEASPOON, unitPattern("{0} cuillères à thé"));
}};
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} tr"));
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}pi²"));
put(Unit.SQUARE_INCH, unitPattern("{0} po²"));
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} vg²"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mi/gal"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/gal Imp"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} octet"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} Go"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} ko"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} Mo"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} To"));
put(Unit.CENTURY, unitPattern("{0} si"));
put(Unit.DAY, unitPattern("{0}j"));
put(Unit.HOUR, unitPattern("{0}h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0}ms"));
put(Unit.MINUTE, unitPattern("{0}m"));
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} 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}ua"));
put(Unit.CENTIMETER, unitPattern("{0}cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0}′"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0}″"));
put(Unit.KILOMETER, unitPattern("{0}km"));
put(Unit.LIGHT_YEAR, unitPattern("{0}a.l."));
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} NM"));
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} sh tn"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0}ch"));
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} nd"));
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 pi"));
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}pi³"));
put(Unit.CUBIC_INCH, unitPattern("{0}po³"));
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} tasse"));
put(Unit.CUP_METRIC, unitPattern("{0} tm"));
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} chop"));
put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
put(Unit.QUART, unitPattern("{0} pte"));
put(Unit.TABLESPOON, unitPattern("{0} c. à s."));
put(Unit.TEASPOON, unitPattern("{0} c. à t."));
}};
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} tr"));
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}pi²"));
put(Unit.SQUARE_INCH, unitPattern("{0} po²"));
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} vg²"));
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/100km"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} mi/gal"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/gal Imp"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} octet"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} Go"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} ko"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} Mo"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} To"));
put(Unit.CENTURY, unitPattern("{0} si"));
put(Unit.DAY, unitPattern("{0}j"));
put(Unit.HOUR, unitPattern("{0}h"));
put(Unit.MICROSECOND, unitPattern("{0} μs"));
put(Unit.MILLISECOND, unitPattern("{0}ms"));
put(Unit.MINUTE, unitPattern("{0}m"));
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} 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}ua"));
put(Unit.CENTIMETER, unitPattern("{0}cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0}′"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0}″"));
put(Unit.KILOMETER, unitPattern("{0}km"));
put(Unit.LIGHT_YEAR, unitPattern("{0}a.l."));
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} NM"));
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} sh tn"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0}ch"));
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} nd"));
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 pi"));
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}pi³"));
put(Unit.CUBIC_INCH, unitPattern("{0}po³"));
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} tasses"));
put(Unit.CUP_METRIC, unitPattern("{0} tm"));
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} chop"));
put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
put(Unit.QUART, unitPattern("{0} pte"));
put(Unit.TABLESPOON, unitPattern("{0} c. à s."));
put(Unit.TEASPOON, unitPattern("{0} c. à t."));
}};
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} tr"));
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} pi²"));
put(Unit.SQUARE_INCH, unitPattern("{0} po²"));
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} vg²"));
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} mi/gal"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/gal Imp"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} octet"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} Go"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} ko"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} Mo"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} To"));
put(Unit.CENTURY, unitPattern("{0} si"));
put(Unit.DAY, unitPattern("{0} j"));
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} an"));
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} 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} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0} pi"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} po"));
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} NM"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} vg"));
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} tc"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} ch"));
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} nd"));
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 pi"));
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} pi³"));
put(Unit.CUBIC_INCH, unitPattern("{0} po³"));
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} vg³"));
put(Unit.CUP, unitPattern("{0} tasse"));
put(Unit.CUP_METRIC, unitPattern("{0} tm"));
put(Unit.DECILITER, unitPattern("{0} dL"));
put(Unit.FLUID_OUNCE, unitPattern("{0} oz liq."));
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} chop"));
put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
put(Unit.QUART, unitPattern("{0} pte"));
put(Unit.TABLESPOON, unitPattern("{0} c. à s."));
put(Unit.TEASPOON, unitPattern("{0} c. à t."));
}};
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} tr"));
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} pi²"));
put(Unit.SQUARE_INCH, unitPattern("{0} po²"));
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} vg²"));
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} mi/gal"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mi/gal Imp"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} octet"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} Go"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} ko"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} Mo"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} To"));
put(Unit.CENTURY, unitPattern("{0} si"));
put(Unit.DAY, unitPattern("{0} j"));
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} ans"));
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} 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} ua"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fat"));
put(Unit.FOOT, unitPattern("{0} pi"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} po"));
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} NM"));
put(Unit.PARSEC, unitPattern("{0} pc"));
put(Unit.PICOMETER, unitPattern("{0} pm"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} vg"));
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} tc"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} ch"));
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} nd"));
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 pi"));
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} pi³"));
put(Unit.CUBIC_INCH, unitPattern("{0} po³"));
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} vg³"));
put(Unit.CUP, unitPattern("{0} tasses"));
put(Unit.CUP_METRIC, unitPattern("{0} tm"));
put(Unit.DECILITER, unitPattern("{0} dL"));
put(Unit.FLUID_OUNCE, unitPattern("{0} oz liq."));
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} chop"));
put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
put(Unit.QUART, unitPattern("{0} pte"));
put(Unit.TABLESPOON, unitPattern("{0} c. à s."));
put(Unit.TEASPOON, unitPattern("{0} c. à t."));
}};
public _NumberFormatter_fr_CA() {
super(
CLDR.Locale.fr_CA,
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 ALK: return "";
case AUD: return "$ AU";
case BEF: return "FB";
case BRL: return "R$";
case CAD: return "$";
case CNY: return "CN¥";
case CYP: return "£CY";
case EUR: return "€";
case FRF: return "F";
case GBP: return "£";
case HKD: return "$ HK";
case IEP: return "£IE";
case ILP: return "£IL";
case ITL: return "₤IT";
case JPY: return "¥";
case MTP: return "£MT";
case NZD: return "$ NZ";
case RHD: return "$RH";
case SGD: return "$ SG";
case USD: return "$ US";
case WST: return "WS$";
default: return code.name();
}
}
public String getNarrowCurrencySymbol(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case ALK: return "";
case AOA: return "Kz";
case ARS: return "$";
case AUD: return "$";
case BAM: return "KM";
case BBD: return "$";
case BDT: return "৳";
case BEF: return "FB";
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 CYP: return "£CY";
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 FRF: return "F";
case GBP: 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 IEP: return "£IE";
case ILP: return "£IL";
case ILS: return "₪";
case INR: return "₹";
case ISK: return "kr";
case ITL: return "₤IT";
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 MTP: return "£MT";
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 RHD: return "$RH";
case RON: return "L";
case RUB: return "₽";
case RUR: return "р.";
case RWF: return "FR";
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 WST: return "WS$";
case XCD: return "$";
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 andorrane";
case AED: return "dirham des Émirats arabes unis";
case AFA: return "afghani (1927–2002)";
case AFN: return "afghani afghan";
case ALK: return "lek albanais (1947–1961)";
case ALL: return "lek albanais";
case AMD: return "dram arménien";
case ANG: return "florin antillais";
case AOA: return "kwanza angolais";
case AOK: return "kwanza angolais (1977–1990)";
case AON: return "nouveau kwanza angolais (1990–2000)";
case AOR: return "kwanza angolais réajusté (1995–1999)";
case ARA: return "austral argentin";
case ARP: return "peso argentin (1983–1985)";
case ARS: return "peso argentin";
case ATS: return "schilling autrichien";
case AUD: return "dollar australien";
case AWG: return "florin arubais";
case AZM: return "manat azéri (1993–2006)";
case AZN: return "manat azéri";
case BAD: return "dinar bosniaque";
case BAM: return "mark convertible bosniaque";
case BBD: return "dollar barbadien";
case BDT: return "taka bangladeshi";
case BEC: return "franc belge (convertible)";
case BEF: return "franc belge";
case BEL: return "franc belge (financier)";
case BGL: return "lev bulgare (1962–1999)";
case BGN: return "lev bulgare";
case BHD: return "dinar bahreïni";
case BIF: return "franc burundais";
case BMD: return "dollar bermudien";
case BND: return "dollar brunéien";
case BOB: return "boliviano bolivien";
case BOP: return "peso bolivien";
case BOV: return "mvdol bolivien";
case BRB: return "nouveau cruzeiro brésilien (1967–1986)";
case BRC: return "cruzado brésilien (1986–1989)";
case BRE: return "cruzeiro brésilien (1990–1993)";
case BRL: return "réal brésilien";
case BRN: return "nouveau cruzado";
case BRR: return "cruzeiro";
case BSD: return "dollar bahaméen";
case BTN: return "ngultrum bouthanais";
case BUK: return "kyat birman";
case BWP: return "pula botswanais";
case BYB: return "nouveau rouble biélorusse (1994–1999)";
case BYN: return "rouble biélorusse";
case BYR: return "rouble biélorusse (2000–2016)";
case BZD: return "dollar bélizéen";
case CAD: return "dollar canadien";
case CDF: return "franc congolais";
case CHE: return "euro WIR";
case CHF: return "franc suisse";
case CHW: return "franc WIR";
case CLF: return "unité d’investissement chilienne";
case CLP: return "peso chilien";
case CNY: return "yuan renminbi chinois";
case COP: return "peso colombien";
case COU: return "unité de valeur réelle colombienne";
case CRC: return "colón costaricain";
case CSD: return "dinar serbo-monténégrin";
case CSK: return "couronne forte tchécoslovaque";
case CUC: return "peso cubain convertible";
case CUP: return "peso cubain";
case CVE: return "escudo capverdien";
case CYP: return "livre chypriote";
case CZK: return "couronne tchèque";
case DDM: return "mark est-allemand";
case DEM: return "mark allemand";
case DJF: return "franc djiboutien";
case DKK: return "couronne danoise";
case DOP: return "peso dominicain";
case DZD: return "dinar algérien";
case ECS: return "sucre équatorien";
case ECV: return "unité de valeur constante équatoriale (UVC)";
case EEK: return "couronne estonienne";
case EGP: return "livre égyptienne";
case ERN: return "nafka érythréen";
case ESA: return "peseta espagnole (compte A)";
case ESB: return "peseta espagnole (compte convertible)";
case ESP: return "peseta espagnole";
case ETB: return "birr éthiopien";
case EUR: return "euro";
case FIM: return "mark finlandais";
case FJD: return "dollar fidjien";
case FKP: return "livre des Îles Malouines";
case FRF: return "franc français";
case GBP: return "livre sterling";
case GEK: return "coupon de lari géorgien";
case GEL: return "lari géorgien";
case GHC: return "cédi";
case GHS: return "cédi ghanéen";
case GIP: return "livre de Gibraltar";
case GMD: return "dalasi gambien";
case GNF: return "franc guinéen";
case GNS: return "syli guinéen";
case GQE: return "ekwélé équatoguinéen";
case GRD: return "drachme grecque";
case GTQ: return "quetzal guatémaltèque";
case GWE: return "escudo de Guinée portugaise";
case GWP: return "peso bissau-guinéen";
case GYD: return "dollar du Guyana";
case HKD: return "dollar de Hong Kong";
case HNL: return "lempira hondurien";
case HRD: return "dinar croate";
case HRK: return "kuna croate";
case HTG: return "gourde haïtienne";
case HUF: return "forint hongrois";
case IDR: return "roupie indonésienne";
case IEP: return "livre irlandaise";
case ILP: return "livre israélienne";
case ILS: return "nouveau shekel israélien";
case INR: return "roupie indienne";
case IQD: return "dinar irakien";
case IRR: return "rial iranien";
case ISK: return "couronne islandaise";
case ITL: return "lire italienne";
case JMD: return "dollar jamaïcain";
case JOD: return "dinar jordanien";
case JPY: return "yen japonais";
case KES: return "shilling kényan";
case KGS: return "som kirghize";
case KHR: return "riel cambodgien";
case KMF: return "franc comorien";
case KPW: return "won nord-coréen";
case KRW: return "won sud-coréen";
case KWD: return "dinar koweïtien";
case KYD: return "dollar des îles Caïmans";
case KZT: return "tenge kazakh";
case LAK: return "kip loatien";
case LBP: return "livre libanaise";
case LKR: return "roupie srilankaise";
case LRD: return "dollar libérien";
case LSL: return "loti lesothan";
case LTL: return "litas lituanien";
case LTT: return "talonas lituanien";
case LUC: return "franc convertible luxembourgeois";
case LUF: return "franc luxembourgeois";
case LUL: return "franc financier luxembourgeois";
case LVL: return "lats letton";
case LVR: return "rouble letton";
case LYD: return "dinar libyen";
case MAD: return "dirham marocain";
case MAF: return "franc marocain";
case MDL: return "leu moldave";
case MGA: return "ariary malgache";
case MGF: return "franc malgache";
case MKD: return "denar macédonien";
case MLF: return "franc malien";
case MMK: return "kyat myanmarais";
case MNT: return "tugrik mongol";
case MOP: return "pataca macanaise";
case MRO: return "ouguiya mauritanien";
case MTL: return "lire maltaise";
case MTP: return "livre maltaise";
case MUR: return "roupie mauricienne";
case MVR: return "rufiyaa maldivien";
case MWK: return "kwacha malawite";
case MXN: return "peso mexicain";
case MXP: return "peso d’argent mexicain (1861–1992)";
case MXV: return "unité de conversion mexicaine (UDI)";
case MYR: return "ringgit malais";
case MZE: return "escudo mozambicain";
case MZM: return "métical";
case MZN: return "metical mozambicain";
case NAD: return "dollar namibien";
case NGN: return "naira nigérian";
case NIC: return "cordoba";
case NIO: return "córdoba oro nicaraguayen";
case NLG: return "florin néerlandais";
case NOK: return "couronne norvégienne";
case NPR: return "roupie népalaise";
case NZD: return "dollar néo-zélandais";
case OMR: return "rial omanais";
case PAB: return "balboa panaméen";
case PEI: return "inti péruvien";
case PEN: return "sol péruvien";
case PES: return "sol péruvien (1863–1985)";
case PGK: return "kina papouan-néo-guinéen";
case PHP: return "peso philippin";
case PKR: return "roupie pakistanaise";
case PLN: return "zloty polonais";
case PLZ: return "zloty (1950–1995)";
case PTE: return "escudo portugais";
case PYG: return "guaraní paraguayen";
case QAR: return "rial qatari";
case RHD: return "dollar rhodésien";
case ROL: return "ancien leu roumain";
case RON: return "leu roumain";
case RSD: return "dinar serbe";
case RUB: return "rouble russe";
case RUR: return "rouble russe (1991–1998)";
case RWF: return "franc rwandais";
case SAR: return "rial saoudien";
case SBD: return "dollar des îles Salomon";
case SCR: return "roupie des Seychelles";
case SDD: return "dinar soudanais";
case SDG: return "livre soudanaise";
case SDP: return "livre soudanaise (1956–2007)";
case SEK: return "couronne suédoise";
case SGD: return "dollar de Singapour";
case SHP: return "livre de Sainte-Hélène";
case SIT: return "tolar slovène";
case SKK: return "couronne slovaque";
case SLL: return "leone sierra-léonais";
case SOS: return "shilling somalien";
case SRD: return "dollar surinamais";
case SRG: return "florin surinamais";
case SSP: return "livre sud-soudanaise";
case STD: return "dobra santoméen";
case SUR: return "rouble soviétique";
case SVC: return "colón salvadorien";
case SYP: return "livre syrienne";
case SZL: return "lilangeni swazi";
case THB: return "baht thaïlandais";
case TJR: return "rouble tadjik";
case TJS: return "somoni tadjik";
case TMM: return "manat turkmène";
case TMT: return "nouveau manat turkmène";
case TND: return "dinar tunisien";
case TOP: return "pa’anga";
case TPE: return "escudo timorais";
case TRL: return "livre turque (1844–2005)";
case TRY: return "livre turque";
case TTD: return "dollar de Trinité-et-Tobago";
case TWD: return "nouveau dollar taïwanais";
case TZS: return "shilling tanzanien";
case UAH: return "hryvnia ukrainienne";
case UAK: return "karbovanetz";
case UGS: return "shilling ougandais (1966–1987)";
case UGX: return "shilling ougandais";
case USD: return "dollar des États-Unis";
case USN: return "dollar des Etats-Unis (jour suivant)";
case USS: return "dollar des Etats-Unis (jour même)";
case UYI: return "peso uruguayen (unités indexées)";
case UYP: return "peso uruguayen (1975–1993)";
case UYU: return "peso uruguayen";
case UZS: return "sum ouzbek";
case VEB: return "bolivar vénézuélien (1871–2008)";
case VEF: return "bolivar vénézuélien";
case VND: return "dông vietnamien";
case VUV: return "vatu vanuatuan";
case WST: return "tala samoan";
case XAF: return "franc CFA (BEAC)";
case XAG: return "argent";
case XAU: return "or";
case XBA: return "unité européenne composée";
case XBB: return "unité monétaire européenne";
case XBC: return "unité de compte européenne (XBC)";
case XBD: return "unité de compte européenne (XBD)";
case XCD: return "dollar des Caraïbes orientales";
case XDR: return "droit de tirage spécial";
case XEU: return "unité de compte européenne (ECU)";
case XFO: return "franc or";
case XFU: return "franc UIC";
case XOF: return "franc CFA (BCEAO)";
case XPD: return "palladium";
case XPF: return "franc CFP";
case XPT: return "platine";
case XRE: return "type de fonds RINET";
case XTS: return "(devise de test)";
case XXX: return "Devise inconnue";
case YDD: return "dinar du Yémen";
case YER: return "rial yéménite";
case YUD: return "nouveau dinar yougoslave";
case YUM: return "dinar yougoslave Noviy";
case YUN: return "dinar yougoslave convertible";
case ZAL: return "rand sud-africain (financier)";
case ZAR: return "rand sud-africain";
case ZMK: return "kwacha zambien (1968–2012)";
case ZMW: return "kwacha zambien";
case ZRN: return "nouveau zaïre zaïrien";
case ZRZ: return "zaïre zaïrois";
case ZWD: return "dollar zimbabwéen";
case ZWL: return "dollar zimbabwéen (2009)";
case ZWR: return "dollar zimbabwéen (2008)";
default: return code.name();
}
}
protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
switch (code) {
case ADP: {
switch (category) {
case ONE: return "peseta andorrane";
case OTHER:
default: return "pesetas andorranes";
}
}
case AED: {
switch (category) {
case ONE: return "dirham des Émirats arabes unis";
case OTHER:
default: return "dirhams des Émirats arabes unis";
}
}
case AFA: {
switch (category) {
case ONE: return "afghani (1927–2002)";
case OTHER:
default: return "afghanis (1927–2002)";
}
}
case AFN: {
switch (category) {
case ONE: return "afghani afghan";
case OTHER:
default: return "afghanis afghan";
}
}
case ALK: {
switch (category) {
case ONE: return "lek albanais (1947–1961)";
case OTHER:
default: return "leks albanais (1947–1961)";
}
}
case ALL: {
switch (category) {
case ONE: return "lek albanais";
case OTHER:
default: return "leks albanais";
}
}
case AMD: {
switch (category) {
case ONE: return "dram arménien";
case OTHER:
default: return "drams arméniens";
}
}
case ANG: {
switch (category) {
case ONE: return "florin antillais";
case OTHER:
default: return "florins antillais";
}
}
case AOA: {
switch (category) {
case ONE: return "kwanza angolais";
case OTHER:
default: return "kwanzas angolais";
}
}
case AOK: {
switch (category) {
case ONE: return "kwanza angolais (1977–1990)";
case OTHER:
default: return "kwanzas angolais (1977–1990)";
}
}
case AON: {
switch (category) {
case ONE: return "nouveau kwanza angolais (1990–2000)";
case OTHER:
default: return "nouveaux kwanzas angolais (1990–2000)";
}
}
case AOR: {
switch (category) {
case ONE: return "kwanza angolais réajusté (1995–1999)";
case OTHER:
default: return "kwanzas angolais réajustés (1995–1999)";
}
}
case ARA: {
switch (category) {
case ONE: return "austral argentin";
case OTHER:
default: return "australs argentins";
}
}
case ARP: {
switch (category) {
case ONE: return "peso argentin (1983–1985)";
case OTHER:
default: return "pesos argentins (1983–1985)";
}
}
case ARS: {
switch (category) {
case ONE: return "peso argentin";
case OTHER:
default: return "pesos argentins";
}
}
case ATS: {
switch (category) {
case ONE: return "schilling autrichien";
case OTHER:
default: return "schillings autrichiens";
}
}
case AUD: {
switch (category) {
case ONE: return "dollar australien";
case OTHER:
default: return "dollars australiens";
}
}
case AWG: {
switch (category) {
case ONE: return "florin arubais";
case OTHER:
default: return "florins arubais";
}
}
case AZM: {
switch (category) {
case ONE: return "manat azéri (1993–2006)";
case OTHER:
default: return "manats azéris (1993–2006)";
}
}
case AZN: {
switch (category) {
case ONE: return "manat azéri";
case OTHER:
default: return "manats azéris";
}
}
case BAD: {
switch (category) {
case ONE: return "dinar bosniaque";
case OTHER:
default: return "dinars bosniaques";
}
}
case BAM: {
switch (category) {
case ONE: return "mark convertible bosniaque";
case OTHER:
default: return "marks convertibles bosniaques";
}
}
case BBD: {
switch (category) {
case ONE: return "dollar barbadien";
case OTHER:
default: return "dollars barbadiens";
}
}
case BDT: {
switch (category) {
case ONE: return "taka bangladeshi";
case OTHER:
default: return "takas bangladeshis";
}
}
case BEC: {
switch (category) {
case ONE: return "franc belge (convertible)";
case OTHER:
default: return "francs belges (convertibles)";
}
}
case BEF: {
switch (category) {
case ONE: return "franc belge";
case OTHER:
default: return "francs belges";
}
}
case BEL: {
switch (category) {
case ONE: return "franc belge (financier)";
case OTHER:
default: return "francs belges (financiers)";
}
}
case BGL: {
switch (category) {
case ONE: return "lev bulgare (1962–1999)";
case OTHER:
default: return "levs bulgares (1962–1999)";
}
}
case BGN: {
switch (category) {
case ONE: return "lev bulgare";
case OTHER:
default: return "levs bulgares";
}
}
case BHD: {
switch (category) {
case ONE: return "dinar bahreïni";
case OTHER:
default: return "dinars bahreïnis";
}
}
case BIF: {
switch (category) {
case ONE: return "franc burundais";
case OTHER:
default: return "francs burundais";
}
}
case BMD: {
switch (category) {
case ONE: return "dollar bermudien";
case OTHER:
default: return "dollars bermudiens";
}
}
case BND: {
switch (category) {
case ONE: return "dollar brunéien";
case OTHER:
default: return "dollars brunéiens";
}
}
case BOB: {
switch (category) {
case ONE: return "boliviano bolivien";
case OTHER:
default: return "bolivianos boliviens";
}
}
case BOP: {
switch (category) {
case ONE: return "peso bolivien";
case OTHER:
default: return "pesos boliviens";
}
}
case BOV: {
switch (category) {
case ONE: return "mvdol bolivien";
case OTHER:
default: return "mvdols boliviens";
}
}
case BRB: {
switch (category) {
case ONE: return "nouveau cruzeiro brésilien (1967–1986)";
case OTHER:
default: return "nouveaux cruzeiros brésiliens (1967–1986)";
}
}
case BRC: {
switch (category) {
case ONE: return "cruzado brésilien (1986–1989)";
case OTHER:
default: return "cruzados brésiliens (1986–1989)";
}
}
case BRE: {
switch (category) {
case ONE: return "cruzeiro brésilien (1990–1993)";
case OTHER:
default: return "cruzeiros brésiliens (1990–1993)";
}
}
case BRL: {
switch (category) {
case ONE: return "réal brésilien";
case OTHER:
default: return "réals brésiliens";
}
}
case BRN: {
switch (category) {
case ONE: return "nouveau cruzado brésilien (1989–1990)";
case OTHER:
default: return "nouveaux cruzados brésiliens (1989–1990)";
}
}
case BRR: {
switch (category) {
case ONE: return "cruzeiro réal brésilien (1993–1994)";
case OTHER:
default: return "cruzeiros réals brésiliens (1993–1994)";
}
}
case BSD: {
switch (category) {
case ONE: return "dollar bahaméen";
case OTHER:
default: return "dollars bahaméens";
}
}
case BTN: {
switch (category) {
case ONE: return "ngultrum bouthanais";
case OTHER:
default: return "ngultrums bouthanais";
}
}
case BUK: {
switch (category) {
case ONE: return "kyat birman";
case OTHER:
default: return "kyats birmans";
}
}
case BWP: {
switch (category) {
case ONE: return "pula botswanais";
case OTHER:
default: return "pulas botswanais";
}
}
case BYB: {
switch (category) {
case ONE: return "nouveau rouble biélorusse (1994–1999)";
case OTHER:
default: return "nouveaux roubles biélorusses (1994–1999)";
}
}
case BYN: {
switch (category) {
case ONE: return "rouble biélorusse";
case OTHER:
default: return "roubles biélorusses";
}
}
case BYR: {
switch (category) {
case ONE: return "rouble biélorusse (2000–2016)";
case OTHER:
default: return "roubles biélorusses (2000–2016)";
}
}
case BZD: {
switch (category) {
case ONE: return "dollar bélizéen";
case OTHER:
default: return "dollars bélizéens";
}
}
case CAD: {
switch (category) {
case ONE: return "dollar canadien";
case OTHER:
default: return "dollars canadiens";
}
}
case CDF: {
switch (category) {
case ONE: return "franc congolais";
case OTHER:
default: return "francs congolais";
}
}
case CHE: {
switch (category) {
case ONE: return "euro WIR";
case OTHER:
default: return "euros WIR";
}
}
case CHF: {
switch (category) {
case ONE: return "franc suisse";
case OTHER:
default: return "francs suisses";
}
}
case CHW: {
switch (category) {
case ONE: return "franc WIR";
case OTHER:
default: return "francs WIR";
}
}
case CLF: {
switch (category) {
case ONE: return "unité d’investissement chilienne";
case OTHER:
default: return "unités d’investissement chiliennes";
}
}
case CLP: {
switch (category) {
case ONE: return "peso chilien";
case OTHER:
default: return "pesos chiliens";
}
}
case CNY: {
switch (category) {
case ONE: return "yuan renminbi chinois";
case OTHER:
default: return "yuans renminbi chinois";
}
}
case COP: {
switch (category) {
case ONE: return "peso colombien";
case OTHER:
default: return "pesos colombiens";
}
}
case COU: {
switch (category) {
case ONE: return "unité de valeur réelle colombienne";
case OTHER:
default: return "unités de valeur réelle colombiennes";
}
}
case CRC: {
switch (category) {
case ONE: return "colón costaricain";
case OTHER:
default: return "colóns costaricains";
}
}
case CSD: {
switch (category) {
case ONE: return "dinar serbo-monténégrin";
case OTHER:
default: return "dinars serbo-monténégrins";
}
}
case CSK: {
switch (category) {
case ONE: return "couronne forte tchécoslovaque";
case OTHER:
default: return "couronnes fortes tchécoslovaques";
}
}
case CUC: {
switch (category) {
case ONE: return "peso cubain convertible";
case OTHER:
default: return "pesos cubains convertibles";
}
}
case CUP: {
switch (category) {
case ONE: return "peso cubain";
case OTHER:
default: return "pesos cubains";
}
}
case CVE: {
switch (category) {
case ONE: return "escudo capverdien";
case OTHER:
default: return "escudos capverdiens";
}
}
case CYP: {
switch (category) {
case ONE: return "livre chypriote";
case OTHER:
default: return "livres chypriotes";
}
}
case CZK: {
switch (category) {
case ONE: return "couronne tchèque";
case OTHER:
default: return "couronnes tchèques";
}
}
case DDM: {
switch (category) {
case ONE: return "mark est-allemand";
case OTHER:
default: return "marks est-allemands";
}
}
case DEM: {
switch (category) {
case ONE: return "mark allemand";
case OTHER:
default: return "marks allemands";
}
}
case DJF: {
switch (category) {
case ONE: return "franc djiboutien";
case OTHER:
default: return "francs djiboutiens";
}
}
case DKK: {
switch (category) {
case ONE: return "couronne danoise";
case OTHER:
default: return "couronnes danoises";
}
}
case DOP: {
switch (category) {
case ONE: return "peso dominicain";
case OTHER:
default: return "pesos dominicains";
}
}
case DZD: {
switch (category) {
case ONE: return "dinar algérien";
case OTHER:
default: return "dinars algériens";
}
}
case ECS: {
switch (category) {
case ONE: return "sucre équatorien";
case OTHER:
default: return "sucres équatoriens";
}
}
case ECV: {
switch (category) {
case ONE: return "unité de valeur constante équatorienne (UVC)";
case OTHER:
default: return "unités de valeur constante équatoriennes (UVC)";
}
}
case EEK: {
switch (category) {
case ONE: return "couronne estonienne";
case OTHER:
default: return "couronnes estoniennes";
}
}
case EGP: {
switch (category) {
case ONE: return "livre égyptienne";
case OTHER:
default: return "livres égyptiennes";
}
}
case ERN: {
switch (category) {
case ONE: return "nafka érythréen";
case OTHER:
default: return "nafkas érythréens";
}
}
case ESA: {
switch (category) {
case ONE: return "peseta espagnole (compte A)";
case OTHER:
default: return "pesetas espagnoles (compte A)";
}
}
case ESB: {
switch (category) {
case ONE: return "peseta espagnole (compte convertible)";
case OTHER:
default: return "pesetas espagnoles (compte convertible)";
}
}
case ESP: {
switch (category) {
case ONE: return "peseta espagnole";
case OTHER:
default: return "pesetas espagnoles";
}
}
case ETB: {
switch (category) {
case ONE: return "birr éthiopien";
case OTHER:
default: return "birrs éthiopiens";
}
}
case EUR: {
switch (category) {
case ONE: return "euro";
case OTHER:
default: return "euros";
}
}
case FIM: {
switch (category) {
case ONE: return "mark finlandais";
case OTHER:
default: return "marks finlandais";
}
}
case FJD: {
switch (category) {
case ONE: return "dollar fidjien";
case OTHER:
default: return "dollars fidjiens";
}
}
case FKP: {
switch (category) {
case ONE: return "livre des Îles Malouines";
case OTHER:
default: return "livres des Îles Malouines";
}
}
case FRF: {
switch (category) {
case ONE: return "franc français";
case OTHER:
default: return "francs français";
}
}
case GBP: {
switch (category) {
case ONE: return "livre sterling";
case OTHER:
default: return "livres sterling";
}
}
case GEK: {
switch (category) {
case ONE: return "coupon de lari géorgien";
case OTHER:
default: return "coupons de lari géorgiens";
}
}
case GEL: {
switch (category) {
case ONE: return "lari géorgien";
case OTHER:
default: return "lari géorgiens";
}
}
case GHC: {
switch (category) {
case ONE: return "cédi ghanéen (1967–2007)";
case OTHER:
default: return "cédis ghanéens (1967–2007)";
}
}
case GHS: {
switch (category) {
case ONE: return "cédi ghanéen";
case OTHER:
default: return "cédis ghanéens";
}
}
case GIP: {
switch (category) {
case ONE: return "livre de Gibraltar";
case OTHER:
default: return "livres de Gibraltar";
}
}
case GMD: {
switch (category) {
case ONE: return "dalasi gambien";
case OTHER:
default: return "dalasis gambiens";
}
}
case GNF: {
switch (category) {
case ONE: return "franc guinéen";
case OTHER:
default: return "francs guinéens";
}
}
case GNS: {
switch (category) {
case ONE: return "syli guinéen";
case OTHER:
default: return "sylis guinéens";
}
}
case GQE: {
switch (category) {
case ONE: return "ekwélé équatoguinéen";
case OTHER:
default: return "ekwélés équatoguinéens";
}
}
case GRD: {
switch (category) {
case ONE: return "drachme grecque";
case OTHER:
default: return "drachmes grecques";
}
}
case GTQ: {
switch (category) {
case ONE: return "quetzal guatémaltèque";
case OTHER:
default: return "quetzals guatémaltèques";
}
}
case GWE: {
switch (category) {
case ONE: return "escudo de Guinée portugaise";
case OTHER:
default: return "escudos de Guinée portugaise";
}
}
case GWP: {
switch (category) {
case ONE: return "peso bissau-guinéen";
case OTHER:
default: return "pesos bissau-guinéens";
}
}
case GYD: {
switch (category) {
case ONE: return "dollar du Guyana";
case OTHER:
default: return "dollars du Guyana";
}
}
case HKD: {
switch (category) {
case ONE: return "dollar de Hong Kong";
case OTHER:
default: return "dollars de Hong Kong";
}
}
case HNL: {
switch (category) {
case ONE: return "lempira hondurien";
case OTHER:
default: return "lempiras honduriens";
}
}
case HRD: {
switch (category) {
case ONE: return "dinar croate";
case OTHER:
default: return "dinars croates";
}
}
case HRK: {
switch (category) {
case ONE: return "kuna croate";
case OTHER:
default: return "kunas croates";
}
}
case HTG: {
switch (category) {
case ONE: return "gourde haïtienne";
case OTHER:
default: return "gourdes haïtiennes";
}
}
case HUF: {
switch (category) {
case ONE: return "forint hongrois";
case OTHER:
default: return "forints hongrois";
}
}
case IDR: {
switch (category) {
case ONE: return "roupie indonésienne";
case OTHER:
default: return "roupies indonésiennes";
}
}
case IEP: {
switch (category) {
case ONE: return "livre irlandaise";
case OTHER:
default: return "livres irlandaises";
}
}
case ILP: {
switch (category) {
case ONE: return "livre israélienne";
case OTHER:
default: return "livres israéliennes";
}
}
case ILS: {
switch (category) {
case ONE: return "nouveau shekel israélien";
case OTHER:
default: return "nouveaux shekels israéliens";
}
}
case INR: {
switch (category) {
case ONE: return "roupie indienne";
case OTHER:
default: return "roupies indiennes";
}
}
case IQD: {
switch (category) {
case ONE: return "dinar irakien";
case OTHER:
default: return "dinars irakiens";
}
}
case IRR: {
switch (category) {
case ONE: return "rial iranien";
case OTHER:
default: return "rials iraniens";
}
}
case ISK: {
switch (category) {
case ONE: return "couronne islandaise";
case OTHER:
default: return "couronnes islandaises";
}
}
case ITL: {
switch (category) {
case ONE: return "lire italienne";
case OTHER:
default: return "lires italiennes";
}
}
case JMD: {
switch (category) {
case ONE: return "dollar jamaïcain";
case OTHER:
default: return "dollars jamaïcains";
}
}
case JOD: {
switch (category) {
case ONE: return "dinar jordanien";
case OTHER:
default: return "dinars jordaniens";
}
}
case JPY: {
switch (category) {
case ONE: return "yen japonais";
case OTHER:
default: return "yens japonais";
}
}
case KES: {
switch (category) {
case ONE: return "shilling kényan";
case OTHER:
default: return "shillings kényans";
}
}
case KGS: {
switch (category) {
case ONE: return "som kirghize";
case OTHER:
default: return "soms kirghizes";
}
}
case KHR: {
switch (category) {
case ONE: return "riel cambodgien";
case OTHER:
default: return "riels cambodgiens";
}
}
case KMF: {
switch (category) {
case ONE: return "franc comorien";
case OTHER:
default: return "francs comoriens";
}
}
case KPW: {
switch (category) {
case ONE: return "won nord-coréen";
case OTHER:
default: return "wons nord-coréens";
}
}
case KRW: {
switch (category) {
case ONE: return "won sud-coréen";
case OTHER:
default: return "wons sud-coréens";
}
}
case KWD: {
switch (category) {
case ONE: return "dinar koweïtien";
case OTHER:
default: return "dinar koweïtiens";
}
}
case KYD: {
switch (category) {
case ONE: return "dollar des îles Caïmans";
case OTHER:
default: return "dollars des îles Caïmans";
}
}
case KZT: {
switch (category) {
case ONE: return "tenge kazakh";
case OTHER:
default: return "tenges kazakhs";
}
}
case LAK: {
switch (category) {
case ONE: return "kip loatien";
case OTHER:
default: return "kips loatiens";
}
}
case LBP: {
switch (category) {
case ONE: return "livre libanaise";
case OTHER:
default: return "livres libanaises";
}
}
case LKR: {
switch (category) {
case ONE: return "roupie srilankaise";
case OTHER:
default: return "roupies srilankaises";
}
}
case LRD: {
switch (category) {
case ONE: return "dollar libérien";
case OTHER:
default: return "dollars libériens";
}
}
case LSL: {
switch (category) {
case ONE: return "loti lesothan";
case OTHER:
default: return "maloti lesothans";
}
}
case LTL: {
switch (category) {
case ONE: return "litas lituanien";
case OTHER:
default: return "litas lituaniens";
}
}
case LTT: {
switch (category) {
case ONE: return "talonas lituanien";
case OTHER:
default: return "talonas lituaniens";
}
}
case LUC: {
switch (category) {
case ONE: return "franc convertible luxembourgeois";
case OTHER:
default: return "francs convertibles luxembourgeois";
}
}
case LUF: {
switch (category) {
case ONE: return "franc luxembourgeois";
case OTHER:
default: return "francs luxembourgeois";
}
}
case LUL: {
switch (category) {
case ONE: return "franc financier luxembourgeois";
case OTHER:
default: return "francs financiers luxembourgeois";
}
}
case LVL: {
switch (category) {
case ONE: return "lats letton";
case OTHER:
default: return "lats lettons";
}
}
case LVR: {
switch (category) {
case ONE: return "rouble letton";
case OTHER:
default: return "roubles lettons";
}
}
case LYD: {
switch (category) {
case ONE: return "dinar libyen";
case OTHER:
default: return "dinars libyens";
}
}
case MAD: {
switch (category) {
case ONE: return "dirham marocain";
case OTHER:
default: return "dirhams marocains";
}
}
case MAF: {
switch (category) {
case ONE: return "franc marocain";
case OTHER:
default: return "francs marocains";
}
}
case MDL: {
switch (category) {
case ONE: return "leu moldave";
case OTHER:
default: return "leus moldaves";
}
}
case MGA: {
switch (category) {
case ONE: return "ariary malgache";
case OTHER:
default: return "ariarys malgaches";
}
}
case MGF: {
switch (category) {
case ONE: return "franc malgache";
case OTHER:
default: return "francs malgaches";
}
}
case MKD: {
switch (category) {
case ONE: return "denar macédonien";
case OTHER:
default: return "denars macédoniens";
}
}
case MLF: {
switch (category) {
case ONE: return "franc malien";
case OTHER:
default: return "francs maliens";
}
}
case MMK: {
switch (category) {
case ONE: return "kyat myanmarais";
case OTHER:
default: return "kyats myanmarais";
}
}
case MNT: {
switch (category) {
case ONE: return "tugrik mongol";
case OTHER:
default: return "tugriks mongols";
}
}
case MOP: {
switch (category) {
case ONE: return "pataca macanaise";
case OTHER:
default: return "patacas macanaises";
}
}
case MRO: {
switch (category) {
case ONE: return "ouguiya mauritanien";
case OTHER:
default: return "ouguiyas mauritaniens";
}
}
case MTL: {
switch (category) {
case ONE: return "lire maltaise";
case OTHER:
default: return "lires maltaises";
}
}
case MTP: {
switch (category) {
case ONE: return "livre maltaise";
case OTHER:
default: return "livres maltaises";
}
}
case MUR: {
switch (category) {
case ONE: return "roupie mauricienne";
case OTHER:
default: return "roupies mauriciennes";
}
}
case MVR: {
switch (category) {
case ONE: return "rufiyaa maldivienne";
case OTHER:
default: return "rufiyaas maldiviennes";
}
}
case MWK: {
switch (category) {
case ONE: return "kwacha malawite";
case OTHER:
default: return "kwachas malawites";
}
}
case MXN: {
switch (category) {
case ONE: return "peso mexicain";
case OTHER:
default: return "pesos mexicains";
}
}
case MXP: {
switch (category) {
case ONE: return "peso d’argent mexicain (1861–1992)";
case OTHER:
default: return "pesos d’argent mexicains (1861–1992)";
}
}
case MXV: {
switch (category) {
case ONE: return "unité de conversion mexicaine (UDI)";
case OTHER:
default: return "unités de conversion mexicaines (UDI)";
}
}
case MYR: {
switch (category) {
case ONE: return "ringgit malais";
case OTHER:
default: return "ringgits malais";
}
}
case MZE: {
switch (category) {
case ONE: return "escudo mozambicain";
case OTHER:
default: return "escudos mozambicains";
}
}
case MZM: {
switch (category) {
case ONE: return "metical mozambicain (1980–2006)";
case OTHER:
default: return "meticais mozambicains (1980–2006)";
}
}
case MZN: {
switch (category) {
case ONE: return "metical mozambicain";
case OTHER:
default: return "meticais mozambicains";
}
}
case NAD: {
switch (category) {
case ONE: return "dollar namibien";
case OTHER:
default: return "dollars namibiens";
}
}
case NGN: {
switch (category) {
case ONE: return "naira nigérian";
case OTHER:
default: return "nairas nigérians";
}
}
case NIC: {
switch (category) {
case ONE: return "córdoba nicaraguayen (1912–1988)";
case OTHER:
default: return "córdobas nicaraguayens (1912–1988)";
}
}
case NIO: {
switch (category) {
case ONE: return "córdoba oro nicaraguayen";
case OTHER:
default: return "córdobas oro nicaraguayens";
}
}
case NLG: {
switch (category) {
case ONE: return "florin néerlandais";
case OTHER:
default: return "florins néerlandais";
}
}
case NOK: {
switch (category) {
case ONE: return "couronne norvégienne";
case OTHER:
default: return "couronnes norvégiennes";
}
}
case NPR: {
switch (category) {
case ONE: return "roupie népalaise";
case OTHER:
default: return "roupies népalaises";
}
}
case NZD: {
switch (category) {
case ONE: return "dollar néo-zélandais";
case OTHER:
default: return "dollars néo-zélandais";
}
}
case OMR: {
switch (category) {
case ONE: return "rial omanais";
case OTHER:
default: return "rials omanis";
}
}
case PAB: {
switch (category) {
case ONE: return "balboa panaméen";
case OTHER:
default: return "balboas panaméens";
}
}
case PEI: {
switch (category) {
case ONE: return "inti péruvien";
case OTHER:
default: return "intis péruviens";
}
}
case PEN: {
switch (category) {
case ONE: return "sol péruvien";
case OTHER:
default: return "sols péruviens";
}
}
case PES: {
switch (category) {
case ONE: return "sol péruvien (1863–1985)";
case OTHER:
default: return "sols péruviens (1863–1985)";
}
}
case PGK: {
switch (category) {
case ONE: return "kina papouan-néo-guinéen";
case OTHER:
default: return "kinas papouan-néo-guinéens";
}
}
case PHP: {
switch (category) {
case ONE: return "peso philippin";
case OTHER:
default: return "pesos philippins";
}
}
case PKR: {
switch (category) {
case ONE: return "roupie pakistanaise";
case OTHER:
default: return "roupies pakistanaises";
}
}
case PLN: {
switch (category) {
case ONE: return "zloty polonais";
case OTHER:
default: return "zlotys polonais";
}
}
case PLZ: {
switch (category) {
case ONE: return "zloty polonais (1950–1995)";
case OTHER:
default: return "zlotys polonais (1950–1995)";
}
}
case PTE: {
switch (category) {
case ONE: return "escudo portugais";
case OTHER:
default: return "escudos portugais";
}
}
case PYG: {
switch (category) {
case ONE: return "guaraní paraguayen";
case OTHER:
default: return "guaranís paraguayens";
}
}
case QAR: {
switch (category) {
case ONE: return "rial qatari";
case OTHER:
default: return "rials qataris";
}
}
case RHD: {
switch (category) {
case ONE: return "dollar rhodésien";
case OTHER:
default: return "dollars rhodésiens";
}
}
case ROL: {
switch (category) {
case ONE: return "leu roumain (1952–2005)";
case OTHER:
default: return "lei roumains (1952–2005)";
}
}
case RON: {
switch (category) {
case ONE: return "leu roumain";
case OTHER:
default: return "lei roumains";
}
}
case RSD: {
switch (category) {
case ONE: return "dinar serbe";
case OTHER:
default: return "dinars serbes";
}
}
case RUB: {
switch (category) {
case ONE: return "rouble russe";
case OTHER:
default: return "roubles russes";
}
}
case RUR: {
switch (category) {
case ONE: return "rouble russe (1991–1998)";
case OTHER:
default: return "roubles russes (1991–1998)";
}
}
case RWF: {
switch (category) {
case ONE: return "franc rwandais";
case OTHER:
default: return "francs rwandais";
}
}
case SAR: {
switch (category) {
case ONE: return "rial saoudien";
case OTHER:
default: return "rials saoudiens";
}
}
case SBD: {
switch (category) {
case ONE: return "dollar des îles Salomon";
case OTHER:
default: return "dollars des îles Salomon";
}
}
case SCR: {
switch (category) {
case ONE: return "roupie des Seychelles";
case OTHER:
default: return "roupies des Seychelles";
}
}
case SDD: {
switch (category) {
case ONE: return "dinar soudanais (1992–2007)";
case OTHER:
default: return "dinars soudanais (1992–2007)";
}
}
case SDG: {
switch (category) {
case ONE: return "livre soudanaise";
case OTHER:
default: return "livres soudanaises";
}
}
case SDP: {
switch (category) {
case ONE: return "livre soudanaise (1956–2007)";
case OTHER:
default: return "livres soudanaises (1956–2007)";
}
}
case SEK: {
switch (category) {
case ONE: return "couronne suédoise";
case OTHER:
default: return "couronnes suédoises";
}
}
case SGD: {
switch (category) {
case ONE: return "dollar de Singapour";
case OTHER:
default: return "dollars de Singapour";
}
}
case SHP: {
switch (category) {
case ONE: return "livre de Sainte-Hélène";
case OTHER:
default: return "livres de Sainte-Hélène";
}
}
case SIT: {
switch (category) {
case ONE: return "tolar slovène";
case OTHER:
default: return "tolars slovènes";
}
}
case SKK: {
switch (category) {
case ONE: return "couronne slovaque";
case OTHER:
default: return "couronnes slovaques";
}
}
case SLL: {
switch (category) {
case ONE: return "leone sierra-léonais";
case OTHER:
default: return "leones sierra-léonais";
}
}
case SOS: {
switch (category) {
case ONE: return "shilling somalien";
case OTHER:
default: return "shillings somaliens";
}
}
case SRD: {
switch (category) {
case ONE: return "dollar surinamais";
case OTHER:
default: return "dollars surinamais";
}
}
case SRG: {
switch (category) {
case ONE: return "florin surinamais";
case OTHER:
default: return "florins surinamais";
}
}
case SSP: {
switch (category) {
case ONE: return "livre sud-soudanaise";
case OTHER:
default: return "livres sud-soudanaises";
}
}
case STD: {
switch (category) {
case ONE: return "dobra santoméen";
case OTHER:
default: return "dobras santoméens";
}
}
case SUR: {
switch (category) {
case ONE: return "rouble soviétique";
case OTHER:
default: return "roubles soviétiques";
}
}
case SVC: {
switch (category) {
case ONE: return "colón salvadorien";
case OTHER:
default: return "colóns salvadoriens";
}
}
case SYP: {
switch (category) {
case ONE: return "livre syrienne";
case OTHER:
default: return "livres syriennes";
}
}
case SZL: {
switch (category) {
case ONE: return "lilangeni swazi";
case OTHER:
default: return "lilangenis swazis";
}
}
case THB: {
switch (category) {
case ONE: return "baht thaïlandais";
case OTHER:
default: return "bahts thaïlandais";
}
}
case TJR: {
switch (category) {
case ONE: return "rouble tadjik";
case OTHER:
default: return "roubles tadjiks";
}
}
case TJS: {
switch (category) {
case ONE: return "somoni tadjik";
case OTHER:
default: return "somonis tadjiks";
}
}
case TMM: {
switch (category) {
case ONE: return "manat turkmène";
case OTHER:
default: return "manats turkmènes";
}
}
case TMT: {
switch (category) {
case ONE: return "nouveau manat turkmène";
case OTHER:
default: return "nouveaux manats turkmènes";
}
}
case TND: {
switch (category) {
case ONE: return "dinar tunisien";
case OTHER:
default: return "dinars tunisiens";
}
}
case TOP: {
switch (category) {
case ONE: return "pa’anga";
case OTHER:
default: return "pa’angas";
}
}
case TPE: {
switch (category) {
case ONE: return "escudo timorais";
case OTHER:
default: return "escudos timorais";
}
}
case TRL: {
switch (category) {
case ONE: return "livre turque (1844–2005)";
case OTHER:
default: return "livres turques (1844–2005)";
}
}
case TRY: {
switch (category) {
case ONE: return "livre turque";
case OTHER:
default: return "livres turques";
}
}
case TTD: {
switch (category) {
case ONE: return "dollar de Trinité-et-Tobago";
case OTHER:
default: return "dollars de Trinité-et-Tobago";
}
}
case TWD: {
switch (category) {
case ONE: return "nouveau dollar taïwanais";
case OTHER:
default: return "nouveaux dollars taïwanais";
}
}
case TZS: {
switch (category) {
case ONE: return "shilling tanzanien";
case OTHER:
default: return "shillings tanzaniens";
}
}
case UAH: {
switch (category) {
case ONE: return "hryvnia ukrainienne";
case OTHER:
default: return "hryvnias ukrainiennes";
}
}
case UAK: {
switch (category) {
case ONE: return "karbovanets ukrainien (1992–1996)";
case OTHER:
default: return "karbovanets ukrainiens (1992–1996)";
}
}
case UGS: {
switch (category) {
case ONE: return "shilling ougandais (1966–1987)";
case OTHER:
default: return "shillings ougandais (1966–1987)";
}
}
case UGX: {
switch (category) {
case ONE: return "shilling ougandais";
case OTHER:
default: return "shillings ougandais";
}
}
case USD: {
switch (category) {
case ONE: return "dollar des États-Unis";
case OTHER:
default: return "dollars des États-Unis";
}
}
case USN: {
switch (category) {
case ONE: return "dollar des États-Unis (jour suivant)";
case OTHER:
default: return "dollars des États-Unis (jour suivant)";
}
}
case USS: {
switch (category) {
case ONE: return "dollar des États-Unis (jour même)";
case OTHER:
default: return "dollars des États-Unis (jour même)";
}
}
case UYI: {
switch (category) {
case ONE: return "peso uruguayen (unités indexées)";
case OTHER:
default: return "pesos uruguayen (unités indexées)";
}
}
case UYP: {
switch (category) {
case ONE: return "peso uruguayen (1975–1993)";
case OTHER:
default: return "pesos uruguayens (1975–1993)";
}
}
case UYU: {
switch (category) {
case ONE: return "peso uruguayen";
case OTHER:
default: return "pesos uruguayens";
}
}
case UZS: {
switch (category) {
case ONE: return "sum ouzbek";
case OTHER:
default: return "sums ouzbeks";
}
}
case VEB: {
switch (category) {
case ONE: return "bolivar vénézuélien (1871–2008)";
case OTHER:
default: return "bolivar vénézuélien (1871–2008)";
}
}
case VEF: {
switch (category) {
case ONE: return "bolivar vénézuélien";
case OTHER:
default: return "bolivars vénézuéliens";
}
}
case VND: {
switch (category) {
case ONE: return "dông vietnamien";
case OTHER:
default: return "dôngs vietnamiens";
}
}
case VUV: {
switch (category) {
case ONE: return "vatu vanuatuan";
case OTHER:
default: return "vatus vanuatuans";
}
}
case WST: {
switch (category) {
case ONE: return "tala samoan";
case OTHER:
default: return "talas samoans";
}
}
case XAF: {
switch (category) {
case ONE: return "franc CFA (BEAC)";
case OTHER:
default: return "francs CFA (BEAC)";
}
}
case XAG: {
switch (category) {
case ONE: return "once troy d’argent";
case OTHER:
default: return "onces troy d’argent";
}
}
case XAU: {
switch (category) {
case ONE: return "once troy d’or";
case OTHER:
default: return "onces troy d’or";
}
}
case XBA: {
switch (category) {
case ONE: return "unité composée européenne (EURCO)";
case OTHER:
default: return "unités composées européennes (EURCO)";
}
}
case XBB: {
switch (category) {
case ONE: return "unité monétaire européenne (UME–6)";
case OTHER:
default: return "unités monétaires européennes (UME–6)";
}
}
case XBC: {
switch (category) {
case ONE: return "unité de compte 9 européenne (UEC–9)";
case OTHER:
default: return "unités de compte 9 européennes (UEC–9)";
}
}
case XBD: {
switch (category) {
case ONE: return "unité de compte 17 européenne (UEC–17)";
case OTHER:
default: return "unités de compte 17 européennes (UEC–17)";
}
}
case XCD: {
switch (category) {
case ONE: return "dollar des Caraïbes orientales";
case OTHER:
default: return "dollars des Caraïbes orientales";
}
}
case XDR: {
switch (category) {
case ONE: return "droit de tirage spécial";
case OTHER:
default: return "droits de tirage spéciaux";
}
}
case XFO: {
switch (category) {
case ONE: return "franc or";
case OTHER:
default: return "francs or";
}
}
case XFU: {
switch (category) {
case ONE: return "franc UIC";
case OTHER:
default: return "francs UIC";
}
}
case XOF: {
switch (category) {
case ONE: return "franc CFA (BCEAO)";
case OTHER:
default: return "francs CFA (BCEAO)";
}
}
case XPD: {
switch (category) {
case ONE: return "once troy de palladium";
case OTHER:
default: return "onces troy de palladium";
}
}
case XPF: {
switch (category) {
case ONE: return "franc CFP";
case OTHER:
default: return "francs CFP";
}
}
case XPT: {
switch (category) {
case ONE: return "once troy de platine";
case OTHER:
default: return "onces troy de platine";
}
}
case XRE: {
switch (category) {
case ONE: return "unité de fonds RINET";
case OTHER:
default: return "unités de fonds RINET";
}
}
case XTS: {
switch (category) {
case ONE: return "(devise de test)";
case OTHER:
default: return "(devises de test)";
}
}
case XXX: {
switch (category) {
case ONE: return "(devise inconnue)";
case OTHER:
default: return "(devise inconnue)";
}
}
case YDD: {
switch (category) {
case ONE: return "dinar nord-yéménite";
case OTHER:
default: return "dinars nord-yéménites";
}
}
case YER: {
switch (category) {
case ONE: return "rial yéménite";
case OTHER:
default: return "rials yéménites";
}
}
case YUD: {
switch (category) {
case ONE: return "dinar fort yougoslave (1966–1989)";
case OTHER:
default: return "dinars forts yougoslaves (1966–1989)";
}
}
case YUM: {
switch (category) {
case ONE: return "nouveau dinar yougoslave (1994–2003)";
case OTHER:
default: return "nouveaux dinars yougoslaves (1994–2003)";
}
}
case YUN: {
switch (category) {
case ONE: return "dinar convertible yougoslave (1990–1992)";
case OTHER:
default: return "dinars convertibles yougoslaves (1990–1992)";
}
}
case ZAL: {
switch (category) {
case ONE: return "rand sud-africain (financier)";
case OTHER:
default: return "rands sud-africains (financiers)";
}
}
case ZAR: {
switch (category) {
case ONE: return "rand sud-africain";
case OTHER:
default: return "rands sud-africains";
}
}
case ZMK: {
switch (category) {
case ONE: return "kwacha zambien (1968–2012)";
case OTHER:
default: return "kwachas zambiens (1968–2012)";
}
}
case ZMW: {
switch (category) {
case ONE: return "kwacha zambien";
case OTHER:
default: return "kwachas zambiens";
}
}
case ZRN: {
switch (category) {
case ONE: return "nouveau zaïre zaïrien";
case OTHER:
default: return "nouveaux zaïres zaïriens";
}
}
case ZRZ: {
switch (category) {
case ONE: return "zaïre zaïrois";
case OTHER:
default: return "zaïres zaïrois";
}
}
case ZWD: {
switch (category) {
case ONE: return "dollar zimbabwéen";
case OTHER:
default: return "dollars zimbabwéens";
}
}
case ZWL: {
switch (category) {
case ONE: return "dollar zimbabwéen (2009)";
case OTHER:
default: return "dollars zimbabwéens (2009)";
}
}
case ZWR: {
switch (category) {
case ONE: return "dollar zimbabwéen (2008)";
case OTHER:
default: return "dollars zimbabwéens (2008)";
}
}
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 = " ";
}
}
}