Class CurrencyMetaInfo.CurrencyInfo

    • Field Detail

      • region

        public final String region
        Region code where currency is used.
        Status:
        Stable ICU 4.4.
      • code

        public final String code
        The three-letter ISO currency code.
        Status:
        Stable ICU 4.4.
      • from

        public final long from
        Date on which the currency was first officially used in the region. This is midnight at the start of the first day on which the currency was used, GMT. If there is no date, this is Long.MIN_VALUE;
        Status:
        Stable ICU 4.4.
      • to

        public final long to
        Date at which the currency stopped being officially used in the region. This is one millisecond before midnight at the end of the last day on which the currency was used, GMT. If there is no date, this is Long.MAX_VALUE.
        Status:
        Stable ICU 4.4.
      • priority

        public final int priority
        Preference order of currencies being used at the same time in the region. Lower values are preferred (generally, this is a transition from an older to a newer currency). Priorities within a single country are unique.
        Status:
        Stable ICU 49.
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of this object, useful for debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        Status:
        Stable ICU 4.4.
      • isTender

        public boolean isTender()
        Determine whether or not this currency was once used, is used, or will be used as tender in this region.
        Status:
        Stable ICU 51.