Class InternalNumberFormat

java.lang.Object
com.aquima.interactions.foundation.text.InternalNumberFormat
All Implemented Interfaces:
Serializable

public final class InternalNumberFormat extends Object implements Serializable
Warning, this is an implementation class providing java specific features. Do not call or use this class directly.

(before 9.0 this class was known as com.aquima.interactions.foundation.text.impl.JavaNumberFormat)

Since:
6.0
Author:
F. van der Meer
See Also:
  • Constructor Details

    • InternalNumberFormat

      public InternalNumberFormat(Locale locale, NumberFormatSettings settings)
      Warning, internal class. Do not use.
      Parameters:
      locale - The locale for which the settings apply.
      settings - The settings for the number representation
  • Method Details

    • format

      public String format(long number)
      Warning, internal method. Do not use!
      Parameters:
      number - The number to format.
      Returns:
      the formatted number
    • format

      public String format(double number)
      Warning, internal method. Do not use!
      Parameters:
      number - The number to format.
      Returns:
      the formatted number
    • parse

      public double parse(String text)
      Warning, internal method. Do not use!
      Parameters:
      text - The text to parse.
      Returns:
      the parsed number
    • parseInteger

      public long parseInteger(String text)
      Warning, internal method. Do not use!
      Parameters:
      text - The text to parse.
      Returns:
      the parsed integer
    • getGroupingSize

      protected Integer getGroupingSize()
    • getGroupingSeparator

      protected char getGroupingSeparator()
    • getDecimalSeparator

      protected char getDecimalSeparator()