All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squarespace.cldr.numbers._NumberFormatter_lv Maven / Gradle / Ivy

//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.numbers;

import com.squarespace.cldr.CLDR;
import com.squarespace.cldr.plurals.PluralCategory;
import java.lang.String;
import java.lang.StringBuilder;

public class _NumberFormatter_lv extends NumberFormatterBase {
  public static final NumberPattern[] DECIMAL_STANDARD = patterns("#,##0.###", "-#,##0.###");

  public static final NumberPattern[] PERCENT_STANDARD = patterns("#,##0%", "-#,##0%");

  public static final NumberPattern[] CURRENCY_STANDARD = patterns("#,##0.00 ¤", "-#,##0.00 ¤");

  public static final NumberPattern[] CURRENCY_ACCOUNTING = patterns("#,##0.00 ¤", "-#,##0.00 ¤");

  public static final NumberPattern[] DECIMAL_STANDARD_COMPACT = patterns("#,##0", "-#,##0");

  public static final NumberPattern[] CURRENCY_STANDARD_COMPACT = patterns("#,##0 ¤", "-#,##0 ¤");

  private final NumberPattern[] DECIMAL_SHORT_1K_ZERO = patterns("0 tūkst'.'", "-0 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_1K_ONE = patterns("0 tūkst'.'", "-0 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_1K_OTHER = patterns("0 tūkst'.'", "-0 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_10K_ZERO = patterns("00 tūkst'.'", "-00 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_10K_ONE = patterns("00 tūkst'.'", "-00 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_10K_OTHER = patterns("00 tūkst'.'", "-00 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_100K_ZERO = patterns("000 tūkst'.'", "-000 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_100K_ONE = patterns("000 tūkst'.'", "-000 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_100K_OTHER = patterns("000 tūkst'.'", "-000 tūkst'.'");

  private final NumberPattern[] DECIMAL_SHORT_1M_ZERO = patterns("0 milj'.'", "-0 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_1M_ONE = patterns("0 milj'.'", "-0 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_1M_OTHER = patterns("0 milj'.'", "-0 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10M_ZERO = patterns("00 milj'.'", "-00 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10M_ONE = patterns("00 milj'.'", "-00 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10M_OTHER = patterns("00 milj'.'", "-00 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100M_ZERO = patterns("000 milj'.'", "-000 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100M_ONE = patterns("000 milj'.'", "-000 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100M_OTHER = patterns("000 milj'.'", "-000 milj'.'");

  private final NumberPattern[] DECIMAL_SHORT_1B_ZERO = patterns("0 mljrd'.'", "-0 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_1B_ONE = patterns("0 mljrd'.'", "-0 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_1B_OTHER = patterns("0 mljrd'.'", "-0 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_10B_ZERO = patterns("00 mljrd'.'", "-00 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_10B_ONE = patterns("00 mljrd'.'", "-00 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_10B_OTHER = patterns("00 mljrd'.'", "-00 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_100B_ZERO = patterns("000 mljrd'.'", "-000 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_100B_ONE = patterns("000 mljrd'.'", "-000 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_100B_OTHER = patterns("000 mljrd'.'", "-000 mljrd'.'");

  private final NumberPattern[] DECIMAL_SHORT_1T_ZERO = patterns("0 trilj'.'", "-0 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_1T_ONE = patterns("0 trilj'.'", "-0 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_1T_OTHER = patterns("0 trilj'.'", "-0 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10T_ZERO = patterns("00 trilj'.'", "-00 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10T_ONE = patterns("00 trilj'.'", "-00 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_10T_OTHER = patterns("00 trilj'.'", "-00 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100T_ZERO = patterns("000 trilj'.'", "-000 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100T_ONE = patterns("000 trilj'.'", "-000 trilj'.'");

  private final NumberPattern[] DECIMAL_SHORT_100T_OTHER = patterns("000 trilj'.'", "-000 trilj'.'");

  private final int DECIMAL_SHORT_1K_SHIFT = 3;

  private final int DECIMAL_SHORT_10K_SHIFT = 3;

  private final int DECIMAL_SHORT_100K_SHIFT = 3;

  private final int DECIMAL_SHORT_1M_SHIFT = 6;

  private final int DECIMAL_SHORT_10M_SHIFT = 6;

  private final int DECIMAL_SHORT_100M_SHIFT = 6;

  private final int DECIMAL_SHORT_1B_SHIFT = 9;

  private final int DECIMAL_SHORT_10B_SHIFT = 9;

  private final int DECIMAL_SHORT_100B_SHIFT = 9;

  private final int DECIMAL_SHORT_1T_SHIFT = 12;

  private final int DECIMAL_SHORT_10T_SHIFT = 12;

  private final int DECIMAL_SHORT_100T_SHIFT = 12;

  private final NumberPattern[] DECIMAL_LONG_1K_ZERO = patterns("0 tūkstoši", "-0 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_1K_ONE = patterns("0 tūkstotis", "-0 tūkstotis");

  private final NumberPattern[] DECIMAL_LONG_1K_OTHER = patterns("0 tūkstoši", "-0 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_10K_ZERO = patterns("00 tūkstoši", "-00 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_10K_ONE = patterns("00 tūkstotis", "-00 tūkstotis");

  private final NumberPattern[] DECIMAL_LONG_10K_OTHER = patterns("00 tūkstoši", "-00 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_100K_ZERO = patterns("000 tūkstoši", "-000 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_100K_ONE = patterns("000 tūkstotis", "-000 tūkstotis");

  private final NumberPattern[] DECIMAL_LONG_100K_OTHER = patterns("000 tūkstoši", "-000 tūkstoši");

  private final NumberPattern[] DECIMAL_LONG_1M_ZERO = patterns("0 miljoni", "-0 miljoni");

  private final NumberPattern[] DECIMAL_LONG_1M_ONE = patterns("0 miljons", "-0 miljons");

  private final NumberPattern[] DECIMAL_LONG_1M_OTHER = patterns("0 miljoni", "-0 miljoni");

  private final NumberPattern[] DECIMAL_LONG_10M_ZERO = patterns("00 miljoni", "-00 miljoni");

  private final NumberPattern[] DECIMAL_LONG_10M_ONE = patterns("00 miljons", "-00 miljons");

  private final NumberPattern[] DECIMAL_LONG_10M_OTHER = patterns("00 miljoni", "-00 miljoni");

  private final NumberPattern[] DECIMAL_LONG_100M_ZERO = patterns("000 miljoni", "-000 miljoni");

  private final NumberPattern[] DECIMAL_LONG_100M_ONE = patterns("000 miljons", "-000 miljons");

  private final NumberPattern[] DECIMAL_LONG_100M_OTHER = patterns("000 miljoni", "-000 miljoni");

  private final NumberPattern[] DECIMAL_LONG_1B_ZERO = patterns("0 miljardi", "-0 miljardi");

  private final NumberPattern[] DECIMAL_LONG_1B_ONE = patterns("0 miljards", "-0 miljards");

  private final NumberPattern[] DECIMAL_LONG_1B_OTHER = patterns("0 miljardi", "-0 miljardi");

  private final NumberPattern[] DECIMAL_LONG_10B_ZERO = patterns("00 miljardi", "-00 miljardi");

  private final NumberPattern[] DECIMAL_LONG_10B_ONE = patterns("00 miljards", "-00 miljards");

  private final NumberPattern[] DECIMAL_LONG_10B_OTHER = patterns("00 miljardi", "-00 miljardi");

  private final NumberPattern[] DECIMAL_LONG_100B_ZERO = patterns("000 miljardi", "-000 miljardi");

  private final NumberPattern[] DECIMAL_LONG_100B_ONE = patterns("000 miljards", "-000 miljards");

  private final NumberPattern[] DECIMAL_LONG_100B_OTHER = patterns("000 miljardi", "-000 miljardi");

  private final NumberPattern[] DECIMAL_LONG_1T_ZERO = patterns("0 triljoni", "-0 triljoni");

  private final NumberPattern[] DECIMAL_LONG_1T_ONE = patterns("0 triljons", "-0 triljons");

  private final NumberPattern[] DECIMAL_LONG_1T_OTHER = patterns("0 triljoni", "-0 triljoni");

  private final NumberPattern[] DECIMAL_LONG_10T_ZERO = patterns("00 triljoni", "-00 triljoni");

  private final NumberPattern[] DECIMAL_LONG_10T_ONE = patterns("00 triljons", "-00 triljons");

  private final NumberPattern[] DECIMAL_LONG_10T_OTHER = patterns("00 triljoni", "-00 triljoni");

  private final NumberPattern[] DECIMAL_LONG_100T_ZERO = patterns("000 triljoni", "-000 triljoni");

  private final NumberPattern[] DECIMAL_LONG_100T_ONE = patterns("000 triljons", "-000 triljons");

  private final NumberPattern[] DECIMAL_LONG_100T_OTHER = patterns("000 triljoni", "-000 triljoni");

  private final int DECIMAL_LONG_1K_SHIFT = 3;

  private final int DECIMAL_LONG_10K_SHIFT = 3;

  private final int DECIMAL_LONG_100K_SHIFT = 3;

  private final int DECIMAL_LONG_1M_SHIFT = 6;

  private final int DECIMAL_LONG_10M_SHIFT = 6;

  private final int DECIMAL_LONG_100M_SHIFT = 6;

  private final int DECIMAL_LONG_1B_SHIFT = 9;

  private final int DECIMAL_LONG_10B_SHIFT = 9;

  private final int DECIMAL_LONG_100B_SHIFT = 9;

  private final int DECIMAL_LONG_1T_SHIFT = 12;

  private final int DECIMAL_LONG_10T_SHIFT = 12;

  private final int DECIMAL_LONG_100T_SHIFT = 12;

  private final NumberPattern[] CURRENCY_SHORT_1K_ZERO = patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1K_ONE = patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1K_OTHER = patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10K_ZERO = patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10K_ONE = patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10K_OTHER = patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100K_ZERO = patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100K_ONE = patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100K_OTHER = patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1M_ZERO = patterns("0 milj'.' ¤", "-0 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1M_ONE = patterns("0 milj'.' ¤", "-0 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1M_OTHER = patterns("0 milj'.' ¤", "-0 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10M_ZERO = patterns("00 milj'.' ¤", "-00 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10M_ONE = patterns("00 milj'.' ¤", "-00 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10M_OTHER = patterns("00 milj'.' ¤", "-00 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100M_ZERO = patterns("000 milj'.' ¤", "-000 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100M_ONE = patterns("000 milj'.' ¤", "-000 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_100M_OTHER = patterns("000 milj'.' ¤", "-000 milj'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1B_ZERO = patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1B_ONE = patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_1B_OTHER = patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤");

  private final NumberPattern[] CURRENCY_SHORT_10B_ZERO = patterns("¤00 mljrd'.'", "-¤00 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_10B_ONE = patterns("¤00 mljrd'.'", "-¤00 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_10B_OTHER = patterns("¤00 mljrd'.'", "-¤00 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_100B_ZERO = patterns("¤000 mljrd'.'", "-¤000 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_100B_ONE = patterns("¤000 mljrd'.'", "-¤000 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_100B_OTHER = patterns("¤000 mljrd'.'", "-¤000 mljrd'.'");

  private final NumberPattern[] CURRENCY_SHORT_1T_ZERO = patterns("¤0 trilj'.'", "-¤0 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_1T_ONE = patterns("¤0 trilj'.'", "-¤0 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_1T_OTHER = patterns("¤0 trilj'.'", "-¤0 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_10T_ZERO = patterns("¤00 trilj'.'", "-¤00 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_10T_ONE = patterns("¤00 trilj'.'", "-¤00 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_10T_OTHER = patterns("¤00 trilj'.'", "-¤00 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_100T_ZERO = patterns("¤000 trilj'.'", "-¤000 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_100T_ONE = patterns("¤000 trilj'.'", "-¤000 trilj'.'");

  private final NumberPattern[] CURRENCY_SHORT_100T_OTHER = patterns("¤000 trilj'.'", "-¤000 trilj'.'");

  private final int CURRENCY_SHORT_1K_SHIFT = 3;

  private final int CURRENCY_SHORT_10K_SHIFT = 3;

  private final int CURRENCY_SHORT_100K_SHIFT = 3;

  private final int CURRENCY_SHORT_1M_SHIFT = 6;

  private final int CURRENCY_SHORT_10M_SHIFT = 6;

  private final int CURRENCY_SHORT_100M_SHIFT = 6;

  private final int CURRENCY_SHORT_1B_SHIFT = 9;

  private final int CURRENCY_SHORT_10B_SHIFT = 9;

  private final int CURRENCY_SHORT_100B_SHIFT = 9;

  private final int CURRENCY_SHORT_1T_SHIFT = 12;

  private final int CURRENCY_SHORT_10T_SHIFT = 12;

  private final int CURRENCY_SHORT_100T_SHIFT = 12;

  public _NumberFormatter_lv() {
    super(
        CLDR.Locale.lv,
        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 ¤")
        );
  }

  protected int getPowerOfTen_DECIMAL_SHORT(int digits) {
    if (digits < 4) {
      return 0;
    }
    switch (digits) {
      case 4: return DECIMAL_SHORT_1K_SHIFT;
      case 5: return DECIMAL_SHORT_10K_SHIFT;
      case 6: return DECIMAL_SHORT_100K_SHIFT;
      case 7: return DECIMAL_SHORT_1M_SHIFT;
      case 8: return DECIMAL_SHORT_10M_SHIFT;
      case 9: return DECIMAL_SHORT_100M_SHIFT;
      case 10: return DECIMAL_SHORT_1B_SHIFT;
      case 11: return DECIMAL_SHORT_10B_SHIFT;
      case 12: return DECIMAL_SHORT_100B_SHIFT;
      case 13: return DECIMAL_SHORT_1T_SHIFT;
      case 14: return DECIMAL_SHORT_10T_SHIFT;
      case 15:
          default: return DECIMAL_SHORT_100T_SHIFT;
    }
  }

  protected NumberPattern[] getPattern_DECIMAL_SHORT(int digits, PluralCategory category) {
    if (digits < 4 || category == null) {
      return DECIMAL_STANDARD_COMPACT;
    }
    switch (digits) {
      case 4: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_1K_ZERO;
          case ONE: return DECIMAL_SHORT_1K_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_1K_OTHER;
        }
      }
      case 5: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_10K_ZERO;
          case ONE: return DECIMAL_SHORT_10K_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_10K_OTHER;
        }
      }
      case 6: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_100K_ZERO;
          case ONE: return DECIMAL_SHORT_100K_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_100K_OTHER;
        }
      }
      case 7: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_1M_ZERO;
          case ONE: return DECIMAL_SHORT_1M_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_1M_OTHER;
        }
      }
      case 8: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_10M_ZERO;
          case ONE: return DECIMAL_SHORT_10M_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_10M_OTHER;
        }
      }
      case 9: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_100M_ZERO;
          case ONE: return DECIMAL_SHORT_100M_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_100M_OTHER;
        }
      }
      case 10: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_1B_ZERO;
          case ONE: return DECIMAL_SHORT_1B_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_1B_OTHER;
        }
      }
      case 11: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_10B_ZERO;
          case ONE: return DECIMAL_SHORT_10B_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_10B_OTHER;
        }
      }
      case 12: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_100B_ZERO;
          case ONE: return DECIMAL_SHORT_100B_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_100B_OTHER;
        }
      }
      case 13: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_1T_ZERO;
          case ONE: return DECIMAL_SHORT_1T_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_1T_OTHER;
        }
      }
      case 14: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_10T_ZERO;
          case ONE: return DECIMAL_SHORT_10T_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_10T_OTHER;
        }
      }
      case 15: default: {
        switch (category) {
          case ZERO: return DECIMAL_SHORT_100T_ZERO;
          case ONE: return DECIMAL_SHORT_100T_ONE;
          case OTHER:
              default: return DECIMAL_SHORT_100T_OTHER;
        }
      }
    }
  }

  protected int getPowerOfTen_DECIMAL_LONG(int digits) {
    if (digits < 4) {
      return 0;
    }
    switch (digits) {
      case 4: return DECIMAL_LONG_1K_SHIFT;
      case 5: return DECIMAL_LONG_10K_SHIFT;
      case 6: return DECIMAL_LONG_100K_SHIFT;
      case 7: return DECIMAL_LONG_1M_SHIFT;
      case 8: return DECIMAL_LONG_10M_SHIFT;
      case 9: return DECIMAL_LONG_100M_SHIFT;
      case 10: return DECIMAL_LONG_1B_SHIFT;
      case 11: return DECIMAL_LONG_10B_SHIFT;
      case 12: return DECIMAL_LONG_100B_SHIFT;
      case 13: return DECIMAL_LONG_1T_SHIFT;
      case 14: return DECIMAL_LONG_10T_SHIFT;
      case 15:
          default: return DECIMAL_LONG_100T_SHIFT;
    }
  }

  protected NumberPattern[] getPattern_DECIMAL_LONG(int digits, PluralCategory category) {
    if (digits < 4 || category == null) {
      return DECIMAL_STANDARD_COMPACT;
    }
    switch (digits) {
      case 4: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_1K_ZERO;
          case ONE: return DECIMAL_LONG_1K_ONE;
          case OTHER:
              default: return DECIMAL_LONG_1K_OTHER;
        }
      }
      case 5: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_10K_ZERO;
          case ONE: return DECIMAL_LONG_10K_ONE;
          case OTHER:
              default: return DECIMAL_LONG_10K_OTHER;
        }
      }
      case 6: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_100K_ZERO;
          case ONE: return DECIMAL_LONG_100K_ONE;
          case OTHER:
              default: return DECIMAL_LONG_100K_OTHER;
        }
      }
      case 7: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_1M_ZERO;
          case ONE: return DECIMAL_LONG_1M_ONE;
          case OTHER:
              default: return DECIMAL_LONG_1M_OTHER;
        }
      }
      case 8: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_10M_ZERO;
          case ONE: return DECIMAL_LONG_10M_ONE;
          case OTHER:
              default: return DECIMAL_LONG_10M_OTHER;
        }
      }
      case 9: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_100M_ZERO;
          case ONE: return DECIMAL_LONG_100M_ONE;
          case OTHER:
              default: return DECIMAL_LONG_100M_OTHER;
        }
      }
      case 10: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_1B_ZERO;
          case ONE: return DECIMAL_LONG_1B_ONE;
          case OTHER:
              default: return DECIMAL_LONG_1B_OTHER;
        }
      }
      case 11: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_10B_ZERO;
          case ONE: return DECIMAL_LONG_10B_ONE;
          case OTHER:
              default: return DECIMAL_LONG_10B_OTHER;
        }
      }
      case 12: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_100B_ZERO;
          case ONE: return DECIMAL_LONG_100B_ONE;
          case OTHER:
              default: return DECIMAL_LONG_100B_OTHER;
        }
      }
      case 13: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_1T_ZERO;
          case ONE: return DECIMAL_LONG_1T_ONE;
          case OTHER:
              default: return DECIMAL_LONG_1T_OTHER;
        }
      }
      case 14: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_10T_ZERO;
          case ONE: return DECIMAL_LONG_10T_ONE;
          case OTHER:
              default: return DECIMAL_LONG_10T_OTHER;
        }
      }
      case 15: default: {
        switch (category) {
          case ZERO: return DECIMAL_LONG_100T_ZERO;
          case ONE: return DECIMAL_LONG_100T_ONE;
          case OTHER:
              default: return DECIMAL_LONG_100T_OTHER;
        }
      }
    }
  }

  protected int getPowerOfTen_CURRENCY_SHORT(int digits) {
    if (digits < 4) {
      return 0;
    }
    switch (digits) {
      case 4: return CURRENCY_SHORT_1K_SHIFT;
      case 5: return CURRENCY_SHORT_10K_SHIFT;
      case 6: return CURRENCY_SHORT_100K_SHIFT;
      case 7: return CURRENCY_SHORT_1M_SHIFT;
      case 8: return CURRENCY_SHORT_10M_SHIFT;
      case 9: return CURRENCY_SHORT_100M_SHIFT;
      case 10: return CURRENCY_SHORT_1B_SHIFT;
      case 11: return CURRENCY_SHORT_10B_SHIFT;
      case 12: return CURRENCY_SHORT_100B_SHIFT;
      case 13: return CURRENCY_SHORT_1T_SHIFT;
      case 14: return CURRENCY_SHORT_10T_SHIFT;
      case 15:
          default: return CURRENCY_SHORT_100T_SHIFT;
    }
  }

  protected NumberPattern[] getPattern_CURRENCY_SHORT(int digits, PluralCategory category) {
    if (digits < 4 || category == null) {
      return CURRENCY_STANDARD_COMPACT;
    }
    switch (digits) {
      case 4: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_1K_ZERO;
          case ONE: return CURRENCY_SHORT_1K_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_1K_OTHER;
        }
      }
      case 5: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_10K_ZERO;
          case ONE: return CURRENCY_SHORT_10K_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_10K_OTHER;
        }
      }
      case 6: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_100K_ZERO;
          case ONE: return CURRENCY_SHORT_100K_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_100K_OTHER;
        }
      }
      case 7: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_1M_ZERO;
          case ONE: return CURRENCY_SHORT_1M_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_1M_OTHER;
        }
      }
      case 8: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_10M_ZERO;
          case ONE: return CURRENCY_SHORT_10M_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_10M_OTHER;
        }
      }
      case 9: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_100M_ZERO;
          case ONE: return CURRENCY_SHORT_100M_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_100M_OTHER;
        }
      }
      case 10: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_1B_ZERO;
          case ONE: return CURRENCY_SHORT_1B_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_1B_OTHER;
        }
      }
      case 11: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_10B_ZERO;
          case ONE: return CURRENCY_SHORT_10B_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_10B_OTHER;
        }
      }
      case 12: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_100B_ZERO;
          case ONE: return CURRENCY_SHORT_100B_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_100B_OTHER;
        }
      }
      case 13: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_1T_ZERO;
          case ONE: return CURRENCY_SHORT_1T_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_1T_OTHER;
        }
      }
      case 14: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_10T_ZERO;
          case ONE: return CURRENCY_SHORT_10T_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_10T_OTHER;
        }
      }
      case 15: default: {
        switch (category) {
          case ZERO: return CURRENCY_SHORT_100T_ZERO;
          case ONE: return CURRENCY_SHORT_100T_ONE;
          case OTHER:
              default: return CURRENCY_SHORT_100T_OTHER;
        }
      }
    }
  }

  public String getCurrencySymbol(String code) {
    switch (code) {
      case "ADP": return "ADP";
      case "AED": return "AED";
      case "AFA": return "AFA";
      case "AFN": return "AFN";
      case "ALL": return "ALL";
      case "AMD": return "AMD";
      case "ANG": return "ANG";
      case "AOA": return "AOA";
      case "AOK": return "AOK";
      case "AON": return "AON";
      case "AOR": return "AOR";
      case "ARA": return "ARA";
      case "ARL": return "ARL";
      case "ARM": return "ARM";
      case "ARP": return "ARP";
      case "ARS": return "ARS";
      case "ATS": return "ATS";
      case "AUD": return "AU$";
      case "AWG": return "AWG";
      case "AZM": return "AZM";
      case "AZN": return "AZN";
      case "BAD": return "BAD";
      case "BAM": return "BAM";
      case "BAN": return "BAN";
      case "BBD": return "BBD";
      case "BDT": return "BDT";
      case "BEC": return "BEC";
      case "BEF": return "BEF";
      case "BEL": return "BEL";
      case "BGL": return "BGL";
      case "BGM": return "BGM";
      case "BGN": return "BGN";
      case "BGO": return "BGO";
      case "BHD": return "BHD";
      case "BIF": return "BIF";
      case "BMD": return "BMD";
      case "BND": return "BND";
      case "BOB": return "BOB";
      case "BOL": return "BOL";
      case "BOP": return "BOP";
      case "BOV": return "BOV";
      case "BRB": return "BRB";
      case "BRC": return "BRC";
      case "BRE": return "BRE";
      case "BRL": return "R$";
      case "BRN": return "BRN";
      case "BRR": return "BRR";
      case "BRZ": return "BRZ";
      case "BSD": return "BSD";
      case "BTN": return "BTN";
      case "BUK": return "BUK";
      case "BWP": return "BWP";
      case "BYB": return "BYB";
      case "BYN": return "BYN";
      case "BYR": return "BYR";
      case "BZD": return "BZD";
      case "CAD": return "CA$";
      case "CDF": return "CDF";
      case "CHE": return "CHE";
      case "CHF": return "CHF";
      case "CHW": return "CHW";
      case "CLE": return "CLE";
      case "CLF": return "CLF";
      case "CLP": return "CLP";
      case "CNY": return "CN¥";
      case "COP": return "COP";
      case "COU": return "COU";
      case "CRC": return "CRC";
      case "CSD": return "CSD";
      case "CSK": return "CSK";
      case "CUC": return "CUC";
      case "CUP": return "CUP";
      case "CVE": return "CVE";
      case "CYP": return "CYP";
      case "CZK": return "CZK";
      case "DDM": return "DDM";
      case "DEM": return "DEM";
      case "DJF": return "DJF";
      case "DKK": return "DKK";
      case "DOP": return "DOP";
      case "DZD": return "DZD";
      case "ECS": return "ECS";
      case "ECV": return "ECV";
      case "EEK": return "EEK";
      case "EGP": return "EGP";
      case "ERN": return "ERN";
      case "ESA": return "ESA";
      case "ESB": return "ESB";
      case "ESP": return "ESP";
      case "ETB": return "ETB";
      case "EUR": return "€";
      case "FIM": return "FIM";
      case "FJD": return "FJD";
      case "FKP": return "FKP";
      case "FRF": return "FRF";
      case "GBP": return "£";
      case "GEK": return "GEK";
      case "GEL": return "GEL";
      case "GHC": return "GHC";
      case "GHS": return "GHS";
      case "GIP": return "GIP";
      case "GMD": return "GMD";
      case "GNF": return "GNF";
      case "GNS": return "GNS";
      case "GQE": return "GQE";
      case "GRD": return "GRD";
      case "GTQ": return "GTQ";
      case "GWE": return "GWE";
      case "GWP": return "GWP";
      case "GYD": return "GYD";
      case "HKD": return "HK$";
      case "HNL": return "HNL";
      case "HRD": return "HRD";
      case "HRK": return "HRK";
      case "HTG": return "HTG";
      case "HUF": return "HUF";
      case "IDR": return "IDR";
      case "IEP": return "IEP";
      case "ILP": return "ILP";
      case "ILS": return "₪";
      case "INR": return "₹";
      case "IQD": return "IQD";
      case "IRR": return "IRR";
      case "ISK": return "ISK";
      case "ITL": return "ITL";
      case "JMD": return "JMD";
      case "JOD": return "JOD";
      case "JPY": return "¥";
      case "KES": return "KES";
      case "KGS": return "KGS";
      case "KHR": return "KHR";
      case "KMF": return "KMF";
      case "KPW": return "KPW";
      case "KRH": return "KRH";
      case "KRO": return "KRO";
      case "KRW": return "₩";
      case "KWD": return "KWD";
      case "KYD": return "KYD";
      case "KZT": return "KZT";
      case "LAK": return "LAK";
      case "LBP": return "LBP";
      case "LKR": return "LKR";
      case "LRD": return "LRD";
      case "LSL": return "LSL";
      case "LTL": return "LTL";
      case "LTT": return "LTT";
      case "LUC": return "LUC";
      case "LUF": return "LUF";
      case "LUL": return "LUL";
      case "LVL": return "Ls";
      case "LVR": return "LVR";
      case "LYD": return "LYD";
      case "MAD": return "MAD";
      case "MAF": return "MAF";
      case "MCF": return "MCF";
      case "MDC": return "MDC";
      case "MDL": return "MDL";
      case "MGA": return "MGA";
      case "MGF": return "MGF";
      case "MKD": return "MKD";
      case "MKN": return "MKN";
      case "MLF": return "MLF";
      case "MMK": return "MMK";
      case "MNT": return "MNT";
      case "MOP": return "MOP";
      case "MRO": return "MRO";
      case "MTL": return "MTL";
      case "MTP": return "MTP";
      case "MUR": return "MUR";
      case "MVR": return "MVR";
      case "MWK": return "MWK";
      case "MXN": return "MX$";
      case "MXP": return "MXP";
      case "MXV": return "MXV";
      case "MYR": return "MYR";
      case "MZE": return "MZE";
      case "MZM": return "MZM";
      case "MZN": return "MZN";
      case "NAD": return "NAD";
      case "NGN": return "NGN";
      case "NIC": return "NIC";
      case "NIO": return "NIO";
      case "NLG": return "NLG";
      case "NOK": return "NOK";
      case "NPR": return "NPR";
      case "NZD": return "NZ$";
      case "OMR": return "OMR";
      case "PAB": return "PAB";
      case "PEI": return "PEI";
      case "PEN": return "PEN";
      case "PES": return "PES";
      case "PGK": return "PGK";
      case "PHP": return "PHP";
      case "PKR": return "PKR";
      case "PLN": return "PLN";
      case "PLZ": return "PLZ";
      case "PTE": return "PTE";
      case "PYG": return "PYG";
      case "QAR": return "QAR";
      case "RHD": return "RHD";
      case "ROL": return "ROL";
      case "RON": return "RON";
      case "RSD": return "RSD";
      case "RUB": return "RUB";
      case "RUR": return "RUR";
      case "RWF": return "RWF";
      case "SAR": return "SAR";
      case "SBD": return "SBD";
      case "SCR": return "SCR";
      case "SDD": return "SDD";
      case "SDG": return "SDG";
      case "SDP": return "SDP";
      case "SEK": return "SEK";
      case "SGD": return "SGD";
      case "SHP": return "SHP";
      case "SIT": return "SIT";
      case "SKK": return "SKK";
      case "SLL": return "SLL";
      case "SOS": return "SOS";
      case "SRD": return "SRD";
      case "SRG": return "SRG";
      case "SSP": return "SSP";
      case "STD": return "STD";
      case "SUR": return "SUR";
      case "SVC": return "SVC";
      case "SYP": return "SYP";
      case "SZL": return "SZL";
      case "THB": return "฿";
      case "TJR": return "TJR";
      case "TJS": return "TJS";
      case "TMM": return "TMM";
      case "TMT": return "TMT";
      case "TND": return "TND";
      case "TOP": return "TOP";
      case "TPE": return "TPE";
      case "TRL": return "TRL";
      case "TRY": return "TRY";
      case "TTD": return "TTD";
      case "TWD": return "NT$";
      case "TZS": return "TZS";
      case "UAH": return "UAH";
      case "UAK": return "UAK";
      case "UGS": return "UGS";
      case "UGX": return "UGX";
      case "USD": return "$";
      case "USN": return "USN";
      case "USS": return "USS";
      case "UYI": return "UYI";
      case "UYP": return "UYP";
      case "UYU": return "UYU";
      case "UZS": return "UZS";
      case "VEB": return "VEB";
      case "VEF": return "VEF";
      case "VND": return "₫";
      case "VNN": return "VNN";
      case "VUV": return "VUV";
      case "WST": return "WST";
      case "XAF": return "FCFA";
      case "XAG": return "XAG";
      case "XAU": return "XAU";
      case "XBA": return "XBA";
      case "XBB": return "XBB";
      case "XBC": return "XBC";
      case "XBD": return "XBD";
      case "XCD": return "EC$";
      case "XDR": return "XDR";
      case "XEU": return "XEU";
      case "XFO": return "XFO";
      case "XFU": return "XFU";
      case "XOF": return "CFA";
      case "XPD": return "XPD";
      case "XPF": return "CFPF";
      case "XPT": return "XPT";
      case "XRE": return "XRE";
      case "XSU": return "XSU";
      case "XTS": return "XTS";
      case "XUA": return "XUA";
      case "XXX": return "XXX";
      case "YDD": return "YDD";
      case "YER": return "YER";
      case "YUD": return "YUD";
      case "YUM": return "YUM";
      case "YUN": return "YUN";
      case "YUR": return "YUR";
      case "ZAL": return "ZAL";
      case "ZAR": return "ZAR";
      case "ZMK": return "ZMK";
      case "ZMW": return "ZMW";
      case "ZRN": return "ZRN";
      case "ZRZ": return "ZRZ";
      case "ZWD": return "ZWD";
      case "ZWL": return "ZWL";
      case "ZWR": return "ZWR";
      default: return "";
    }
  }

  public String getNarrowCurrencySymbol(String code) {
    switch (code) {
      case "ADP": return "ADP";
      case "AED": return "AED";
      case "AFA": return "AFA";
      case "AFN": return "AFN";
      case "ALL": return "ALL";
      case "AMD": return "AMD";
      case "ANG": return "ANG";
      case "AOA": return "Kz";
      case "AOK": return "AOK";
      case "AON": return "AON";
      case "AOR": return "AOR";
      case "ARA": return "ARA";
      case "ARL": return "ARL";
      case "ARM": return "ARM";
      case "ARP": return "ARP";
      case "ARS": return "$";
      case "ATS": return "ATS";
      case "AUD": return "$";
      case "AWG": return "AWG";
      case "AZM": return "AZM";
      case "AZN": return "AZN";
      case "BAD": return "BAD";
      case "BAM": return "KM";
      case "BAN": return "BAN";
      case "BBD": return "$";
      case "BDT": return "৳";
      case "BEC": return "BEC";
      case "BEF": return "BEF";
      case "BEL": return "BEL";
      case "BGL": return "BGL";
      case "BGM": return "BGM";
      case "BGN": return "BGN";
      case "BGO": return "BGO";
      case "BHD": return "BHD";
      case "BIF": return "BIF";
      case "BMD": return "$";
      case "BND": return "$";
      case "BOB": return "Bs";
      case "BOL": return "BOL";
      case "BOP": return "BOP";
      case "BOV": return "BOV";
      case "BRB": return "BRB";
      case "BRC": return "BRC";
      case "BRE": return "BRE";
      case "BRL": return "R$";
      case "BRN": return "BRN";
      case "BRR": return "BRR";
      case "BRZ": return "BRZ";
      case "BSD": return "$";
      case "BTN": return "BTN";
      case "BUK": return "BUK";
      case "BWP": return "P";
      case "BYB": return "BYB";
      case "BYN": return "р.";
      case "BYR": return "BYR";
      case "BZD": return "$";
      case "CAD": return "$";
      case "CDF": return "CDF";
      case "CHE": return "CHE";
      case "CHF": return "CHF";
      case "CHW": return "CHW";
      case "CLE": return "CLE";
      case "CLF": return "CLF";
      case "CLP": return "$";
      case "CNY": return "¥";
      case "COP": return "$";
      case "COU": return "COU";
      case "CRC": return "₡";
      case "CSD": return "CSD";
      case "CSK": return "CSK";
      case "CUC": return "$";
      case "CUP": return "$";
      case "CVE": return "CVE";
      case "CYP": return "CYP";
      case "CZK": return "Kč";
      case "DDM": return "DDM";
      case "DEM": return "DEM";
      case "DJF": return "DJF";
      case "DKK": return "kr";
      case "DOP": return "$";
      case "DZD": return "DZD";
      case "ECS": return "ECS";
      case "ECV": return "ECV";
      case "EEK": return "EEK";
      case "EGP": return "E£";
      case "ERN": return "ERN";
      case "ESA": return "ESA";
      case "ESB": return "ESB";
      case "ESP": return "₧";
      case "ETB": return "ETB";
      case "EUR": return "€";
      case "FIM": return "FIM";
      case "FJD": return "$";
      case "FKP": return "£";
      case "FRF": return "FRF";
      case "GBP": return "£";
      case "GEK": return "GEK";
      case "GEL": return "₾";
      case "GHC": return "GHC";
      case "GHS": return "GHS";
      case "GIP": return "£";
      case "GMD": return "GMD";
      case "GNF": return "FG";
      case "GNS": return "GNS";
      case "GQE": return "GQE";
      case "GRD": return "GRD";
      case "GTQ": return "Q";
      case "GWE": return "GWE";
      case "GWP": return "GWP";
      case "GYD": return "$";
      case "HKD": return "$";
      case "HNL": return "L";
      case "HRD": return "HRD";
      case "HRK": return "kn";
      case "HTG": return "HTG";
      case "HUF": return "Ft";
      case "IDR": return "Rp";
      case "IEP": return "IEP";
      case "ILP": return "ILP";
      case "ILS": return "₪";
      case "INR": return "₹";
      case "IQD": return "IQD";
      case "IRR": return "IRR";
      case "ISK": return "kr";
      case "ITL": return "ITL";
      case "JMD": return "$";
      case "JOD": return "JOD";
      case "JPY": return "¥";
      case "KES": return "KES";
      case "KGS": return "KGS";
      case "KHR": return "៛";
      case "KMF": return "CF";
      case "KPW": return "₩";
      case "KRH": return "KRH";
      case "KRO": return "KRO";
      case "KRW": return "₩";
      case "KWD": return "KWD";
      case "KYD": return "$";
      case "KZT": return "₸";
      case "LAK": return "₭";
      case "LBP": return "L£";
      case "LKR": return "Rs";
      case "LRD": return "$";
      case "LSL": return "LSL";
      case "LTL": return "Lt";
      case "LTT": return "LTT";
      case "LUC": return "LUC";
      case "LUF": return "LUF";
      case "LUL": return "LUL";
      case "LVL": return "Ls";
      case "LVR": return "LVR";
      case "LYD": return "LYD";
      case "MAD": return "MAD";
      case "MAF": return "MAF";
      case "MCF": return "MCF";
      case "MDC": return "MDC";
      case "MDL": return "MDL";
      case "MGA": return "Ar";
      case "MGF": return "MGF";
      case "MKD": return "MKD";
      case "MKN": return "MKN";
      case "MLF": return "MLF";
      case "MMK": return "K";
      case "MNT": return "₮";
      case "MOP": return "MOP";
      case "MRO": return "MRO";
      case "MTL": return "MTL";
      case "MTP": return "MTP";
      case "MUR": return "Rs";
      case "MVR": return "MVR";
      case "MWK": return "MWK";
      case "MXN": return "$";
      case "MXP": return "MXP";
      case "MXV": return "MXV";
      case "MYR": return "RM";
      case "MZE": return "MZE";
      case "MZM": return "MZM";
      case "MZN": return "MZN";
      case "NAD": return "$";
      case "NGN": return "₦";
      case "NIC": return "NIC";
      case "NIO": return "C$";
      case "NLG": return "NLG";
      case "NOK": return "kr";
      case "NPR": return "Rs";
      case "NZD": return "$";
      case "OMR": return "OMR";
      case "PAB": return "PAB";
      case "PEI": return "PEI";
      case "PEN": return "PEN";
      case "PES": return "PES";
      case "PGK": return "PGK";
      case "PHP": return "₱";
      case "PKR": return "Rs";
      case "PLN": return "zł";
      case "PLZ": return "PLZ";
      case "PTE": return "PTE";
      case "PYG": return "₲";
      case "QAR": return "QAR";
      case "RHD": return "RHD";
      case "ROL": return "ROL";
      case "RON": return "lei";
      case "RSD": return "RSD";
      case "RUB": return "₽";
      case "RUR": return "р.";
      case "RWF": return "RF";
      case "SAR": return "SAR";
      case "SBD": return "$";
      case "SCR": return "SCR";
      case "SDD": return "SDD";
      case "SDG": return "SDG";
      case "SDP": return "SDP";
      case "SEK": return "kr";
      case "SGD": return "$";
      case "SHP": return "£";
      case "SIT": return "SIT";
      case "SKK": return "SKK";
      case "SLL": return "SLL";
      case "SOS": return "SOS";
      case "SRD": return "$";
      case "SRG": return "SRG";
      case "SSP": return "£";
      case "STD": return "Db";
      case "SUR": return "SUR";
      case "SVC": return "SVC";
      case "SYP": return "£";
      case "SZL": return "SZL";
      case "THB": return "฿";
      case "TJR": return "TJR";
      case "TJS": return "TJS";
      case "TMM": return "TMM";
      case "TMT": return "TMT";
      case "TND": return "TND";
      case "TOP": return "T$";
      case "TPE": return "TPE";
      case "TRL": return "TRL";
      case "TRY": return "₺";
      case "TTD": return "$";
      case "TWD": return "NT$";
      case "TZS": return "TZS";
      case "UAH": return "₴";
      case "UAK": return "UAK";
      case "UGS": return "UGS";
      case "UGX": return "UGX";
      case "USD": return "$";
      case "USN": return "USN";
      case "USS": return "USS";
      case "UYI": return "UYI";
      case "UYP": return "UYP";
      case "UYU": return "$";
      case "UZS": return "UZS";
      case "VEB": return "VEB";
      case "VEF": return "Bs";
      case "VND": return "₫";
      case "VNN": return "VNN";
      case "VUV": return "VUV";
      case "WST": return "WST";
      case "XAF": return "FCFA";
      case "XAG": return "XAG";
      case "XAU": return "XAU";
      case "XBA": return "XBA";
      case "XBB": return "XBB";
      case "XBC": return "XBC";
      case "XBD": return "XBD";
      case "XCD": return "$";
      case "XDR": return "XDR";
      case "XEU": return "XEU";
      case "XFO": return "XFO";
      case "XFU": return "XFU";
      case "XOF": return "CFA";
      case "XPD": return "XPD";
      case "XPF": return "CFPF";
      case "XPT": return "XPT";
      case "XRE": return "XRE";
      case "XSU": return "XSU";
      case "XTS": return "XTS";
      case "XUA": return "XUA";
      case "XXX": return "XXX";
      case "YDD": return "YDD";
      case "YER": return "YER";
      case "YUD": return "YUD";
      case "YUM": return "YUM";
      case "YUN": return "YUN";
      case "YUR": return "YUR";
      case "ZAL": return "ZAL";
      case "ZAR": return "R";
      case "ZMK": return "ZMK";
      case "ZMW": return "ZK";
      case "ZRN": return "ZRN";
      case "ZRZ": return "ZRZ";
      case "ZWD": return "ZWD";
      case "ZWL": return "ZWL";
      case "ZWR": return "ZWR";
      default: return "";
    }
  }

  public String getCurrencyDisplayName(String code) {
    switch (code) {
      case "ADP": return "ADP";
      case "AED": return "Apvienoto Arābu Emirātu dirhēms";
      case "AFA": return "AFA";
      case "AFN": return "Afganistānas afgāns";
      case "ALL": return "Albānijas leks";
      case "AMD": return "Armēnijas drams";
      case "ANG": return "Nīderlandes Antiļu guldenis";
      case "AOA": return "Angolas kvanza";
      case "AOK": return "AOK";
      case "AON": return "AON";
      case "AOR": return "AOR";
      case "ARA": return "ARA";
      case "ARL": return "ARL";
      case "ARM": return "ARM";
      case "ARP": return "ARP";
      case "ARS": return "Argentīnas peso";
      case "ATS": return "Austrijas šiliņš";
      case "AUD": return "Austrālijas dolārs";
      case "AWG": return "Arubas guldenis";
      case "AZM": return "Azerbaidžānas manats (1993–2006)";
      case "AZN": return "Azerbaidžānas manats";
      case "BAD": return "BAD";
      case "BAM": return "Bosnijas un Hercogovinas konvertējamā marka";
      case "BAN": return "BAN";
      case "BBD": return "Barbadosas dolārs";
      case "BDT": return "Bangladešas taka";
      case "BEC": return "BEC";
      case "BEF": return "Beļģijas franks";
      case "BEL": return "BEL";
      case "BGL": return "BGL";
      case "BGM": return "BGM";
      case "BGN": return "Bulgārijas leva";
      case "BGO": return "BGO";
      case "BHD": return "Bahreinas dinārs";
      case "BIF": return "Burundi franks";
      case "BMD": return "Bermudu dolārs";
      case "BND": return "Brunejas dolārs";
      case "BOB": return "Bolīvijas boliviano";
      case "BOL": return "BOL";
      case "BOP": return "BOP";
      case "BOV": return "BOV";
      case "BRB": return "BRB";
      case "BRC": return "BRC";
      case "BRE": return "BRE";
      case "BRL": return "Brazīlijas reāls";
      case "BRN": return "BRN";
      case "BRR": return "BRR";
      case "BRZ": return "BRZ";
      case "BSD": return "Bahamu dolārs";
      case "BTN": return "Butānas ngultrums";
      case "BUK": return "BUK";
      case "BWP": return "Botsvanas pula";
      case "BYB": return "BYB";
      case "BYN": return "Baltkrievijas rubelis";
      case "BYR": return "Baltkrievijas rubelis (2000–2016)";
      case "BZD": return "Belizas dolārs";
      case "CAD": return "Kanādas dolārs";
      case "CDF": return "KDR franks";
      case "CHE": return "CHE";
      case "CHF": return "Šveices franks";
      case "CHW": return "CHW";
      case "CLE": return "CLE";
      case "CLF": return "CLF";
      case "CLP": return "Čīles peso";
      case "CNY": return "Ķīnas juaņs";
      case "COP": return "Kolumbijas peso";
      case "COU": return "Kolumbijas reāls";
      case "CRC": return "Kostarikas kolons";
      case "CSD": return "CSD";
      case "CSK": return "CSK";
      case "CUC": return "Kubas konvertējamais peso";
      case "CUP": return "Kubas peso";
      case "CVE": return "Kaboverdes eskudo";
      case "CYP": return "Kipras mārciņa";
      case "CZK": return "Čehijas krona";
      case "DDM": return "DDM";
      case "DEM": return "Vācijas marka";
      case "DJF": return "Džibutijas franks";
      case "DKK": return "Dānijas krona";
      case "DOP": return "Dominikānas peso";
      case "DZD": return "Alžīrijas dinārs";
      case "ECS": return "ECS";
      case "ECV": return "ECV";
      case "EEK": return "Igaunijas krona";
      case "EGP": return "Ēģiptes mārciņa";
      case "ERN": return "Eritrejas nakfa";
      case "ESA": return "ESA";
      case "ESB": return "ESB";
      case "ESP": return "Spānijas peseta";
      case "ETB": return "Etiopijas birs";
      case "EUR": return "eiro";
      case "FIM": return "Somijas marka";
      case "FJD": return "Fidži dolārs";
      case "FKP": return "Folklenda Salu mārciņa";
      case "FRF": return "Francijas franks";
      case "GBP": return "Lielbritānijas mārciņa";
      case "GEK": return "GEK";
      case "GEL": return "Gruzijas lari";
      case "GHC": return "GHC";
      case "GHS": return "Ganas sedi";
      case "GIP": return "Gibraltāra mārciņa";
      case "GMD": return "Gambijas dalasi";
      case "GNF": return "Gvinejas franks";
      case "GNS": return "GNS";
      case "GQE": return "GQE";
      case "GRD": return "Grieķijas drahma";
      case "GTQ": return "Gvatemalas ketsals";
      case "GWE": return "GWE";
      case "GWP": return "GWP";
      case "GYD": return "Gajānas dolārs";
      case "HKD": return "Honkongas dolārs";
      case "HNL": return "Hondurasas lempīra";
      case "HRD": return "HRD";
      case "HRK": return "Horvātijas kuna";
      case "HTG": return "Haiti gurds";
      case "HUF": return "Ungārijas forints";
      case "IDR": return "Indonēzijas rūpija";
      case "IEP": return "Īrijas mārciņa";
      case "ILP": return "ILP";
      case "ILS": return "Izraēlas šekelis";
      case "INR": return "Indijas rūpija";
      case "IQD": return "Irākas dinārs";
      case "IRR": return "Irānas riāls";
      case "ISK": return "Islandes krona";
      case "ITL": return "Itālijas lira";
      case "JMD": return "Jamaikas dolārs";
      case "JOD": return "Jordānas dinārs";
      case "JPY": return "Japānas jena";
      case "KES": return "Kenijas šiliņš";
      case "KGS": return "Kirgizstānas soms";
      case "KHR": return "Kambodžas riels";
      case "KMF": return "Komoru franks";
      case "KPW": return "Ziemeļkorejas vona";
      case "KRH": return "KRH";
      case "KRO": return "KRO";
      case "KRW": return "Dienvidkorejas vona";
      case "KWD": return "Kuveitas dinārs";
      case "KYD": return "Kaimanu salu dolārs";
      case "KZT": return "Kazahstānas tenge";
      case "LAK": return "Laosas kips";
      case "LBP": return "Libānas mārciņa";
      case "LKR": return "Šrilankas rūpija";
      case "LRD": return "Libērijas dolārs";
      case "LSL": return "Lesoto loti";
      case "LTL": return "Lietuvas lits";
      case "LTT": return "LTT";
      case "LUC": return "LUC";
      case "LUF": return "Luksemburgas franks";
      case "LUL": return "LUL";
      case "LVL": return "Latvijas lats";
      case "LVR": return "Latvijas rublis";
      case "LYD": return "Lībijas dinārs";
      case "MAD": return "Marokas dirhēms";
      case "MAF": return "MAF";
      case "MCF": return "MCF";
      case "MDC": return "MDC";
      case "MDL": return "Moldovas leja";
      case "MGA": return "Madagaskaras ariari";
      case "MGF": return "MGF";
      case "MKD": return "Maķedonijas denārs";
      case "MKN": return "MKN";
      case "MLF": return "CFA (Āfrikas) franks";
      case "MMK": return "Mjanmas kjats";
      case "MNT": return "Mongolijas tugriks";
      case "MOP": return "Makao pataka";
      case "MRO": return "Mauritānijas ugija";
      case "MTL": return "Maltas lira";
      case "MTP": return "Maltas mārciņa";
      case "MUR": return "Maurīcijas rūpija";
      case "MVR": return "Maldīvijas rūfija";
      case "MWK": return "Malāvijas kvača";
      case "MXN": return "Meksikas peso";
      case "MXP": return "MXP";
      case "MXV": return "MXV";
      case "MYR": return "Malaizijas ringits";
      case "MZE": return "Mozambikas eskudo";
      case "MZM": return "Mozambikas vecais metikals";
      case "MZN": return "Mozambikas metikals";
      case "NAD": return "Namībijas dolārs";
      case "NGN": return "Nigērijas naira";
      case "NIC": return "NIC";
      case "NIO": return "Nikaragvas kordoba";
      case "NLG": return "Nīderlandes guldenis";
      case "NOK": return "Norvēģijas krona";
      case "NPR": return "Nepālas rūpija";
      case "NZD": return "Jaunzēlandes dolārs";
      case "OMR": return "Omānas riāls";
      case "PAB": return "Panamas balboa";
      case "PEI": return "PEI";
      case "PEN": return "Peru sols";
      case "PES": return "PES";
      case "PGK": return "Papua-Jaungvinejas kina";
      case "PHP": return "Filipīnu peso";
      case "PKR": return "Pakistānas rūpija";
      case "PLN": return "Polijas zlots";
      case "PLZ": return "PLZ";
      case "PTE": return "Portugāles eskudo";
      case "PYG": return "Paragvajas guarani";
      case "QAR": return "Kataras riāls";
      case "RHD": return "RHD";
      case "ROL": return "Rumānijas vecā leja";
      case "RON": return "Rumānijas leja";
      case "RSD": return "Serbijas dinārs";
      case "RUB": return "Krievijas rublis";
      case "RUR": return "RUR";
      case "RWF": return "Ruandas franks";
      case "SAR": return "Saūda riāls";
      case "SBD": return "Zālamana Salu dolārs";
      case "SCR": return "Seišelu salu rūpija";
      case "SDD": return "SDD";
      case "SDG": return "Sudānas mārciņa";
      case "SDP": return "SDP";
      case "SEK": return "Zviedrijas krona";
      case "SGD": return "Singapūras dolārs";
      case "SHP": return "Sv.Helēnas salas mārciņa";
      case "SIT": return "Slovēnijas tolars";
      case "SKK": return "Slovakijas krona";
      case "SLL": return "Sjerraleones leone";
      case "SOS": return "Somālijas šiliņš";
      case "SRD": return "Surinamas dolārs";
      case "SRG": return "Surinamas guldenis";
      case "SSP": return "Dienvidsudānas mārciņa";
      case "STD": return "Santome un Prinsipi dobra";
      case "SUR": return "SUR";
      case "SVC": return "Salvadoras kolons";
      case "SYP": return "Sīrijas mārciņa";
      case "SZL": return "Svazilendas lilangeni";
      case "THB": return "Taizemes bāts";
      case "TJR": return "TJR";
      case "TJS": return "Tadžikistānas somons";
      case "TMM": return "Turkmenistānas manats (1993–2009)";
      case "TMT": return "Turkmenistānas manats";
      case "TND": return "Tunisijas dinārs";
      case "TOP": return "Tongas paanga";
      case "TPE": return "TPE";
      case "TRL": return "Turcijas lira (1922–2005)";
      case "TRY": return "Turcijas lira";
      case "TTD": return "Trinidādas un Tobāgo dolārs";
      case "TWD": return "Taivānas jaunais dolārs";
      case "TZS": return "Tanzānijas šiliņš";
      case "UAH": return "Ukrainas grivna";
      case "UAK": return "UAK";
      case "UGS": return "UGS";
      case "UGX": return "Ugandas šiliņš";
      case "USD": return "ASV dolārs";
      case "USN": return "USN";
      case "USS": return "USS";
      case "UYI": return "UYI";
      case "UYP": return "UYP";
      case "UYU": return "Urugvajas peso";
      case "UZS": return "Uzbekistānas sums";
      case "VEB": return "Venecuēlas bolivārs (1871–2008)";
      case "VEF": return "Venecuēlas bolivārs";
      case "VND": return "Vjetnamas dongi";
      case "VNN": return "VNN";
      case "VUV": return "Vanuatu vatu";
      case "WST": return "Samoa tala";
      case "XAF": return "Centrālāfrikas CFA franks";
      case "XAG": return "sudrabs";
      case "XAU": return "zelts";
      case "XBA": return "Eiropas norēķinu vienība EURCO";
      case "XBB": return "Eiropas naudas vienība";
      case "XBC": return "Eiropas norēķinu vienība (XBC)";
      case "XBD": return "Eiropas norēķinu vienība (XBD)";
      case "XCD": return "Austrumkarību dolārs";
      case "XDR": return "Speciālās aizņēmuma tiesības";
      case "XEU": return "Eiropas norēķinu vienība";
      case "XFO": return "Francijas zelta franks";
      case "XFU": return "Francijas UIC franks";
      case "XOF": return "Rietumāfrikas CFA franks";
      case "XPD": return "pallādijs";
      case "XPF": return "CFP franks";
      case "XPT": return "platīns";
      case "XRE": return "XRE";
      case "XSU": return "XSU";
      case "XTS": return "Testa valūtas kods";
      case "XUA": return "XUA";
      case "XXX": return "Nezināma valūta";
      case "YDD": return "YDD";
      case "YER": return "Jemenas riāls";
      case "YUD": return "YUD";
      case "YUM": return "YUM";
      case "YUN": return "YUN";
      case "YUR": return "YUR";
      case "ZAL": return "ZAL";
      case "ZAR": return "Dienvidāfrikas rends";
      case "ZMK": return "Zambijas kvača (1968–2012)";
      case "ZMW": return "Zambijas kvača";
      case "ZRN": return "ZRN";
      case "ZRZ": return "ZRZ";
      case "ZWD": return "Zimbabves dolārs";
      case "ZWL": return "Zimbabves dolārs (2009)";
      case "ZWR": return "ZWR";
      default: return "";
    }
  }

  protected String getCurrencyPluralName(String code, PluralCategory category) {
    switch (code) {
      case "AED": {
        switch (category) {
          case ZERO: return "AAE dirhēmi";
          case ONE: return "AAE dirhēms";
          case OTHER:
              default: return "AAE dirhēmi";
        }
      }
      case "AFN": {
        switch (category) {
          case ZERO: return "Afganistānas afgāni";
          case ONE: return "Afganistānas afgāns";
          case OTHER:
              default: return "Afganistānas afgāni";
        }
      }
      case "ALL": {
        switch (category) {
          case ZERO: return "Albānijas leki";
          case ONE: return "Albānijas leks";
          case OTHER:
              default: return "Albānijas leki";
        }
      }
      case "AMD": {
        switch (category) {
          case ZERO: return "Armēnijas drami";
          case ONE: return "Armēnijas drams";
          case OTHER:
              default: return "Armēnijas drami";
        }
      }
      case "ANG": {
        switch (category) {
          case ZERO: return "Nīderlandes Antiļu guldeņi";
          case ONE: return "Nīderlandes Antiļu guldenis";
          case OTHER:
              default: return "Nīderlandes Antiļu guldeņi";
        }
      }
      case "AOA": {
        switch (category) {
          case ZERO: return "Angolas kvanzas";
          case ONE: return "Angolas kvanza";
          case OTHER:
              default: return "Angolas kvanzas";
        }
      }
      case "ARS": {
        switch (category) {
          case ZERO: return "Argentīnas peso";
          case ONE: return "Argentīnas peso";
          case OTHER:
              default: return "Argentīnas peso";
        }
      }
      case "AUD": {
        switch (category) {
          case ZERO: return "Austrālijas dolāri";
          case ONE: return "Austrālijas dolārs";
          case OTHER:
              default: return "Austrālijas dolāri";
        }
      }
      case "AWG": {
        switch (category) {
          case ZERO: return "Arubas guldeņi";
          case ONE: return "Arubas guldenis";
          case OTHER:
              default: return "Arubas guldeņi";
        }
      }
      case "AZM": {
        switch (category) {
          case ZERO: return "Azerbaidžānas manati (1993–2006)";
          case ONE: return "Azerbaidžānas manats (1993–2006)";
          case OTHER:
              default: return "Azerbaidžānas manati (1993–2006)";
        }
      }
      case "AZN": {
        switch (category) {
          case ZERO: return "Azerbaidžānas manati";
          case ONE: return "Azerbaidžānas manats";
          case OTHER:
              default: return "Azerbaidžānas manati";
        }
      }
      case "BAM": {
        switch (category) {
          case ZERO: return "Bosnijas un Hercogovinas konvertējamās markas";
          case ONE: return "Bosnijas un Hercogovinas konvertējamā marka";
          case OTHER:
              default: return "Bosnijas un Hercogovinas konvertējamās markas";
        }
      }
      case "BBD": {
        switch (category) {
          case ZERO: return "Barbadosas dolāri";
          case ONE: return "Barbadosas dolārs";
          case OTHER:
              default: return "Barbadosas dolāri";
        }
      }
      case "BDT": {
        switch (category) {
          case ZERO: return "Bangladešas takas";
          case ONE: return "Bangladešas taka";
          case OTHER:
              default: return "Bangladešas takas";
        }
      }
      case "BEF": {
        switch (category) {
          case ZERO: return "Beļģijas franki";
          case ONE: return "Beļģijas franks";
          case OTHER:
              default: return "Beļģijas franki";
        }
      }
      case "BGN": {
        switch (category) {
          case ZERO: return "Bulgārijas levas";
          case ONE: return "Bulgārijas leva";
          case OTHER:
              default: return "Bulgārijas levas";
        }
      }
      case "BHD": {
        switch (category) {
          case ZERO: return "Bahreinas dināri";
          case ONE: return "Bahreinas dinārs";
          case OTHER:
              default: return "Bahreinas dināri";
        }
      }
      case "BIF": {
        switch (category) {
          case ZERO: return "Burundi franki";
          case ONE: return "Burundi franks";
          case OTHER:
              default: return "Burundi franki";
        }
      }
      case "BMD": {
        switch (category) {
          case ZERO: return "Bermudu dolāri";
          case ONE: return "Bermudu dolārs";
          case OTHER:
              default: return "Bermudu dolāri";
        }
      }
      case "BND": {
        switch (category) {
          case ZERO: return "Brunejas dolāri";
          case ONE: return "Brunejas dolārs";
          case OTHER:
              default: return "Brunejas dolāri";
        }
      }
      case "BOB": {
        switch (category) {
          case ZERO: return "Bolīvijas boliviano";
          case ONE: return "Bolīvijas boliviano";
          case OTHER:
              default: return "Bolīvijas boliviano";
        }
      }
      case "BRL": {
        switch (category) {
          case ZERO: return "Brazīlijas reāli";
          case ONE: return "Brazīlijas reāls";
          case OTHER:
              default: return "Brazīlijas reāli";
        }
      }
      case "BSD": {
        switch (category) {
          case ZERO: return "Bahamu dolāri";
          case ONE: return "Bahamu dolārs";
          case OTHER:
              default: return "Bahamu dolāri";
        }
      }
      case "BTN": {
        switch (category) {
          case ZERO: return "Butānas ngultrumi";
          case ONE: return "Butānas ngultrums";
          case OTHER:
              default: return "Butānas ngultrumi";
        }
      }
      case "BWP": {
        switch (category) {
          case ZERO: return "Botsvanas pulas";
          case ONE: return "Botsvanas pula";
          case OTHER:
              default: return "Botsvanas pulas";
        }
      }
      case "BYN": {
        switch (category) {
          case ZERO: return "Baltkrievijas rubeļi";
          case ONE: return "Baltkrievijas rubelis";
          case OTHER:
              default: return "Baltkrievijas rubeļi";
        }
      }
      case "BYR": {
        switch (category) {
          case ZERO: return "Baltkrievijas rubeļi (2000–2016)";
          case ONE: return "Baltkrievijas rubelis (2000–2016)";
          case OTHER:
              default: return "Baltkrievijas rubeļi (2000–2016)";
        }
      }
      case "BZD": {
        switch (category) {
          case ZERO: return "Belizas dolāri";
          case ONE: return "Belizas dolārs";
          case OTHER:
              default: return "Belizas dolāri";
        }
      }
      case "CAD": {
        switch (category) {
          case ZERO: return "Kanādas dolāri";
          case ONE: return "Kanādas dolārs";
          case OTHER:
              default: return "Kanādas dolāri";
        }
      }
      case "CDF": {
        switch (category) {
          case ZERO: return "KDR franki";
          case ONE: return "KDR franks";
          case OTHER:
              default: return "KDR franki";
        }
      }
      case "CHF": {
        switch (category) {
          case ZERO: return "Šveices franki";
          case ONE: return "Šveices franks";
          case OTHER:
              default: return "Šveices franki";
        }
      }
      case "CLP": {
        switch (category) {
          case ZERO: return "Čīles peso";
          case ONE: return "Čīles peso";
          case OTHER:
              default: return "Čīles peso";
        }
      }
      case "CNY": {
        switch (category) {
          case ZERO: return "Ķīnas juaņi";
          case ONE: return "Ķīnas juaņs";
          case OTHER:
              default: return "Ķīnas juaņi";
        }
      }
      case "COP": {
        switch (category) {
          case ZERO: return "Kolumbijas peso";
          case ONE: return "Kolumbijas peso";
          case OTHER:
              default: return "Kolumbijas peso";
        }
      }
      case "CRC": {
        switch (category) {
          case ZERO: return "Kostarikas koloni";
          case ONE: return "Kostarikas kolons";
          case OTHER:
              default: return "Kostarikas koloni";
        }
      }
      case "CUC": {
        switch (category) {
          case ZERO: return "Kubas konvertējamie peso";
          case ONE: return "Kubas konvertējamais peso";
          case OTHER:
              default: return "Kubas konvertējamie peso";
        }
      }
      case "CUP": {
        switch (category) {
          case ZERO: return "Kubas peso";
          case ONE: return "Kubas peso";
          case OTHER:
              default: return "Kubas peso";
        }
      }
      case "CVE": {
        switch (category) {
          case ZERO: return "Kaboverdes eskudo";
          case ONE: return "Kaboverdes eskudo";
          case OTHER:
              default: return "Kaboverdes eskudo";
        }
      }
      case "CZK": {
        switch (category) {
          case ZERO: return "Čehijas kronas";
          case ONE: return "Čehijas krona";
          case OTHER:
              default: return "Čehijas kronas";
        }
      }
      case "DJF": {
        switch (category) {
          case ZERO: return "Džibutijas franki";
          case ONE: return "Džibutijas franks";
          case OTHER:
              default: return "Džibutijas franki";
        }
      }
      case "DKK": {
        switch (category) {
          case ZERO: return "Dānijas kronas";
          case ONE: return "Dānijas krona";
          case OTHER:
              default: return "Dānijas kronas";
        }
      }
      case "DOP": {
        switch (category) {
          case ZERO: return "Dominikānas peso";
          case ONE: return "Dominikānas peso";
          case OTHER:
              default: return "Dominikānas peso";
        }
      }
      case "DZD": {
        switch (category) {
          case ZERO: return "Alžīrijas dināri";
          case ONE: return "Alžīrijas dinārs";
          case OTHER:
              default: return "Alžīrijas dināri";
        }
      }
      case "EGP": {
        switch (category) {
          case ZERO: return "Ēģiptes mārciņas";
          case ONE: return "Ēģiptes mārciņa";
          case OTHER:
              default: return "Ēģiptes mārciņas";
        }
      }
      case "ERN": {
        switch (category) {
          case ZERO: return "Eritrejas nakfas";
          case ONE: return "Eritrejas nakfa";
          case OTHER:
              default: return "Eritrejas nakfas";
        }
      }
      case "ETB": {
        switch (category) {
          case ZERO: return "Etiopijas biri";
          case ONE: return "Etiopijas birs";
          case OTHER:
              default: return "Etiopijas biri";
        }
      }
      case "EUR": {
        switch (category) {
          case ZERO: return "eiro";
          case ONE: return "eiro";
          case OTHER:
              default: return "eiro";
        }
      }
      case "FJD": {
        switch (category) {
          case ZERO: return "Fidži dolāri";
          case ONE: return "Fidži dolārs";
          case OTHER:
              default: return "Fidži dolāri";
        }
      }
      case "FKP": {
        switch (category) {
          case ZERO: return "Folklenda Salu mārciņas";
          case ONE: return "Folklenda Salu mārciņa";
          case OTHER:
              default: return "Folklenda Salu mārciņas";
        }
      }
      case "GBP": {
        switch (category) {
          case ZERO: return "Lielbritānijas mārciņas";
          case ONE: return "Lielbritānijas mārciņa";
          case OTHER:
              default: return "Lielbritānijas mārciņas";
        }
      }
      case "GEL": {
        switch (category) {
          case ZERO: return "Gruzijas lari";
          case ONE: return "Gruzijas lari";
          case OTHER:
              default: return "Gruzijas lari";
        }
      }
      case "GHS": {
        switch (category) {
          case ZERO: return "Ganas sedi";
          case ONE: return "Ganas sedi";
          case OTHER:
              default: return "Ganas sedi";
        }
      }
      case "GIP": {
        switch (category) {
          case ZERO: return "Gibraltāra mārciņas";
          case ONE: return "Gibraltāra mārciņa";
          case OTHER:
              default: return "Gibraltāra mārciņas";
        }
      }
      case "GMD": {
        switch (category) {
          case ZERO: return "Gambijas dalasi";
          case ONE: return "Gambijas dalasi";
          case OTHER:
              default: return "Gambijas dalasi";
        }
      }
      case "GNF": {
        switch (category) {
          case ZERO: return "Gvinejas franki";
          case ONE: return "Gvinejas franks";
          case OTHER:
              default: return "Gvinejas franki";
        }
      }
      case "GTQ": {
        switch (category) {
          case ZERO: return "Gvatemalas ketsali";
          case ONE: return "Gvatemalas ketsals";
          case OTHER:
              default: return "Gvatemalas ketsali";
        }
      }
      case "GYD": {
        switch (category) {
          case ZERO: return "Gajānas dolāri";
          case ONE: return "Gajānas dolārs";
          case OTHER:
              default: return "Gajānas dolāri";
        }
      }
      case "HKD": {
        switch (category) {
          case ZERO: return "Honkongas dolāri";
          case ONE: return "Honkongas dolārs";
          case OTHER:
              default: return "Honkongas dolāri";
        }
      }
      case "HNL": {
        switch (category) {
          case ZERO: return "Hondurasas lempīras";
          case ONE: return "Hondurasas lempīra";
          case OTHER:
              default: return "Hondurasas lempīras";
        }
      }
      case "HRK": {
        switch (category) {
          case ZERO: return "Horvātijas kunas";
          case ONE: return "Horvātijas kuna";
          case OTHER:
              default: return "Horvātijas kunas";
        }
      }
      case "HTG": {
        switch (category) {
          case ZERO: return "Haiti gurdi";
          case ONE: return "Haiti gurds";
          case OTHER:
              default: return "Haiti gurdi";
        }
      }
      case "HUF": {
        switch (category) {
          case ZERO: return "Ungārijas forinti";
          case ONE: return "Ungārijas forints";
          case OTHER:
              default: return "Ungārijas forinti";
        }
      }
      case "IDR": {
        switch (category) {
          case ZERO: return "Indonēzijas rūpijas";
          case ONE: return "Indonēzijas rūpija";
          case OTHER:
              default: return "Indonēzijas rūpijas";
        }
      }
      case "ILS": {
        switch (category) {
          case ZERO: return "Izraēlas šekeļi";
          case ONE: return "Izraēlas šekelis";
          case OTHER:
              default: return "Izraēlas šekeļi";
        }
      }
      case "INR": {
        switch (category) {
          case ZERO: return "Indijas rūpijas";
          case ONE: return "Indijas rūpija";
          case OTHER:
              default: return "Indijas rūpijas";
        }
      }
      case "IQD": {
        switch (category) {
          case ZERO: return "Irākas dināri";
          case ONE: return "Irākas dinārs";
          case OTHER:
              default: return "Irākas dināri";
        }
      }
      case "IRR": {
        switch (category) {
          case ZERO: return "Irānas riāli";
          case ONE: return "Irānas riāls";
          case OTHER:
              default: return "Irānas riāli";
        }
      }
      case "ISK": {
        switch (category) {
          case ZERO: return "Islandes kronas";
          case ONE: return "Islandes krona";
          case OTHER:
              default: return "Islandes kronas";
        }
      }
      case "JMD": {
        switch (category) {
          case ZERO: return "Jamaikas dolāri";
          case ONE: return "Jamaikas dolārs";
          case OTHER:
              default: return "Jamaikas dolāri";
        }
      }
      case "JOD": {
        switch (category) {
          case ZERO: return "Jordānas dināri";
          case ONE: return "Jordānas dinārs";
          case OTHER:
              default: return "Jordānas dināri";
        }
      }
      case "JPY": {
        switch (category) {
          case ZERO: return "Japānas jenas";
          case ONE: return "Japānas jena";
          case OTHER:
              default: return "Japānas jenas";
        }
      }
      case "KES": {
        switch (category) {
          case ZERO: return "Kenijas šiliņi";
          case ONE: return "Kenijas šiliņš";
          case OTHER:
              default: return "Kenijas šiliņi";
        }
      }
      case "KGS": {
        switch (category) {
          case ZERO: return "Kirgizstānas somi";
          case ONE: return "Kirgizstānas soms";
          case OTHER:
              default: return "Kirgizstānas somi";
        }
      }
      case "KHR": {
        switch (category) {
          case ZERO: return "Kambodžas rieli";
          case ONE: return "Kambodžas riels";
          case OTHER:
              default: return "Kambodžas rieli";
        }
      }
      case "KMF": {
        switch (category) {
          case ZERO: return "Komoru franki";
          case ONE: return "Komoru franks";
          case OTHER:
              default: return "Komoru franki";
        }
      }
      case "KPW": {
        switch (category) {
          case ZERO: return "Ziemeļkorejas vonas";
          case ONE: return "Ziemeļkorejas vona";
          case OTHER:
              default: return "Ziemeļkorejas vonas";
        }
      }
      case "KRW": {
        switch (category) {
          case ZERO: return "Dienvidkorejas vonas";
          case ONE: return "Dienvidkorejas vona";
          case OTHER:
              default: return "Dienvidkorejas vonas";
        }
      }
      case "KWD": {
        switch (category) {
          case ZERO: return "Kuveitas dināri";
          case ONE: return "Kuveitas dinārs";
          case OTHER:
              default: return "Kuveitas dināri";
        }
      }
      case "KYD": {
        switch (category) {
          case ZERO: return "Kaimanu salu dolāri";
          case ONE: return "Kaimanu salu dolārs";
          case OTHER:
              default: return "Kaimanu salu dolāri";
        }
      }
      case "KZT": {
        switch (category) {
          case ZERO: return "Kazahstānas tenges";
          case ONE: return "Kazahstānas tenge";
          case OTHER:
              default: return "Kazahstānas tenges";
        }
      }
      case "LAK": {
        switch (category) {
          case ZERO: return "Laosas kipi";
          case ONE: return "Laosas kips";
          case OTHER:
              default: return "Laosas kipi";
        }
      }
      case "LBP": {
        switch (category) {
          case ZERO: return "Libānas mārciņas";
          case ONE: return "Libānas mārciņa";
          case OTHER:
              default: return "Libānas mārciņas";
        }
      }
      case "LKR": {
        switch (category) {
          case ZERO: return "Šrilankas rūpijas";
          case ONE: return "Šrilankas rūpija";
          case OTHER:
              default: return "Šrilankas rūpijas";
        }
      }
      case "LRD": {
        switch (category) {
          case ZERO: return "Libērijas dolāri";
          case ONE: return "Libērijas dolārs";
          case OTHER:
              default: return "Libērijas dolāri";
        }
      }
      case "LTL": {
        switch (category) {
          case ZERO: return "Lietuvas liti";
          case ONE: return "Lietuvas lits";
          case OTHER:
              default: return "Lietuvas liti";
        }
      }
      case "LVL": {
        switch (category) {
          case ZERO: return "Latvijas lati";
          case ONE: return "Latvijas lats";
          case OTHER:
              default: return "Latvijas lati";
        }
      }
      case "LYD": {
        switch (category) {
          case ZERO: return "Lībijas dināri";
          case ONE: return "Lībijas dinārs";
          case OTHER:
              default: return "Lībijas dināri";
        }
      }
      case "MAD": {
        switch (category) {
          case ZERO: return "Marokas dirhēmi";
          case ONE: return "Marokas dirhēms";
          case OTHER:
              default: return "Marokas dirhēmi";
        }
      }
      case "MDL": {
        switch (category) {
          case ZERO: return "Moldovas lejas";
          case ONE: return "Moldovas leja";
          case OTHER:
              default: return "Moldovas lejas";
        }
      }
      case "MGA": {
        switch (category) {
          case ZERO: return "Madagaskaras ariari";
          case ONE: return "Madagaskaras ariari";
          case OTHER:
              default: return "Madagaskaras ariari";
        }
      }
      case "MKD": {
        switch (category) {
          case ZERO: return "Maķedonijas denāri";
          case ONE: return "Maķedonijas denārs";
          case OTHER:
              default: return "Maķedonijas denāri";
        }
      }
      case "MMK": {
        switch (category) {
          case ZERO: return "Mjanmas kjati";
          case ONE: return "Mjanmas kjats";
          case OTHER:
              default: return "Mjanmas kjati";
        }
      }
      case "MNT": {
        switch (category) {
          case ZERO: return "Mongolijas tugriki";
          case ONE: return "Mongolijas tugriks";
          case OTHER:
              default: return "Mongolijas tugriki";
        }
      }
      case "MOP": {
        switch (category) {
          case ZERO: return "Makao patakas";
          case ONE: return "Makao pataka";
          case OTHER:
              default: return "Makao patakas";
        }
      }
      case "MRO": {
        switch (category) {
          case ZERO: return "Mauritānijas ugijas";
          case ONE: return "Mauritānijas ugija";
          case OTHER:
              default: return "Mauritānijas ugijas";
        }
      }
      case "MUR": {
        switch (category) {
          case ZERO: return "Maurīcijas rūpijas";
          case ONE: return "Maurīcijas rūpija";
          case OTHER:
              default: return "Maurīcijas rūpijas";
        }
      }
      case "MVR": {
        switch (category) {
          case ZERO: return "Maldīvijas rūfijas";
          case ONE: return "Maldīvijas rūfija";
          case OTHER:
              default: return "Maldīvijas rūfijas";
        }
      }
      case "MWK": {
        switch (category) {
          case ZERO: return "Malāvijas kvačas";
          case ONE: return "Malāvijas kvača";
          case OTHER:
              default: return "Malāvijas kvačas";
        }
      }
      case "MXN": {
        switch (category) {
          case ZERO: return "Meksikas peso";
          case ONE: return "Meksikas peso";
          case OTHER:
              default: return "Meksikas peso";
        }
      }
      case "MYR": {
        switch (category) {
          case ZERO: return "Malaizijas ringiti";
          case ONE: return "Malaizijas ringits";
          case OTHER:
              default: return "Malaizijas ringiti";
        }
      }
      case "MZM": {
        switch (category) {
          case ZERO: return "Mozambikas vecie metikali";
          case ONE: return "Mozambikas vecais metikals";
          case OTHER:
              default: return "Mozambikas vecie metikali";
        }
      }
      case "MZN": {
        switch (category) {
          case ZERO: return "Mozambikas metikali";
          case ONE: return "Mozambikas metikals";
          case OTHER:
              default: return "Mozambikas metikali";
        }
      }
      case "NAD": {
        switch (category) {
          case ZERO: return "Namībijas dolāri";
          case ONE: return "Namībijas dolārs";
          case OTHER:
              default: return "Namībijas dolāri";
        }
      }
      case "NGN": {
        switch (category) {
          case ZERO: return "Nigērijas nairas";
          case ONE: return "Nigērijas naira";
          case OTHER:
              default: return "Nigērijas nairas";
        }
      }
      case "NIO": {
        switch (category) {
          case ZERO: return "Nikaragvas kordobas";
          case ONE: return "Nikaragvas kordoba";
          case OTHER:
              default: return "Nikaragvas kordobas";
        }
      }
      case "NOK": {
        switch (category) {
          case ZERO: return "Norvēģijas kronas";
          case ONE: return "Norvēģijas krona";
          case OTHER:
              default: return "Norvēģijas kronas";
        }
      }
      case "NPR": {
        switch (category) {
          case ZERO: return "Nepālas rūpijas";
          case ONE: return "Nepālas rūpija";
          case OTHER:
              default: return "Nepālas rūpijas";
        }
      }
      case "NZD": {
        switch (category) {
          case ZERO: return "Jaunzēlandes dolāri";
          case ONE: return "Jaunzēlandes dolārs";
          case OTHER:
              default: return "Jaunzēlandes dolāri";
        }
      }
      case "OMR": {
        switch (category) {
          case ZERO: return "Omānas riāli";
          case ONE: return "Omānas riāls";
          case OTHER:
              default: return "Omānas riāli";
        }
      }
      case "PAB": {
        switch (category) {
          case ZERO: return "Panamas balboa";
          case ONE: return "Panamas balboa";
          case OTHER:
              default: return "Panamas balboa";
        }
      }
      case "PEN": {
        switch (category) {
          case ZERO: return "Peru soli";
          case ONE: return "Peru sols";
          case OTHER:
              default: return "Peru soli";
        }
      }
      case "PGK": {
        switch (category) {
          case ZERO: return "Papua-Jaungvinejas kinas";
          case ONE: return "Papua-Jaungvinejas kina";
          case OTHER:
              default: return "Papua-Jaungvinejas kinas";
        }
      }
      case "PHP": {
        switch (category) {
          case ZERO: return "Filipīnu peso";
          case ONE: return "Filipīnu peso";
          case OTHER:
              default: return "Filipīnu peso";
        }
      }
      case "PKR": {
        switch (category) {
          case ZERO: return "Pakistānas rūpijas";
          case ONE: return "Pakistānas rūpija";
          case OTHER:
              default: return "Pakistānas rūpijas";
        }
      }
      case "PLN": {
        switch (category) {
          case ZERO: return "Polijas zloti";
          case ONE: return "Polijas zlots";
          case OTHER:
              default: return "Polijas zloti";
        }
      }
      case "PYG": {
        switch (category) {
          case ZERO: return "Paragvajas guarani";
          case ONE: return "Paragvajas guarani";
          case OTHER:
              default: return "Paragvajas guarani";
        }
      }
      case "QAR": {
        switch (category) {
          case ZERO: return "Kataras riāli";
          case ONE: return "Kataras riāls";
          case OTHER:
              default: return "Kataras riāli";
        }
      }
      case "ROL": {
        switch (category) {
          case ZERO: return "Rumānijas vecās levas";
          case ONE: return "Rumānijas vecā leva";
          case OTHER:
              default: return "Rumānijas vecās levas";
        }
      }
      case "RON": {
        switch (category) {
          case ZERO: return "Rumānijas lejas";
          case ONE: return "Rumānijas leja";
          case OTHER:
              default: return "Rumānijas lejas";
        }
      }
      case "RSD": {
        switch (category) {
          case ZERO: return "Serbijas dināri";
          case ONE: return "Serbijas dinārs";
          case OTHER:
              default: return "Serbijas dināri";
        }
      }
      case "RUB": {
        switch (category) {
          case ZERO: return "Krievijas rubļi";
          case ONE: return "Krievijas rublis";
          case OTHER:
              default: return "Krievijas rubļi";
        }
      }
      case "RWF": {
        switch (category) {
          case ZERO: return "Ruandas franki";
          case ONE: return "Ruandas franks";
          case OTHER:
              default: return "Ruandas franki";
        }
      }
      case "SAR": {
        switch (category) {
          case ZERO: return "Saūda riāli";
          case ONE: return "Saūda riāls";
          case OTHER:
              default: return "Saūda riāli";
        }
      }
      case "SBD": {
        switch (category) {
          case ZERO: return "Zālamana Salu dolāri";
          case ONE: return "Zālamana Salu dolārs";
          case OTHER:
              default: return "Zālamana Salu dolāri";
        }
      }
      case "SCR": {
        switch (category) {
          case ZERO: return "Seišelu salu rūpijas";
          case ONE: return "Seišelu salu rūpija";
          case OTHER:
              default: return "Seišelu salu rūpijas";
        }
      }
      case "SDG": {
        switch (category) {
          case ZERO: return "Sudānas mārciņas";
          case ONE: return "Sudānas mārciņa";
          case OTHER:
              default: return "Sudānas mārciņas";
        }
      }
      case "SEK": {
        switch (category) {
          case ZERO: return "Zviedrijas kronas";
          case ONE: return "Zviedrijas krona";
          case OTHER:
              default: return "Zviedrijas kronas";
        }
      }
      case "SGD": {
        switch (category) {
          case ZERO: return "Singapūras dolāri";
          case ONE: return "Singapūras dolārs";
          case OTHER:
              default: return "Singapūras dolāri";
        }
      }
      case "SHP": {
        switch (category) {
          case ZERO: return "Sv.Helēnas salas mārciņas";
          case ONE: return "Sv.Helēnas salas mārciņa";
          case OTHER:
              default: return "Sv.Helēnas salas mārciņas";
        }
      }
      case "SLL": {
        switch (category) {
          case ZERO: return "Sjerraleones leones";
          case ONE: return "Sjerraleones leone";
          case OTHER:
              default: return "Sjerraleones leones";
        }
      }
      case "SOS": {
        switch (category) {
          case ZERO: return "Somālijas šiliņi";
          case ONE: return "Somālijas šiliņš";
          case OTHER:
              default: return "Somālijas šiliņi";
        }
      }
      case "SRD": {
        switch (category) {
          case ZERO: return "Surinamas dolāri";
          case ONE: return "Surinamas dolārs";
          case OTHER:
              default: return "Surinamas dolāri";
        }
      }
      case "SSP": {
        switch (category) {
          case ZERO: return "Dienvidsudānas mārciņas";
          case ONE: return "Dienvidsudānas mārciņa";
          case OTHER:
              default: return "Dienvidsudānas mārciņas";
        }
      }
      case "STD": {
        switch (category) {
          case ZERO: return "Santome un Prinsipi dobras";
          case ONE: return "Santome un Prinsipi dobra";
          case OTHER:
              default: return "Santome un Prinsipi dobras";
        }
      }
      case "SYP": {
        switch (category) {
          case ZERO: return "Sīrijas mārciņas";
          case ONE: return "Sīrijas mārciņa";
          case OTHER:
              default: return "Sīrijas mārciņas";
        }
      }
      case "SZL": {
        switch (category) {
          case ZERO: return "Svazilendas lilangeni";
          case ONE: return "Svazilendas lilangeni";
          case OTHER:
              default: return "Svazilendas lilangeni";
        }
      }
      case "THB": {
        switch (category) {
          case ZERO: return "Taizemes bāti";
          case ONE: return "Taizemes bāts";
          case OTHER:
              default: return "Taizemes bāti";
        }
      }
      case "TJS": {
        switch (category) {
          case ZERO: return "Tadžikistānas somoni";
          case ONE: return "Tadžikistānas somons";
          case OTHER:
              default: return "Tadžikistānas somoni";
        }
      }
      case "TMM": {
        switch (category) {
          case ZERO: return "Turkmenistānas manati (1993–2009)";
          case ONE: return "Turkmenistānas manats (1993–2009)";
          case OTHER:
              default: return "Turkmenistānas manati (1993–2009)";
        }
      }
      case "TMT": {
        switch (category) {
          case ZERO: return "Turkmenistānas manati";
          case ONE: return "Turkmenistānas manats";
          case OTHER:
              default: return "Turkmenistānas manati";
        }
      }
      case "TND": {
        switch (category) {
          case ZERO: return "Tunisijas dināri";
          case ONE: return "Tunisijas dinārs";
          case OTHER:
              default: return "Tunisijas dināri";
        }
      }
      case "TOP": {
        switch (category) {
          case ZERO: return "Tongas paangas";
          case ONE: return "Tongas paanga";
          case OTHER:
              default: return "Tongas paangas";
        }
      }
      case "TRL": {
        switch (category) {
          case ZERO: return "Turcijas liras (1922–2005)";
          case ONE: return "Turcijas lira (1922–2005)";
          case OTHER:
              default: return "Turcijas liras (1922–2005)";
        }
      }
      case "TRY": {
        switch (category) {
          case ZERO: return "Turcijas liras";
          case ONE: return "Turcijas lira";
          case OTHER:
              default: return "Turcijas liras";
        }
      }
      case "TTD": {
        switch (category) {
          case ZERO: return "Trinidādas un Tobāgo dolāri";
          case ONE: return "Trinidādas un Tobāgo dolārs";
          case OTHER:
              default: return "Trinidādas un Tobāgo dolāri";
        }
      }
      case "TWD": {
        switch (category) {
          case ZERO: return "Taivānas jaunie dolāri";
          case ONE: return "Taivānas jaunais dolārs";
          case OTHER:
              default: return "Taivānas jaunie dolāri";
        }
      }
      case "TZS": {
        switch (category) {
          case ZERO: return "Tanzānijas šiliņi";
          case ONE: return "Tanzānijas šiliņš";
          case OTHER:
              default: return "Tanzānijas šiliņi";
        }
      }
      case "UAH": {
        switch (category) {
          case ZERO: return "Ukrainas grivnas";
          case ONE: return "Ukrainas grivna";
          case OTHER:
              default: return "Ukrainas grivnas";
        }
      }
      case "UGX": {
        switch (category) {
          case ZERO: return "Ugandas šiliņi";
          case ONE: return "Ugandas šiliņš";
          case OTHER:
              default: return "Ugandas šiliņi";
        }
      }
      case "USD": {
        switch (category) {
          case ZERO: return "ASV dolāri";
          case ONE: return "ASV dolārs";
          case OTHER:
              default: return "ASV dolāri";
        }
      }
      case "UYU": {
        switch (category) {
          case ZERO: return "Urugvajas peso";
          case ONE: return "Urugvajas peso";
          case OTHER:
              default: return "Urugvajas peso";
        }
      }
      case "UZS": {
        switch (category) {
          case ZERO: return "Uzbekistānas sumi";
          case ONE: return "Uzbekistānas sums";
          case OTHER:
              default: return "Uzbekistānas sumi";
        }
      }
      case "VEB": {
        switch (category) {
          case ZERO: return "Venecuēlas bolivāri (1871–2008)";
          case ONE: return "Venecuēlas bolivārs (1871–2008)";
          case OTHER:
              default: return "Venecuēlas bolivāri (1871–2008)";
        }
      }
      case "VEF": {
        switch (category) {
          case ZERO: return "Venecuēlas bolivāri";
          case ONE: return "Venecuēlas bolivārs";
          case OTHER:
              default: return "Venecuēlas bolivāri";
        }
      }
      case "VND": {
        switch (category) {
          case ZERO: return "Vjetnamas dongi";
          case ONE: return "Vjetnamas dongi";
          case OTHER:
              default: return "Vjetnamas dongi";
        }
      }
      case "VUV": {
        switch (category) {
          case ZERO: return "Vanuatu vatu";
          case ONE: return "Vanuatu vatu";
          case OTHER:
              default: return "Vanuatu vatu";
        }
      }
      case "WST": {
        switch (category) {
          case ZERO: return "Samoa talas";
          case ONE: return "Samoa tala";
          case OTHER:
              default: return "Samoa talas";
        }
      }
      case "XAF": {
        switch (category) {
          case ZERO: return "Centrālāfrikas CFA franki";
          case ONE: return "Centrālāfrikas CFA franks";
          case OTHER:
              default: return "Centrālāfrikas CFA franki";
        }
      }
      case "XBA": {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības EURCO";
          case ONE: return "Eiropas norēķinu vienība EURCO";
          case OTHER:
              default: return "Eiropas norēķinu vienības EURCO";
        }
      }
      case "XBC": {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības (XBC)";
          case ONE: return "Eiropas norēķinu vienība (XBC)";
          case OTHER:
              default: return "Eiropas norēķinu vienības (XBC)";
        }
      }
      case "XBD": {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības (XBD)";
          case ONE: return "Eiropas norēķinu vienība (XBD)";
          case OTHER:
              default: return "Eiropas norēķinu vienības (XBD)";
        }
      }
      case "XCD": {
        switch (category) {
          case ZERO: return "Austrumkarību dolāri";
          case ONE: return "Austrumkarību dolārs";
          case OTHER:
              default: return "Austrumkarību dolāri";
        }
      }
      case "XOF": {
        switch (category) {
          case ZERO: return "Rietumāfrikas CFA franki";
          case ONE: return "Rietumāfrikas CFA franks";
          case OTHER:
              default: return "Rietumāfrikas CFA franki";
        }
      }
      case "XPF": {
        switch (category) {
          case ZERO: return "CFP franki";
          case ONE: return "CFP franks";
          case OTHER:
              default: return "CFP franki";
        }
      }
      case "XTS": {
        switch (category) {
          case ZERO: return "testa valūtas kods";
          case ONE: return "testa valūtas kods";
          case OTHER:
              default: return "testa valūtas kods";
        }
      }
      case "XXX": {
        switch (category) {
          case ZERO: return "(nezināma valūta)";
          case ONE: return "(nezināma valūta)";
          case OTHER:
              default: return "(nezināma valūta)";
        }
      }
      case "YER": {
        switch (category) {
          case ZERO: return "Jemenas riāli";
          case ONE: return "Jemenas riāls";
          case OTHER:
              default: return "Jemenas riāli";
        }
      }
      case "ZAR": {
        switch (category) {
          case ZERO: return "Dienvidāfrikas rendi";
          case ONE: return "Dienvidāfrikas rends";
          case OTHER:
              default: return "Dienvidāfrikas rendi";
        }
      }
      case "ZMK": {
        switch (category) {
          case ZERO: return "Zambijas kvačas (1968–2012)";
          case ONE: return "Zambijas kvača (1968–2012)";
          case OTHER:
              default: return "Zambijas kvačas (1968–2012)";
        }
      }
      case "ZMW": {
        switch (category) {
          case ZERO: return "Zambijas kvačas";
          case ONE: return "Zambijas kvača";
          case OTHER:
              default: return "Zambijas kvačas";
        }
      }
      case "ZWL": {
        switch (category) {
          case ZERO: return "Zimbabves dollāri (2009)";
          case ONE: return "Zimbabves dollārs (2009)";
          case OTHER:
              default: return "Zimbabves dollāri (2009)";
        }
      }
      default: return "";
    }
  }

  public int getCurrencyDigits(String code) {
    return _CurrencyUtil.getCurrencyDigits(code);
  }

  protected void wrapUnits(PluralCategory category, DigitBuffer dbuf, String unit,
      StringBuilder dest) {
    switch (category) {
      case ZERO: {
        dbuf.appendTo(dest);
        dest.append(" ");
        dest.append(unit);
        break;
      }
      case OTHER:
      default: {
        dbuf.appendTo(dest);
        dest.append(" ");
        dest.append(unit);
        break;
      }
      case ONE: {
        dbuf.appendTo(dest);
        dest.append(" ");
        dest.append(unit);
        break;
      }
    }
  }

  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 = "NS";
      this.currencyDecimal = ",";
      this.currencyGroup = " ";
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy