Serialized Form

  • Package tech.uom.seshat

    • Class QuantityFormat

      class QuantityFormat extends Format implements Serializable
      serialVersionUID:
      1014042719969477503L
      • Serialized Fields

        • numberFormat
          NumberFormat numberFormat
          The format for parsing and formatting the number part.
        • unitFormat
          UnitFormat unitFormat
          The format for parsing and formatting the unit of measurement part.
    • Class UnitFormat

      class UnitFormat extends Format implements Serializable
      serialVersionUID:
      -3064428584419360693L
      • Serialized Fields

        • labelToUnit
          Map<String,Unit<?>> labelToUnit
          Units associated to a given label (in addition to the system-wide UnitRegistry). This map is the converse of UnitFormat.unitToLabel. The Unit instances may differ from the ones specified by user since AbstractUnit.symbol may have been set to the label specified by the user. The labels may contain some characters normally not allowed in unit symbols, like white spaces.
          See Also:
        • locale
          Locale locale
          The locale specified at construction time or modified by UnitFormat.setLocale(Locale).
          See Also:
        • parseAuthorityCodes
          boolean parseAuthorityCodes
          Whether the parsing of authority codes such as "EPSG:9001" is allowed.
        • style
          UnitFormat.Style style
          Whether this UnitFormat should format long names like "metre" or use unit symbols.
          See Also:
        • unitToLabel
          Map<Unit<?>,String> unitToLabel
          Symbols or names to use for formatting units in replacement to the default unit symbols or names. The Unit instances are the ones specified by user in calls to UnitFormat.label(Unit, String).
          See Also: