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_fo 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_fo 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 tús'.'", "-0 tús'.'"),
/* 10K */ patterns("00 tús'.'", "-00 tús'.'"),
/* 100K */ patterns("000 tús'.'", "-000 tús'.'"),
/* 1M */ patterns("0 mió'.'", "-0 mió'.'"),
/* 10M */ patterns("00 mió'.'", "-00 mió'.'"),
/* 100M */ patterns("000 mió'.'", "-000 mió'.'"),
/* 1B */ patterns("0 mia'.'", "-0 mia'.'"),
/* 10B */ patterns("00 mia'.'", "-00 mia'.'"),
/* 100B */ patterns("000 mia'.'", "-000 mia'.'"),
/* 1T */ patterns("0 bió'.'", "-0 bió'.'"),
/* 10T */ patterns("00 bió'.'", "-00 bió'.'"),
/* 100T */ patterns("000 bió'.'", "-000 bió'.'")}
;
protected static final NumberPattern[][] DECIMAL_SHORT_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("0 tús'.'", "-0 tús'.'"),
/* 10K */ patterns("00 tús'.'", "-00 tús'.'"),
/* 100K */ patterns("000 tús'.'", "-000 tús'.'"),
/* 1M */ patterns("0 mió'.'", "-0 mió'.'"),
/* 10M */ patterns("00 mió'.'", "-00 mió'.'"),
/* 100M */ patterns("000 mió'.'", "-000 mió'.'"),
/* 1B */ patterns("0 mia'.'", "-0 mia'.'"),
/* 10B */ patterns("00 mia'.'", "-00 mia'.'"),
/* 100B */ patterns("000 mia'.'", "-000 mia'.'"),
/* 1T */ patterns("0 bió'.'", "-0 bió'.'"),
/* 10T */ patterns("00 bió'.'", "-00 bió'.'"),
/* 100T */ patterns("000 bió'.'", "-000 bió'.'")}
;
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 túsund", "-0 túsund"),
/* 10K */ patterns("00 túsund", "-00 túsund"),
/* 100K */ patterns("000 túsund", "-000 túsund"),
/* 1M */ patterns("0 millión", "-0 millión"),
/* 10M */ patterns("00 milliónir", "-00 milliónir"),
/* 100M */ patterns("000 milliónir", "-000 milliónir"),
/* 1B */ patterns("0 milliard", "-0 milliard"),
/* 10B */ patterns("00 milliardir", "-00 milliardir"),
/* 100B */ patterns("000 milliardir", "-000 milliardir"),
/* 1T */ patterns("0 billión", "-0 billión"),
/* 10T */ patterns("00 billiónir", "-00 billiónir"),
/* 100T */ patterns("000 billiónir", "-000 billiónir")}
;
protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
/* 1 */ patterns("#,##0.###", "-#,##0.###"),
/* 10 */ patterns("#,##0.###", "-#,##0.###"),
/* 100 */ patterns("#,##0.###", "-#,##0.###"),
/* 1K */ patterns("0 túsund", "-0 túsund"),
/* 10K */ patterns("00 túsund", "-00 túsund"),
/* 100K */ patterns("000 túsund", "-000 túsund"),
/* 1M */ patterns("0 milliónir", "-0 milliónir"),
/* 10M */ patterns("00 milliónir", "-00 milliónir"),
/* 100M */ patterns("000 milliónir", "-000 milliónir"),
/* 1B */ patterns("0 milliardir", "-0 milliardir"),
/* 10B */ patterns("00 milliardir", "-00 milliardir"),
/* 100B */ patterns("000 milliardir", "-000 milliardir"),
/* 1T */ patterns("0 billiónir", "-0 billiónir"),
/* 10T */ patterns("00 billiónir", "-00 billiónir"),
/* 100T */ patterns("000 billiónir", "-000 billiónir")}
;
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 tús'.' ¤", "-0 tús'.' ¤"),
/* 10K */ patterns("00 tús'.' ¤", "-00 tús'.' ¤"),
/* 100K */ patterns("000 tús'.' ¤", "-000 tús'.' ¤"),
/* 1M */ patterns("0 mió'.' ¤", "-0 mió'.' ¤"),
/* 10M */ patterns("00 mió'.' ¤", "-00 mió'.' ¤"),
/* 100M */ patterns("000 mió'.' ¤", "-000 mió'.' ¤"),
/* 1B */ patterns("0 mia'.' ¤", "-0 mia'.' ¤"),
/* 10B */ patterns("00 mia'.' ¤", "-00 mia'.' ¤"),
/* 100B */ patterns("000 mia'.' ¤", "-000 mia'.' ¤"),
/* 1T */ patterns("0 bió'.' ¤", "-0 bió'.' ¤"),
/* 10T */ patterns("00 bió'.' ¤", "-00 bió'.' ¤"),
/* 100T */ patterns("000 bió'.' ¤", "-000 bió'.' ¤")}
;
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 tús'.' ¤", "-0 tús'.' ¤"),
/* 10K */ patterns("00 tús'.' ¤", "-00 tús'.' ¤"),
/* 100K */ patterns("000 tús'.' ¤", "-000 tús'.' ¤"),
/* 1M */ patterns("0 mió'.' ¤", "-0 mió'.' ¤"),
/* 10M */ patterns("00 mió'.' ¤", "-00 mió'.' ¤"),
/* 100M */ patterns("000 mió'.' ¤", "-000 mió'.' ¤"),
/* 1B */ patterns("0 mia'.' ¤", "-0 mia'.' ¤"),
/* 10B */ patterns("00 mia'.' ¤", "-00 mia'.' ¤"),
/* 100B */ patterns("000 mia'.' ¤", "-000 mia'.' ¤"),
/* 1T */ patterns("0 bió'.' ¤", "-0 bió'.' ¤"),
/* 10T */ patterns("00 bió'.' ¤", "-00 bió'.' ¤"),
/* 100T */ patterns("000 bió'.' ¤", "-000 bió'.' ¤")}
;
protected static final Map> UNITS_LONG_ONE = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G-kraft"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metur um sekundi²"));
put(Unit.ARC_MINUTE, unitPattern("{0} bogaminuttur"));
put(Unit.ARC_SECOND, unitPattern("{0} bogasekund"));
put(Unit.DEGREE, unitPattern("{0} stig"));
put(Unit.RADIAN, unitPattern("{0} radian"));
put(Unit.REVOLUTION, unitPattern("{0} snúningur"));
put(Unit.ACRE, unitPattern("{0} ekra"));
put(Unit.HECTARE, unitPattern("{0} hektari"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} fersentimetur"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ferfót"));
put(Unit.SQUARE_INCH, unitPattern("{0} fertummi"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} ferkilometur"));
put(Unit.SQUARE_METER, unitPattern("{0} fermetur"));
put(Unit.SQUARE_MILE, unitPattern("{0} fermíl"));
put(Unit.SQUARE_YARD, unitPattern("{0} feryard"));
put(Unit.KARAT, unitPattern("{0} karat"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligramm fyri hvønn desilitur"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimol fyri hvønn litur"));
put(Unit.PART_PER_MILLION, unitPattern("{0} partur fyri hvørja millión"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litur fyri hvørjar 100 kilometrar"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litur fyri hvønn kilometrar"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} míl fyri hvønn gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl fyri hvønn bretska gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} gigabit"));
put(Unit.GIGABYTE, unitPattern("{0} gigabýt"));
put(Unit.KILOBIT, unitPattern("{0} kilobit"));
put(Unit.KILOBYTE, unitPattern("{0} kilobýt"));
put(Unit.MEGABIT, unitPattern("{0} megabit"));
put(Unit.MEGABYTE, unitPattern("{0} megabýt"));
put(Unit.TERABIT, unitPattern("{0} terabit"));
put(Unit.TERABYTE, unitPattern("{0} terabýt"));
put(Unit.CENTURY, unitPattern("{0} øld"));
put(Unit.DAY, unitPattern("{0} dagur"));
put(Unit.HOUR, unitPattern("{0} tími"));
put(Unit.MICROSECOND, unitPattern("{0} mikrosekund"));
put(Unit.MILLISECOND, unitPattern("{0} millisekund"));
put(Unit.MINUTE, unitPattern("{0} minuttur"));
put(Unit.MONTH, unitPattern("{0} mánaður"));
put(Unit.NANOSECOND, unitPattern("{0} nanosekund"));
put(Unit.SECOND, unitPattern("{0} sekund"));
put(Unit.WEEK, unitPattern("{0} vika"));
put(Unit.YEAR, unitPattern("{0} ár"));
put(Unit.AMPERE, unitPattern("{0} ampera"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliampera"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} kaloria"));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloria"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} kilokaloria"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kilowatttími"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} stjørnufrøðilig eind"));
put(Unit.CENTIMETER, unitPattern("{0} sentimetur"));
put(Unit.DECIMETER, unitPattern("{0} desimetur"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} fótur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tummi"));
put(Unit.KILOMETER, unitPattern("{0} kilometur"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0} metur"));
put(Unit.MICROMETER, unitPattern("{0} mikrometur"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandinaviskt míl"));
put(Unit.MILLIMETER, unitPattern("{0} millimetur"));
put(Unit.NANOMETER, unitPattern("{0} nanometur"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sjómíl"));
put(Unit.PARSEC, unitPattern("{0} parsec"));
put(Unit.PICOMETER, unitPattern("{0} picometur"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yard"));
put(Unit.LUX, unitPattern("{0} luks"));
put(Unit.CARAT, unitPattern("{0} karat"));
put(Unit.GRAM, unitPattern("{0} gramm"));
put(Unit.KILOGRAM, unitPattern("{0} kilogramm"));
put(Unit.METRIC_TON, unitPattern("{0} tons"));
put(Unit.MICROGRAM, unitPattern("{0} mikrogramm"));
put(Unit.MILLIGRAM, unitPattern("{0} milligramm"));
put(Unit.OUNCE, unitPattern("{0} unsa"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsa"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt tons"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} hestakraft"));
put(Unit.KILOWATT, unitPattern("{0} kilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} megawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} hektopascal"));
put(Unit.INCH_HG, unitPattern("{0} tummi av kviksilvur"));
put(Unit.MILLIBAR, unitPattern("{0} millibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimetur av kviksilvur"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilometur um tíman"));
put(Unit.KNOT, unitPattern("{0} sjómíl um tíman"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metur um sekundi"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
put(Unit.CELSIUS, unitPattern("{0} stig Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} stig Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} ekrafótur"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} sentilitur"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} kubikksentimetur"));
put(Unit.CUBIC_FOOT, unitPattern("{0} kubikkfótur"));
put(Unit.CUBIC_INCH, unitPattern("{0} kubikktummi"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} kubikkkilometur"));
put(Unit.CUBIC_METER, unitPattern("{0} kubikkmetur"));
put(Unit.CUBIC_MILE, unitPattern("{0} kubikkmíl"));
put(Unit.CUBIC_YARD, unitPattern("{0} kubikkyard"));
put(Unit.CUP, unitPattern("{0} koppur"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppur"));
put(Unit.DECILITER, unitPattern("{0} desilitur"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsa"));
put(Unit.GALLON, unitPattern("{0} gallon"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} bretskur gallon"));
put(Unit.HECTOLITER, unitPattern("{0} hektolitur"));
put(Unit.LITER, unitPattern("{0} litur"));
put(Unit.MEGALITER, unitPattern("{0} megalitur"));
put(Unit.MILLILITER, unitPattern("{0} millilitur"));
put(Unit.PINT, unitPattern("{0} pint"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pint"));
put(Unit.QUART, unitPattern("{0} quart"));
put(Unit.TABLESPOON, unitPattern("{0} súpiskeið"));
put(Unit.TEASPOON, unitPattern("{0} teskeið"));
}};
protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
put(Unit.G_FORCE, unitPattern("{0} G-kreftir"));
put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metrar um sekundi²"));
put(Unit.ARC_MINUTE, unitPattern("{0} bogaminuttir"));
put(Unit.ARC_SECOND, unitPattern("{0} bogasekundir"));
put(Unit.DEGREE, unitPattern("{0} stig"));
put(Unit.RADIAN, unitPattern("{0} radianir"));
put(Unit.REVOLUTION, unitPattern("{0} snúningar"));
put(Unit.ACRE, unitPattern("{0} ekrur"));
put(Unit.HECTARE, unitPattern("{0} hektarar"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} fersentimetrar"));
put(Unit.SQUARE_FOOT, unitPattern("{0} ferføtur"));
put(Unit.SQUARE_INCH, unitPattern("{0} fertummar"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} ferkilometrar"));
put(Unit.SQUARE_METER, unitPattern("{0} fermetrar"));
put(Unit.SQUARE_MILE, unitPattern("{0} fermíl"));
put(Unit.SQUARE_YARD, unitPattern("{0} feryards"));
put(Unit.KARAT, unitPattern("{0} karat"));
put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} milligramm fyri hvønn desilitur"));
put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} millimol fyri hvønn litur"));
put(Unit.PART_PER_MILLION, unitPattern("{0} partar fyri hvørja millión"));
put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litrar fyri hvørjar 100 kilometrar"));
put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litrar fyri hvønn kilometrar"));
put(Unit.MILE_PER_GALLON, unitPattern("{0} míl fyri hvønn gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl fyri hvønn bretska gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} gigabit"));
put(Unit.GIGABYTE, unitPattern("{0} gigabýt"));
put(Unit.KILOBIT, unitPattern("{0} kilobit"));
put(Unit.KILOBYTE, unitPattern("{0} kilobýt"));
put(Unit.MEGABIT, unitPattern("{0} megabit"));
put(Unit.MEGABYTE, unitPattern("{0} megabýt"));
put(Unit.TERABIT, unitPattern("{0} terabit"));
put(Unit.TERABYTE, unitPattern("{0} terabýt"));
put(Unit.CENTURY, unitPattern("{0} øldir"));
put(Unit.DAY, unitPattern("{0} dagar"));
put(Unit.HOUR, unitPattern("{0} tímar"));
put(Unit.MICROSECOND, unitPattern("{0} mikrosekundir"));
put(Unit.MILLISECOND, unitPattern("{0} millisekundir"));
put(Unit.MINUTE, unitPattern("{0} minuttir"));
put(Unit.MONTH, unitPattern("{0} mánaðir"));
put(Unit.NANOSECOND, unitPattern("{0} nanosekundir"));
put(Unit.SECOND, unitPattern("{0} sekundir"));
put(Unit.WEEK, unitPattern("{0} vikur"));
put(Unit.YEAR, unitPattern("{0} ár"));
put(Unit.AMPERE, unitPattern("{0} amperur"));
put(Unit.MILLIAMPERE, unitPattern("{0} milliamperur"));
put(Unit.OHM, unitPattern("{0} ohm"));
put(Unit.VOLT, unitPattern("{0} volt"));
put(Unit.CALORIE, unitPattern("{0} kaloriur"));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloriur"));
put(Unit.JOULE, unitPattern("{0} joule"));
put(Unit.KILOCALORIE, unitPattern("{0} kilokaloriur"));
put(Unit.KILOJOULE, unitPattern("{0} kilojoule"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kilowatttímar"));
put(Unit.GIGAHERTZ, unitPattern("{0} gigahertz"));
put(Unit.HERTZ, unitPattern("{0} hertz"));
put(Unit.KILOHERTZ, unitPattern("{0} kilohertz"));
put(Unit.MEGAHERTZ, unitPattern("{0} megahertz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} stjørnufrøðiligar eindir"));
put(Unit.CENTIMETER, unitPattern("{0} sentimetrar"));
put(Unit.DECIMETER, unitPattern("{0} desimetrar"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} føtur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tummar"));
put(Unit.KILOMETER, unitPattern("{0} kilometrar"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0} metrar"));
put(Unit.MICROMETER, unitPattern("{0} mikrometrar"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandinaviskt míl"));
put(Unit.MILLIMETER, unitPattern("{0} millimetrar"));
put(Unit.NANOMETER, unitPattern("{0} nanometrar"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sjómíl"));
put(Unit.PARSEC, unitPattern("{0} parsecs"));
put(Unit.PICOMETER, unitPattern("{0} picometrar"));
put(Unit.POINT, unitPattern("{0} pt"));
put(Unit.YARD, unitPattern("{0} yards"));
put(Unit.LUX, unitPattern("{0} luks"));
put(Unit.CARAT, unitPattern("{0} karat"));
put(Unit.GRAM, unitPattern("{0} gramm"));
put(Unit.KILOGRAM, unitPattern("{0} kilogramm"));
put(Unit.METRIC_TON, unitPattern("{0} tons"));
put(Unit.MICROGRAM, unitPattern("{0} mikrogramm"));
put(Unit.MILLIGRAM, unitPattern("{0} milligramm"));
put(Unit.OUNCE, unitPattern("{0} unsur"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsur"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt tons"));
put(Unit.GIGAWATT, unitPattern("{0} gigawatt"));
put(Unit.HORSEPOWER, unitPattern("{0} hestakreftur"));
put(Unit.KILOWATT, unitPattern("{0} kilowatt"));
put(Unit.MEGAWATT, unitPattern("{0} megawatt"));
put(Unit.MILLIWATT, unitPattern("{0} milliwatt"));
put(Unit.WATT, unitPattern("{0} watt"));
put(Unit.HECTOPASCAL, unitPattern("{0} hektopascal"));
put(Unit.INCH_HG, unitPattern("{0} tummar av kviksilvur"));
put(Unit.MILLIBAR, unitPattern("{0} millibar"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} millimetrar av kviksilvur"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilometrar um tíman"));
put(Unit.KNOT, unitPattern("{0} sjómíl um tíman"));
put(Unit.METER_PER_SECOND, unitPattern("{0} metrar um sekundi"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
put(Unit.CELSIUS, unitPattern("{0} stig Celsius"));
put(Unit.FAHRENHEIT, unitPattern("{0} stig Fahrenheit"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} Kelvin"));
put(Unit.ACRE_FOOT, unitPattern("{0} ekraføtur"));
put(Unit.BUSHEL, unitPattern("{0} bu"));
put(Unit.CENTILITER, unitPattern("{0} sentilitrar"));
put(Unit.CUBIC_CENTIMETER, unitPattern("{0} kubikksentimetrar"));
put(Unit.CUBIC_FOOT, unitPattern("{0} kubikkføtur"));
put(Unit.CUBIC_INCH, unitPattern("{0} kubikktummar"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} kubikkkilometrar"));
put(Unit.CUBIC_METER, unitPattern("{0} kubikkmetrar"));
put(Unit.CUBIC_MILE, unitPattern("{0} kubikkmíl"));
put(Unit.CUBIC_YARD, unitPattern("{0} kubikkyards"));
put(Unit.CUP, unitPattern("{0} koppar"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppar"));
put(Unit.DECILITER, unitPattern("{0} desilitrar"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsur"));
put(Unit.GALLON, unitPattern("{0} gallons"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} bretskar gallons"));
put(Unit.HECTOLITER, unitPattern("{0} hektolitrar"));
put(Unit.LITER, unitPattern("{0} litrar"));
put(Unit.MEGALITER, unitPattern("{0} megalitrar"));
put(Unit.MILLILITER, unitPattern("{0} millilitrar"));
put(Unit.PINT, unitPattern("{0} pints"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pints"));
put(Unit.QUART, unitPattern("{0} quarts"));
put(Unit.TABLESPOON, unitPattern("{0} súpiskeiðir"));
put(Unit.TEASPOON, unitPattern("{0} teskeiðir"));
}};
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} snú."));
put(Unit.ACRE, unitPattern("{0} ekra"));
put(Unit.HECTARE, unitPattern("{0}ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} fót²"));
put(Unit.SQUARE_INCH, unitPattern("{0} tum.²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0}km²"));
put(Unit.SQUARE_METER, unitPattern("{0}m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} míl²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yard²"));
put(Unit.KARAT, unitPattern("{0} karat"));
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} partur/mill."));
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} míl/gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl/UK gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} KB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} ø."));
put(Unit.DAY, unitPattern("{0}d."));
put(Unit.HOUR, unitPattern("{0}t."));
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}v."));
put(Unit.YEAR, unitPattern("{0}ár"));
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} kal."));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloria"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} au"));
put(Unit.CENTIMETER, unitPattern("{0}cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} fótur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tum."));
put(Unit.KILOMETER, unitPattern("{0}km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0}m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} sk. míl"));
put(Unit.MILLIMETER, unitPattern("{0}mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sm"));
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} CD"));
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} unsa"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsa"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt t"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hk"));
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} mmHg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0}km/t"));
put(Unit.KNOT, unitPattern("{0} smíl/t"));
put(Unit.METER_PER_SECOND, unitPattern("{0}m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
put(Unit.CELSIUS, unitPattern("{0}°"));
put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ekrafótur"));
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} fótur³"));
put(Unit.CUBIC_INCH, unitPattern("{0} tum.³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0}km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} míl³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yard³"));
put(Unit.CUP, unitPattern("{0} koppur"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppur"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsa"));
put(Unit.GALLON, unitPattern("{0} gallon"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} UK gallon"));
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} pint"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pint"));
put(Unit.QUART, unitPattern("{0} quart"));
put(Unit.TABLESPOON, unitPattern("{0} súpisk."));
put(Unit.TEASPOON, unitPattern("{0} tesk."));
}};
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} snú."));
put(Unit.ACRE, unitPattern("{0} ekrur"));
put(Unit.HECTARE, unitPattern("{0}ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} føtur²"));
put(Unit.SQUARE_INCH, unitPattern("{0} tum.²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0}km²"));
put(Unit.SQUARE_METER, unitPattern("{0}m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} míl²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yards²"));
put(Unit.KARAT, unitPattern("{0} karat"));
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} partar/mill."));
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} míl/gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl/UK gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} KB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} ø."));
put(Unit.DAY, unitPattern("{0}d."));
put(Unit.HOUR, unitPattern("{0}t."));
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}v."));
put(Unit.YEAR, unitPattern("{0}ár"));
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} kal."));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloriur"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} au"));
put(Unit.CENTIMETER, unitPattern("{0}cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} føtur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tum."));
put(Unit.KILOMETER, unitPattern("{0}km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0}m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} sk. míl"));
put(Unit.MILLIMETER, unitPattern("{0}mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sm"));
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} CD"));
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} unsur"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsur"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt t"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hk"));
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} mmHg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0}km/t"));
put(Unit.KNOT, unitPattern("{0} smíl/t"));
put(Unit.METER_PER_SECOND, unitPattern("{0}m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
put(Unit.CELSIUS, unitPattern("{0}°"));
put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
put(Unit.KELVIN, unitPattern("{0} K"));
put(Unit.ACRE_FOOT, unitPattern("{0} ekraføtur"));
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} føtur³"));
put(Unit.CUBIC_INCH, unitPattern("{0} tum.³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0}km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} míl³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yards³"));
put(Unit.CUP, unitPattern("{0} koppar"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppar"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsur"));
put(Unit.GALLON, unitPattern("{0} gallons"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} UK gallons"));
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} pints"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pints"));
put(Unit.QUART, unitPattern("{0} quarts"));
put(Unit.TABLESPOON, unitPattern("{0} súpisk."));
put(Unit.TEASPOON, unitPattern("{0} tesk."));
}};
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} bogamin."));
put(Unit.ARC_SECOND, unitPattern("{0} bogasek."));
put(Unit.DEGREE, unitPattern("{0} stig"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} snú."));
put(Unit.ACRE, unitPattern("{0} ekra"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} fót²"));
put(Unit.SQUARE_INCH, unitPattern("{0} tum.²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} míl²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yard²"));
put(Unit.KARAT, unitPattern("{0} karat"));
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} partur/mill."));
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} míl/gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl/UK gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} KB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} ø."));
put(Unit.DAY, unitPattern("{0} d."));
put(Unit.HOUR, unitPattern("{0} t."));
put(Unit.MICROSECOND, unitPattern("{0} μs."));
put(Unit.MILLISECOND, unitPattern("{0} ms."));
put(Unit.MINUTE, unitPattern("{0} min."));
put(Unit.MONTH, unitPattern("{0} mán."));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} sek."));
put(Unit.WEEK, unitPattern("{0} vi."));
put(Unit.YEAR, unitPattern("{0} ár"));
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} kal."));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloria"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} au"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} fótur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tum."));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} sk. míl"));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sm"));
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} CD"));
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} unsa"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsa"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt t"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hk"));
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} mb"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/t"));
put(Unit.KNOT, unitPattern("{0} smíl/t"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
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} ekrafótur"));
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} fótur³"));
put(Unit.CUBIC_INCH, unitPattern("{0} tum.³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} míl³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yard³"));
put(Unit.CUP, unitPattern("{0} koppur"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppur"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsa"));
put(Unit.GALLON, unitPattern("{0} gallon"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} UK gallon"));
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} pint"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pint"));
put(Unit.QUART, unitPattern("{0} quart"));
put(Unit.TABLESPOON, unitPattern("{0} súpisk."));
put(Unit.TEASPOON, unitPattern("{0} tesk."));
}};
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} bogamin."));
put(Unit.ARC_SECOND, unitPattern("{0} bogasek."));
put(Unit.DEGREE, unitPattern("{0} stig"));
put(Unit.RADIAN, unitPattern("{0} rad"));
put(Unit.REVOLUTION, unitPattern("{0} snú."));
put(Unit.ACRE, unitPattern("{0} ekrur"));
put(Unit.HECTARE, unitPattern("{0} ha"));
put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
put(Unit.SQUARE_FOOT, unitPattern("{0} føtur²"));
put(Unit.SQUARE_INCH, unitPattern("{0} tum.²"));
put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
put(Unit.SQUARE_METER, unitPattern("{0} m²"));
put(Unit.SQUARE_MILE, unitPattern("{0} míl²"));
put(Unit.SQUARE_YARD, unitPattern("{0} yards²"));
put(Unit.KARAT, unitPattern("{0} karat"));
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} partar/mill."));
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} míl/gallon"));
put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} míl/UK gallon"));
put(Unit.BIT, unitPattern("{0} bit"));
put(Unit.BYTE, unitPattern("{0} být"));
put(Unit.GIGABIT, unitPattern("{0} Gb"));
put(Unit.GIGABYTE, unitPattern("{0} GB"));
put(Unit.KILOBIT, unitPattern("{0} kb"));
put(Unit.KILOBYTE, unitPattern("{0} KB"));
put(Unit.MEGABIT, unitPattern("{0} Mb"));
put(Unit.MEGABYTE, unitPattern("{0} MB"));
put(Unit.TERABIT, unitPattern("{0} Tb"));
put(Unit.TERABYTE, unitPattern("{0} TB"));
put(Unit.CENTURY, unitPattern("{0} ø."));
put(Unit.DAY, unitPattern("{0} d."));
put(Unit.HOUR, unitPattern("{0} t."));
put(Unit.MICROSECOND, unitPattern("{0} μs."));
put(Unit.MILLISECOND, unitPattern("{0} ms."));
put(Unit.MINUTE, unitPattern("{0} min."));
put(Unit.MONTH, unitPattern("{0} mán."));
put(Unit.NANOSECOND, unitPattern("{0} ns"));
put(Unit.SECOND, unitPattern("{0} sek."));
put(Unit.WEEK, unitPattern("{0} vi."));
put(Unit.YEAR, unitPattern("{0} ár"));
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} kal."));
put(Unit.FOODCALORIE, unitPattern("{0} kostkaloriur"));
put(Unit.JOULE, unitPattern("{0} J"));
put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
put(Unit.KILOJOULE, unitPattern("{0} kJ"));
put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
put(Unit.HERTZ, unitPattern("{0} Hz"));
put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} au"));
put(Unit.CENTIMETER, unitPattern("{0} cm"));
put(Unit.DECIMETER, unitPattern("{0} dm"));
put(Unit.FATHOM, unitPattern("{0} fm"));
put(Unit.FOOT, unitPattern("{0} føtur"));
put(Unit.FURLONG, unitPattern("{0} fur"));
put(Unit.INCH, unitPattern("{0} tum."));
put(Unit.KILOMETER, unitPattern("{0} km"));
put(Unit.LIGHT_YEAR, unitPattern("{0} ljósár"));
put(Unit.METER, unitPattern("{0} m"));
put(Unit.MICROMETER, unitPattern("{0} µm"));
put(Unit.MILE, unitPattern("{0} míl"));
put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} sk. míl"));
put(Unit.MILLIMETER, unitPattern("{0} mm"));
put(Unit.NANOMETER, unitPattern("{0} nm"));
put(Unit.NAUTICAL_MILE, unitPattern("{0} sm"));
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} CD"));
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} unsur"));
put(Unit.OUNCE_TROY, unitPattern("{0} troy unsur"));
put(Unit.POUND, unitPattern("{0} pund"));
put(Unit.STONE, unitPattern("{0} st"));
put(Unit.TON, unitPattern("{0} stutt t"));
put(Unit.GIGAWATT, unitPattern("{0} GW"));
put(Unit.HORSEPOWER, unitPattern("{0} hk"));
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} mb"));
put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/t"));
put(Unit.KNOT, unitPattern("{0} smíl/t"));
put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
put(Unit.MILE_PER_HOUR, unitPattern("{0} míl/t"));
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} ekraføtur"));
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} føtur³"));
put(Unit.CUBIC_INCH, unitPattern("{0} tum.³"));
put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
put(Unit.CUBIC_METER, unitPattern("{0} m³"));
put(Unit.CUBIC_MILE, unitPattern("{0} míl³"));
put(Unit.CUBIC_YARD, unitPattern("{0} yards³"));
put(Unit.CUP, unitPattern("{0} koppar"));
put(Unit.CUP_METRIC, unitPattern("{0} metralag koppar"));
put(Unit.DECILITER, unitPattern("{0} dl"));
put(Unit.FLUID_OUNCE, unitPattern("{0} flótandi unsur"));
put(Unit.GALLON, unitPattern("{0} gallons"));
put(Unit.GALLON_IMPERIAL, unitPattern("{0} UK gallons"));
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} pints"));
put(Unit.PINT_METRIC, unitPattern("{0} metralag pints"));
put(Unit.QUART, unitPattern("{0} quarts"));
put(Unit.TABLESPOON, unitPattern("{0} súpisk."));
put(Unit.TEASPOON, unitPattern("{0} tesk."));
}};
public _NumberFormatter_fo() {
super(
CLDR.Locale.fo,
new _Params(),
// decimal standard
patterns("#,##0.###", "-#,##0.###"),
// percent standard
patterns("#,##0 %", "-#,##0 %"),
// currency standard
patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
// currency accounting
patterns("#,##0.00 ¤", "(#,##0.00 ¤)"),
// units standard
patterns("#,##0.#", "-#,##0.#")
);
}
protected int getDivisor_DECIMAL_SHORT(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return DECIMAL_SHORT_DIVISORS[index];
}
protected NumberPattern[] getPattern_DECIMAL_SHORT(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return DECIMAL_SHORT_ONE[index];
case OTHER:
default: return DECIMAL_SHORT_OTHER[index];
}
}
protected int getDivisor_DECIMAL_LONG(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return DECIMAL_LONG_DIVISORS[index];
}
protected NumberPattern[] getPattern_DECIMAL_LONG(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return DECIMAL_LONG_ONE[index];
case OTHER:
default: return DECIMAL_LONG_OTHER[index];
}
}
protected int getDivisor_CURRENCY_SHORT(int digits) {
int index = Math.min(14, Math.max(0, digits - 1));
return CURRENCY_SHORT_DIVISORS[index];
}
protected NumberPattern[] getPattern_CURRENCY_SHORT(int digits, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
int index = Math.min(14, Math.max(0, digits - 1));
switch (category) {
case ONE: return CURRENCY_SHORT_ONE[index];
case OTHER:
default: return CURRENCY_SHORT_OTHER[index];
}
}
protected List getPattern_UNITS_LONG(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_LONG_ONE.get(unit);
case OTHER: default: return UNITS_LONG_OTHER.get(unit);
}
}
protected List getPattern_UNITS_NARROW(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_NARROW_ONE.get(unit);
case OTHER: default: return UNITS_NARROW_OTHER.get(unit);
}
}
protected List getPattern_UNITS_SHORT(Unit unit, PluralCategory category) {
if (category == null) {
category = PluralCategory.OTHER;
}
switch (category) {
case ONE: return UNITS_SHORT_ONE.get(unit);
case OTHER: default: return UNITS_SHORT_OTHER.get(unit);
}
}
public String getCurrencySymbol(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case AUD: return "A$";
case BRL: return "R$";
case CAD: return "CA$";
case CNY: return "CN¥";
case DKK: return "kr";
case EUR: return "€";
case GBP: return "£";
case HKD: return "HK$";
case ILS: return "₪";
case INR: return "₹";
case JPY: return "JP¥";
case KRW: return "₩";
case MXN: return "MX$";
case NZD: return "NZ$";
case TWD: return "NT$";
case USD: return "US$";
case VND: return "₫";
case XAF: return "FCFA";
case XCD: return "EC$";
case XOF: return "CFA";
case XPF: return "CFPF";
default: return code.name();
}
}
public String getNarrowCurrencySymbol(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case AOA: return "Kz";
case ARS: return "$";
case AUD: return "$";
case BAM: return "KM";
case BBD: return "$";
case BDT: return "৳";
case BMD: return "$";
case BND: return "$";
case BOB: return "Bs";
case BRL: return "R$";
case BSD: return "$";
case BWP: return "P";
case BYN: return "р.";
case BZD: return "$";
case CAD: return "$";
case CLP: return "$";
case CNY: return "¥";
case COP: return "$";
case CRC: return "₡";
case CUC: return "$";
case CUP: return "$";
case CZK: return "Kč";
case DKK: return "kr";
case DOP: return "$";
case EGP: return "E£";
case ESP: return "₧";
case EUR: return "€";
case FJD: return "$";
case FKP: return "£";
case GBP: return "£";
case GEL: return "₾";
case GIP: return "£";
case GNF: return "FG";
case GTQ: return "Q";
case GYD: return "$";
case HKD: return "$";
case HNL: return "L";
case HRK: return "kn";
case HUF: return "Ft";
case IDR: return "Rp";
case ILS: return "₪";
case INR: return "₹";
case ISK: return "kr";
case JMD: return "$";
case JPY: return "¥";
case KHR: return "៛";
case KMF: return "CF";
case KPW: return "₩";
case KRW: return "₩";
case KYD: return "$";
case KZT: return "₸";
case LAK: return "₭";
case LBP: return "L£";
case LKR: return "Rs";
case LRD: return "$";
case LTL: return "Lt";
case LVL: return "Ls";
case MGA: return "Ar";
case MMK: return "K";
case MNT: return "₮";
case MUR: return "Rs";
case MXN: return "$";
case MYR: return "RM";
case NAD: return "$";
case NGN: return "₦";
case NIO: return "C$";
case NOK: return "kr";
case NPR: return "Rs";
case NZD: return "$";
case PHP: return "₱";
case PKR: return "Rs";
case PLN: return "zł";
case PYG: return "₲";
case RON: return "lei";
case RUB: return "₽";
case RUR: return "р.";
case RWF: return "RF";
case SBD: return "$";
case SEK: return "kr";
case SGD: return "$";
case SHP: return "£";
case SRD: return "$";
case SSP: return "£";
case STD: return "Db";
case SYP: return "£";
case THB: return "฿";
case TOP: return "T$";
case TRY: return "₺";
case TTD: return "$";
case TWD: return "$";
case UAH: return "₴";
case USD: return "$";
case UYU: return "$";
case VEF: return "Bs";
case VND: return "₫";
case XAF: return "FCFA";
case XCD: return "$";
case XOF: return "CFA";
case XPF: return "CFPF";
case ZAR: return "R";
case ZMW: return "ZK";
default: return code.name();
}
}
public String getCurrencyDisplayName(CLDR.Currency code) {
if (code == null) {
return "";
}
switch (code) {
case AED: return "Sameindu Emirríkini dirham";
case AFN: return "Afganistan afghani";
case ALL: return "Albania lek";
case AMD: return "Armenia dram";
case ANG: return "Niðurlonds Karibia gyllin";
case AOA: return "Angola kwanza";
case ARS: return "Argentina peso";
case AUD: return "Avstralskur dollari";
case AWG: return "Aruba florin";
case AZN: return "Aserbadjan manat";
case BAM: return "Bosnia-Hersegovina mark (kann vekslast)";
case BBD: return "Barbados dollari";
case BDT: return "Bangladesj taka";
case BGN: return "Bulgaria lev";
case BHD: return "Barein dinar";
case BIF: return "Burundi frankur";
case BMD: return "Bermuda dollari";
case BND: return "Brunei dollari";
case BOB: return "Bolivia boliviano";
case BRL: return "Brasilianskur real";
case BSD: return "Bahamaoyggjar dollari";
case BTN: return "Butan ngultrum";
case BWP: return "Botsvana pula";
case BYN: return "Hvítarussland ruble";
case BYR: return "Hvítarussland ruble (2000–2016)";
case BZD: return "Belis dollari";
case CAD: return "Kanada dollari";
case CDF: return "Kongo frankur";
case CHF: return "sveisiskur frankur";
case CLP: return "Kili peso";
case CNY: return "kinesiskur yuan";
case COP: return "Kolombia peso";
case CRC: return "Kosta Rika colón";
case CUC: return "Kuba peso (sum kann vekslast)";
case CUP: return "Kuba peso";
case CVE: return "Grønhøvdaoyggjar escudo";
case CZK: return "Kekkia koruna";
case DJF: return "Djibuti frankur";
case DKK: return "donsk króna";
case DOP: return "Dominika peso";
case DZD: return "Algeria dinar";
case EGP: return "Egyptaland pund";
case ERN: return "Eritrea nakfa";
case ETB: return "Etiopia birr";
case EUR: return "Evra";
case FJD: return "Fiji dollari";
case FKP: return "Falklandsoyggjar pund";
case GBP: return "bretsk pund";
case GEL: return "Georgia lari";
case GHS: return "Gana cedi";
case GIP: return "Gibraltar pund";
case GMD: return "Gambia dalasi";
case GNF: return "Guinea frankur";
case GTQ: return "Guatemala quetzal";
case GYD: return "Gujana dollari";
case HKD: return "Hong Kong dollari";
case HNL: return "Honduras lempira";
case HRK: return "Kroatia kuna";
case HTG: return "Haiti gourde";
case HUF: return "Ungarn forint";
case IDR: return "Indonesia rupiah";
case ILS: return "Ísrael new sheqel";
case INR: return "indiskir rupis";
case IQD: return "Irak dinar";
case IRR: return "iranskir rials";
case ISK: return "íslendsk króna";
case JMD: return "Jamaika dollari";
case JOD: return "Jordan dinar";
case JPY: return "japanskur yen";
case KES: return "kenjanskur skillingur";
case KGS: return "Kirgisia som";
case KHR: return "Kambodja riel";
case KMF: return "Komoroyggjar frankur";
case KPW: return "Norðurkorea won";
case KRW: return "Suðurkorea won";
case KWD: return "Kuvait dinar";
case KYD: return "Caymanoyggjar dollari";
case KZT: return "Kasakstan tenge";
case LAK: return "Laos kip";
case LBP: return "Libanon pund";
case LKR: return "Sri Lanka rupi";
case LRD: return "Liberia dollari";
case LYD: return "Libya dinar";
case MAD: return "Marokko dirham";
case MDL: return "Moldova leu";
case MGA: return "Madagaskar ariary";
case MKD: return "Makedónia denar";
case MMK: return "Myanmar (Burma) kyat";
case MNT: return "Mongolia tugrik";
case MOP: return "Makao pataca";
case MRO: return "Móritania ouguiya";
case MUR: return "Móritius rupi";
case MVR: return "Maldivoyggjar rufiyaa";
case MWK: return "Malavi kwacha";
case MXN: return "Meksiko peso";
case MYR: return "Malaisia ringgit";
case MZN: return "Mosambik metical";
case NAD: return "Namibia dollari";
case NGN: return "Nigeria naira";
case NIO: return "Nikaragua córdoba";
case NOK: return "norsk króna";
case NPR: return "Nepal rupi";
case NZD: return "Nýsæland dollari";
case OMR: return "Oman rial";
case PAB: return "Panama balboa";
case PEN: return "Peru sol";
case PGK: return "Papua Nýguinea kina";
case PHP: return "Filipsoyggjar peso";
case PKR: return "Pakistan rupi";
case PLN: return "Pólland zloty";
case PYG: return "Paraguai guarani";
case QAR: return "Katar rial";
case RON: return "Rumenia leu";
case RSD: return "Serbia dinar";
case RUB: return "Russland ruble";
case RWF: return "Ruanda frankur";
case SAR: return "Saudiarabia riyal";
case SBD: return "Salomonoyggjar dollari";
case SCR: return "Seyskelloyggjar rupi";
case SDG: return "Sudan pund";
case SEK: return "svensk króna";
case SGD: return "Singapor dollari";
case SHP: return "St. Helena pund";
case SLL: return "Sierra Leona leone";
case SOS: return "Somalia skillingur";
case SRD: return "Surinam dollari";
case SSP: return "Suðursudan pund";
case STD: return "Sao Tome & Prinsipi dobra";
case SYP: return "Sýria pund";
case SZL: return "Svasiland lilangeni";
case THB: return "Tailand baht";
case TJS: return "Tadsjikistan somoni";
case TMT: return "Turkmenistan manat";
case TND: return "Tunesia dinar";
case TOP: return "Tonga paʻanga";
case TRY: return "Turkaland liri";
case TTD: return "Trinidad & Tobago dollari";
case TWD: return "Taivan new dollari";
case TZS: return "Tansania skillingur";
case UAH: return "Ukraina hryvnia";
case UGX: return "Uganda skillingur";
case USD: return "US dollari";
case UYU: return "Uruguai peso";
case UZS: return "Usbekistan som";
case VEF: return "Venesuela bolívar";
case VND: return "Vjetnam dong";
case VUV: return "Vanuatu vatu";
case WST: return "Samoa tala";
case XAF: return "Miðafrika CFA frankur";
case XAG: return "unse sølv";
case XAU: return "unse guld";
case XCD: return "Eystur Karibia dollari";
case XOF: return "Vesturafrika CFA frankur";
case XPD: return "unse palladium";
case XPF: return "CFP frankur";
case XPT: return "unse platin";
case XXX: return "ókent gjaldoyra";
case YER: return "Jemen rial";
case ZAR: return "Suðurafrika rand";
case ZMW: return "Sambia kwacha";
default: return code.name();
}
}
protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
switch (code) {
case AED: {
switch (category) {
case ONE: return "Sameindu Emirríkini dirham";
case OTHER:
default: return "Sameindu Emirríkini dirham";
}
}
case AFN: {
switch (category) {
case ONE: return "Afganistan afghani";
case OTHER:
default: return "Afganistan afghani";
}
}
case ALL: {
switch (category) {
case ONE: return "Albania lek";
case OTHER:
default: return "Albania lek";
}
}
case AMD: {
switch (category) {
case ONE: return "Armenia dram";
case OTHER:
default: return "Armenia dram";
}
}
case ANG: {
switch (category) {
case ONE: return "Niðurlonds Karibia gyllin";
case OTHER:
default: return "Niðurlonds Karibia gyllin";
}
}
case AOA: {
switch (category) {
case ONE: return "Angola kwanza";
case OTHER:
default: return "Angola kwanza";
}
}
case ARS: {
switch (category) {
case ONE: return "Argentina peso";
case OTHER:
default: return "Argentina peso";
}
}
case AUD: {
switch (category) {
case ONE: return "Avstralskur dollari";
case OTHER:
default: return "Avstralskir dollarar";
}
}
case AWG: {
switch (category) {
case ONE: return "Aruba florin";
case OTHER:
default: return "Aruba florin";
}
}
case AZN: {
switch (category) {
case ONE: return "Aserbadjan manat";
case OTHER:
default: return "Aserbadjan manat";
}
}
case BAM: {
switch (category) {
case ONE: return "Bosnia-Hersegovina mark (kann vekslast)";
case OTHER:
default: return "Bosnia-Hersegovina mark (kann vekslast)";
}
}
case BBD: {
switch (category) {
case ONE: return "Barbados dollari";
case OTHER:
default: return "Barbados dollarar";
}
}
case BDT: {
switch (category) {
case ONE: return "Bangladesj taka";
case OTHER:
default: return "Bangladesj taka";
}
}
case BGN: {
switch (category) {
case ONE: return "Bulgaria lev";
case OTHER:
default: return "Bulgaria lev";
}
}
case BHD: {
switch (category) {
case ONE: return "Barein dinar";
case OTHER:
default: return "Barein dinar";
}
}
case BIF: {
switch (category) {
case ONE: return "Burundi frankur";
case OTHER:
default: return "Burundi frankar";
}
}
case BMD: {
switch (category) {
case ONE: return "Bermuda dollari";
case OTHER:
default: return "Bermuda dollarar";
}
}
case BND: {
switch (category) {
case ONE: return "Brunei dollari";
case OTHER:
default: return "Brunei dollarar";
}
}
case BOB: {
switch (category) {
case ONE: return "Bolivia boliviano";
case OTHER:
default: return "Bolivia boliviano";
}
}
case BRL: {
switch (category) {
case ONE: return "Brasilianskur real";
case OTHER:
default: return "Brasilianskir real";
}
}
case BSD: {
switch (category) {
case ONE: return "Bahamaoyggjar dollari";
case OTHER:
default: return "Bahamaoyggjar dollarar";
}
}
case BTN: {
switch (category) {
case ONE: return "Butan ngultrum";
case OTHER:
default: return "Butan ngultrum";
}
}
case BWP: {
switch (category) {
case ONE: return "Botsvana pula";
case OTHER:
default: return "Botsvana pula";
}
}
case BYN: {
switch (category) {
case ONE: return "Hvítarussland ruble";
case OTHER:
default: return "Hvítarussland ruble";
}
}
case BYR: {
switch (category) {
case ONE: return "Hvítarussland ruble (2000–2016)";
case OTHER:
default: return "Hvítarussland ruble (2000–2016)";
}
}
case BZD: {
switch (category) {
case ONE: return "Belis dollari";
case OTHER:
default: return "Belis dollarar";
}
}
case CAD: {
switch (category) {
case ONE: return "Kanada dollari";
case OTHER:
default: return "Kanada dollarar";
}
}
case CDF: {
switch (category) {
case ONE: return "Kongo frankur";
case OTHER:
default: return "Kongo frankar";
}
}
case CHF: {
switch (category) {
case ONE: return "sveisiskur frankur";
case OTHER:
default: return "sveisiskir frankar";
}
}
case CLP: {
switch (category) {
case ONE: return "Kili peso";
case OTHER:
default: return "Kili peso";
}
}
case CNY: {
switch (category) {
case ONE: return "kinesiskur yuan";
case OTHER:
default: return "kinesiskir yuan";
}
}
case COP: {
switch (category) {
case ONE: return "Kolombia peso";
case OTHER:
default: return "Kolombia peso";
}
}
case CRC: {
switch (category) {
case ONE: return "Kosta Rika colón";
case OTHER:
default: return "Kosta Rika colón";
}
}
case CUC: {
switch (category) {
case ONE: return "Kuba peso (sum kann vekslast)";
case OTHER:
default: return "Kuba peso (sum kann vekslast)";
}
}
case CUP: {
switch (category) {
case ONE: return "Kuba peso";
case OTHER:
default: return "Kuba peso";
}
}
case CVE: {
switch (category) {
case ONE: return "Grønhøvdaoyggjar escudo";
case OTHER:
default: return "Grønhøvdaoyggjar escudo";
}
}
case CZK: {
switch (category) {
case ONE: return "Kekkia koruna";
case OTHER:
default: return "Kekkia koruna";
}
}
case DJF: {
switch (category) {
case ONE: return "Djibuti frankur";
case OTHER:
default: return "Djibuti frankar";
}
}
case DKK: {
switch (category) {
case ONE: return "donsk króna";
case OTHER:
default: return "danskar krónur";
}
}
case DOP: {
switch (category) {
case ONE: return "Dominika peso";
case OTHER:
default: return "Dominika peso";
}
}
case DZD: {
switch (category) {
case ONE: return "Algeria dinar";
case OTHER:
default: return "Algeria dinar";
}
}
case EGP: {
switch (category) {
case ONE: return "Egyptaland pund";
case OTHER:
default: return "Egyptaland pund";
}
}
case ERN: {
switch (category) {
case ONE: return "Eritrea nakfa";
case OTHER:
default: return "Eritrea nakfa";
}
}
case ETB: {
switch (category) {
case ONE: return "Etiopia birr";
case OTHER:
default: return "Etiopia birr";
}
}
case EUR: {
switch (category) {
case ONE: return "evra";
case OTHER:
default: return "evrur";
}
}
case FJD: {
switch (category) {
case ONE: return "Fiji dollari";
case OTHER:
default: return "Fiji dollarar";
}
}
case FKP: {
switch (category) {
case ONE: return "Falklandsoyggjar pund";
case OTHER:
default: return "Falklandsoyggjar pund";
}
}
case GBP: {
switch (category) {
case ONE: return "bretsk pund";
case OTHER:
default: return "bretsk pund";
}
}
case GEL: {
switch (category) {
case ONE: return "Georgia lari";
case OTHER:
default: return "Georgia lari";
}
}
case GHS: {
switch (category) {
case ONE: return "Gana cedi";
case OTHER:
default: return "Gana cedi";
}
}
case GIP: {
switch (category) {
case ONE: return "Gibraltar pund";
case OTHER:
default: return "Gibraltar pund";
}
}
case GMD: {
switch (category) {
case ONE: return "Gambia dalasi";
case OTHER:
default: return "Gambia dalasi";
}
}
case GNF: {
switch (category) {
case ONE: return "Guinea frankur";
case OTHER:
default: return "Guinea frankar";
}
}
case GTQ: {
switch (category) {
case ONE: return "Guatemala quetzal";
case OTHER:
default: return "Guatemala quetzal";
}
}
case GYD: {
switch (category) {
case ONE: return "Gujana dollari";
case OTHER:
default: return "Gujana dollarar";
}
}
case HKD: {
switch (category) {
case ONE: return "Hong Kong dollari";
case OTHER:
default: return "Hong Kong dollarar";
}
}
case HNL: {
switch (category) {
case ONE: return "Honduras lempira";
case OTHER:
default: return "Honduras lempira";
}
}
case HRK: {
switch (category) {
case ONE: return "Kroatia kuna";
case OTHER:
default: return "Kroatia kuna";
}
}
case HTG: {
switch (category) {
case ONE: return "Haiti gourde";
case OTHER:
default: return "Haiti gourde";
}
}
case HUF: {
switch (category) {
case ONE: return "Ungarn forint";
case OTHER:
default: return "Ungarn forint";
}
}
case IDR: {
switch (category) {
case ONE: return "Indonesia rupiah";
case OTHER:
default: return "Indonesia rupiah";
}
}
case ILS: {
switch (category) {
case ONE: return "Ísrael new sheqel";
case OTHER:
default: return "Ísrael new sheqel";
}
}
case INR: {
switch (category) {
case ONE: return "indiskur rupi";
case OTHER:
default: return "indiskir rupis";
}
}
case IQD: {
switch (category) {
case ONE: return "Irak dinar";
case OTHER:
default: return "Irak dinar";
}
}
case IRR: {
switch (category) {
case ONE: return "iranskur rial";
case OTHER:
default: return "iranskir rials";
}
}
case ISK: {
switch (category) {
case ONE: return "íslendsk króna";
case OTHER:
default: return "íslendskar krónur";
}
}
case JMD: {
switch (category) {
case ONE: return "Jamaika dollari";
case OTHER:
default: return "Jamaika dollarar";
}
}
case JOD: {
switch (category) {
case ONE: return "Jordan dinar";
case OTHER:
default: return "Jordan dinar";
}
}
case JPY: {
switch (category) {
case ONE: return "japanskur yen";
case OTHER:
default: return "japanskir yen";
}
}
case KES: {
switch (category) {
case ONE: return "kenjanskur skillingur";
case OTHER:
default: return "kenjanskir skillingar";
}
}
case KGS: {
switch (category) {
case ONE: return "Kirgisia som";
case OTHER:
default: return "Kirgisia som";
}
}
case KHR: {
switch (category) {
case ONE: return "Kambodja riel";
case OTHER:
default: return "Kambodja riel";
}
}
case KMF: {
switch (category) {
case ONE: return "Komoroyggjar frankur";
case OTHER:
default: return "Komoroyggjar frankar";
}
}
case KPW: {
switch (category) {
case ONE: return "Norðurkorea won";
case OTHER:
default: return "Norðurkorea won";
}
}
case KRW: {
switch (category) {
case ONE: return "Suðurkorea won";
case OTHER:
default: return "Suðurkorea won";
}
}
case KWD: {
switch (category) {
case ONE: return "Kuvait dinar";
case OTHER:
default: return "Kuvait dinar";
}
}
case KYD: {
switch (category) {
case ONE: return "Caymanoyggjar dollari";
case OTHER:
default: return "Caymanoyggjar dollarar";
}
}
case KZT: {
switch (category) {
case ONE: return "Kasakstan tenge";
case OTHER:
default: return "Kasakstan tenge";
}
}
case LAK: {
switch (category) {
case ONE: return "Laos kip";
case OTHER:
default: return "Laos kip";
}
}
case LBP: {
switch (category) {
case ONE: return "Libanon pund";
case OTHER:
default: return "Libanon pund";
}
}
case LKR: {
switch (category) {
case ONE: return "Sri Lanka rupi";
case OTHER:
default: return "Sri Lanka rupis";
}
}
case LRD: {
switch (category) {
case ONE: return "Liberia dollari";
case OTHER:
default: return "Liberia dollarar";
}
}
case LYD: {
switch (category) {
case ONE: return "Libya dinar";
case OTHER:
default: return "Libya dinar";
}
}
case MAD: {
switch (category) {
case ONE: return "Marokko dirham";
case OTHER:
default: return "Marokko dirham";
}
}
case MDL: {
switch (category) {
case ONE: return "Moldova leu";
case OTHER:
default: return "Moldova leu";
}
}
case MGA: {
switch (category) {
case ONE: return "Madagaskar ariary";
case OTHER:
default: return "Madagaskar ariary";
}
}
case MKD: {
switch (category) {
case ONE: return "Makedónia denar";
case OTHER:
default: return "Makedónia denar";
}
}
case MMK: {
switch (category) {
case ONE: return "Myanmar (Burma) kyat";
case OTHER:
default: return "Myanmar (Burma) kyat";
}
}
case MNT: {
switch (category) {
case ONE: return "Mongolia tugrik";
case OTHER:
default: return "Mongolia tugrik";
}
}
case MOP: {
switch (category) {
case ONE: return "Makao pataca";
case OTHER:
default: return "Makao pataca";
}
}
case MRO: {
switch (category) {
case ONE: return "Móritania ouguiya";
case OTHER:
default: return "Móritania ouguiya";
}
}
case MUR: {
switch (category) {
case ONE: return "Móritius rupi";
case OTHER:
default: return "Móritius rupi";
}
}
case MVR: {
switch (category) {
case ONE: return "Maldivoyggjar rufiyaa";
case OTHER:
default: return "Maldivoyggjar rufiyaa";
}
}
case MWK: {
switch (category) {
case ONE: return "Malavi kwacha";
case OTHER:
default: return "Malavi kwacha";
}
}
case MXN: {
switch (category) {
case ONE: return "Meksiko peso";
case OTHER:
default: return "Meksiko peso";
}
}
case MYR: {
switch (category) {
case ONE: return "Malaisia ringgit";
case OTHER:
default: return "Malaisia ringgit";
}
}
case MZN: {
switch (category) {
case ONE: return "Mosambik metical";
case OTHER:
default: return "Mosambik metical";
}
}
case NAD: {
switch (category) {
case ONE: return "Namibia dollari";
case OTHER:
default: return "Namibia dollarar";
}
}
case NGN: {
switch (category) {
case ONE: return "Nigeria naira";
case OTHER:
default: return "Nigeria naira";
}
}
case NIO: {
switch (category) {
case ONE: return "Nikaragua córdoba";
case OTHER:
default: return "Nikaragua córdoba";
}
}
case NOK: {
switch (category) {
case ONE: return "norsk króna";
case OTHER:
default: return "norskar krónur";
}
}
case NPR: {
switch (category) {
case ONE: return "Nepal rupi";
case OTHER:
default: return "Nepal rupis";
}
}
case NZD: {
switch (category) {
case ONE: return "Nýsæland dollari";
case OTHER:
default: return "Nýsæland dollarar";
}
}
case OMR: {
switch (category) {
case ONE: return "Oman rial";
case OTHER:
default: return "Oman rial";
}
}
case PAB: {
switch (category) {
case ONE: return "Panama balboa";
case OTHER:
default: return "Panama balboa";
}
}
case PEN: {
switch (category) {
case ONE: return "Peru sol";
case OTHER:
default: return "Peru sol";
}
}
case PGK: {
switch (category) {
case ONE: return "Papua Nýguinea kina";
case OTHER:
default: return "Papua Nýguinea kina";
}
}
case PHP: {
switch (category) {
case ONE: return "Filipsoyggjar peso";
case OTHER:
default: return "Filipsoyggjar peso";
}
}
case PKR: {
switch (category) {
case ONE: return "Pakistan rupi";
case OTHER:
default: return "Pakistan rupis";
}
}
case PLN: {
switch (category) {
case ONE: return "Pólland zloty";
case OTHER:
default: return "Pólland zloty";
}
}
case PYG: {
switch (category) {
case ONE: return "Paraguai guarani";
case OTHER:
default: return "Paraguai guarani";
}
}
case QAR: {
switch (category) {
case ONE: return "Katar rial";
case OTHER:
default: return "Katar rial";
}
}
case RON: {
switch (category) {
case ONE: return "Rumenia leu";
case OTHER:
default: return "Rumenia leu";
}
}
case RSD: {
switch (category) {
case ONE: return "Serbia dinar";
case OTHER:
default: return "Serbia dinar";
}
}
case RUB: {
switch (category) {
case ONE: return "Russland ruble";
case OTHER:
default: return "Russland ruble";
}
}
case RWF: {
switch (category) {
case ONE: return "Ruanda frankur";
case OTHER:
default: return "Ruanda frankar";
}
}
case SAR: {
switch (category) {
case ONE: return "Saudiarabia riyal";
case OTHER:
default: return "Saudiarabia riyal";
}
}
case SBD: {
switch (category) {
case ONE: return "Salomonoyggjar dollari";
case OTHER:
default: return "Salomonoyggjar dollarar";
}
}
case SCR: {
switch (category) {
case ONE: return "Seyskelloyggjar rupi";
case OTHER:
default: return "Seyskelloyggjar rupi";
}
}
case SDG: {
switch (category) {
case ONE: return "Sudan pund";
case OTHER:
default: return "Sudan pund";
}
}
case SEK: {
switch (category) {
case ONE: return "svensk króna";
case OTHER:
default: return "svenskar krónur";
}
}
case SGD: {
switch (category) {
case ONE: return "Singapor dollari";
case OTHER:
default: return "Singapor dollarar";
}
}
case SHP: {
switch (category) {
case ONE: return "St. Helena pund";
case OTHER:
default: return "St. Helena pund";
}
}
case SLL: {
switch (category) {
case ONE: return "Sierra Leona leone";
case OTHER:
default: return "Sierra Leona leone";
}
}
case SOS: {
switch (category) {
case ONE: return "Somalia skillingur";
case OTHER:
default: return "Somalia skillingar";
}
}
case SRD: {
switch (category) {
case ONE: return "Surinam dollari";
case OTHER:
default: return "Surinam dollarar";
}
}
case SSP: {
switch (category) {
case ONE: return "Suðursudan pund";
case OTHER:
default: return "Suðursudan pund";
}
}
case STD: {
switch (category) {
case ONE: return "Sao Tome & Prinsipi dobra";
case OTHER:
default: return "Sao Tome & Prinsipi dobra";
}
}
case SYP: {
switch (category) {
case ONE: return "Sýria pund";
case OTHER:
default: return "Sýria pund";
}
}
case SZL: {
switch (category) {
case ONE: return "Svasiland lilangeni";
case OTHER:
default: return "Svasiland lilangeni";
}
}
case THB: {
switch (category) {
case ONE: return "Tailand baht";
case OTHER:
default: return "Tailand baht";
}
}
case TJS: {
switch (category) {
case ONE: return "Tadsjikistan somoni";
case OTHER:
default: return "Tadsjikistan somoni";
}
}
case TMT: {
switch (category) {
case ONE: return "Turkmenistan manat";
case OTHER:
default: return "Turkmenistan manat";
}
}
case TND: {
switch (category) {
case ONE: return "Tunesia dinar";
case OTHER:
default: return "Tunesia dinar";
}
}
case TOP: {
switch (category) {
case ONE: return "Tonga paʻanga";
case OTHER:
default: return "Tonga paʻanga";
}
}
case TRY: {
switch (category) {
case ONE: return "Turkaland liri";
case OTHER:
default: return "Turkaland lirir";
}
}
case TTD: {
switch (category) {
case ONE: return "Trinidad & Tobago dollari";
case OTHER:
default: return "Trinidad & Tobago dollarar";
}
}
case TWD: {
switch (category) {
case ONE: return "Taivan new dollari";
case OTHER:
default: return "Taivan new dollarar";
}
}
case TZS: {
switch (category) {
case ONE: return "Tansania skillingur";
case OTHER:
default: return "Tansania skillingar";
}
}
case UAH: {
switch (category) {
case ONE: return "Ukraina hryvnia";
case OTHER:
default: return "Ukraina hryvnia";
}
}
case UGX: {
switch (category) {
case ONE: return "Uganda skillingur";
case OTHER:
default: return "Uganda skillingar";
}
}
case USD: {
switch (category) {
case ONE: return "US dollari";
case OTHER:
default: return "US dollarar";
}
}
case UYU: {
switch (category) {
case ONE: return "Uruguai peso";
case OTHER:
default: return "Uruguai peso";
}
}
case UZS: {
switch (category) {
case ONE: return "Usbekistan som";
case OTHER:
default: return "Usbekistan som";
}
}
case VEF: {
switch (category) {
case ONE: return "Venesuela bolívar";
case OTHER:
default: return "Venesuela bolívar";
}
}
case VND: {
switch (category) {
case ONE: return "Vjetnam dong";
case OTHER:
default: return "Vjetnam dong";
}
}
case VUV: {
switch (category) {
case ONE: return "Vanuatu vatu";
case OTHER:
default: return "Vanuatu vatu";
}
}
case WST: {
switch (category) {
case ONE: return "Samoa tala";
case OTHER:
default: return "Samoa tala";
}
}
case XAF: {
switch (category) {
case ONE: return "Miðafrika CFA frankur";
case OTHER:
default: return "Miðafrika CFA frankar";
}
}
case XAG: {
switch (category) {
case ONE: return "unse sølv";
case OTHER:
default: return "unse sølv";
}
}
case XAU: {
switch (category) {
case ONE: return "unse guld";
case OTHER:
default: return "unse guld";
}
}
case XCD: {
switch (category) {
case ONE: return "Eystur Karibia dollari";
case OTHER:
default: return "Eystur Karibia dollarar";
}
}
case XOF: {
switch (category) {
case ONE: return "Vesturafrika CFA frankur";
case OTHER:
default: return "Vesturafrika CFA frankar";
}
}
case XPD: {
switch (category) {
case ONE: return "unse palladium";
case OTHER:
default: return "unse palladium";
}
}
case XPF: {
switch (category) {
case ONE: return "CFP frankur";
case OTHER:
default: return "CFP frankar";
}
}
case XPT: {
switch (category) {
case ONE: return "unse platin";
case OTHER:
default: return "unse platin";
}
}
case XXX: {
switch (category) {
case ONE: return "(ókent gjaldoyra)";
case OTHER:
default: return "(ókent gjaldoyra)";
}
}
case YER: {
switch (category) {
case ONE: return "Jemen rial";
case OTHER:
default: return "Jemen rial";
}
}
case ZAR: {
switch (category) {
case ONE: return "Suðurafrika rand";
case OTHER:
default: return "Suðurafrika rand";
}
}
case ZMW: {
switch (category) {
case ONE: return "Sambia kwacha";
case OTHER:
default: return "Sambia kwacha";
}
}
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 = ".";
}
}
}