Skip to content

Add a variant option when obtaining a UnitFormat from FormatService. #200

@jfarjona

Description

@jfarjona

It would be great to be able to obtain the variants for the formatting of units. This is a case for UCUM to obtain a formatter that uses the print, case sensitive or case insensitive formatting (see https://unitsofmeasure.org/ucum.html).

The additional method could be:

UnitFormat getUnitFormat(String name, String variant)

Thanks for the good work!

Juan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions