indriya icon indicating copy to clipboard operation
indriya copied to clipboard

JSR 385 - Reference Implementation

Results 47 indriya issues
Sort by recently updated
recently updated
newest added

Following the discussion #328 [Apache Commons Numbers](https://commons.apache.org/proper/commons-numbers/) is now final for some time. For an alternative Number System the [fraction](https://commons.apache.org/proper/commons-numbers/commons-numbers-fraction/index.html) module sounds best suited.

help wanted
task

task
deferred
performance
prio:4

There should be mechanism to get a list of all valid Dimension for a Quantity LENGTH and other quantity too.

analysis
deferred

Several code fragments assume that any Unit is an (or a subtype of) `AbstractUnit`. 1) This might result in `ClassCastException`s, when instead we should throw a proper and more descriptive...

enhancement
help wanted

Is this behavior correct? ``` Unit u = METRE_PER_SECOND; u.mulitply(0.001).divide(0.001) != u? ``` Test... ``` private static final JsonMapper UOM_JSON_MAPPER = JsonMapper.builder() .addModule(new UnitJacksonModule()) .build(); public static String serialize(Object objectToSerialize)...

analysis

Change OSGi generation from Felix `maven-bundle-plugin` to `bnd-maven-plugin`. The Felix plugin still seems problematic with extra attributes like Automatic-Module-Name after 4.x and that version of the plugin is not compatible...

task
deferred
prio:3

Based on https://github.com/unitsofmeasurement/indriya/issues/257#issuecomment-532363116 there could be a need for some special handling of the Newton-metre, because like [Wikipedia](https://en.wikipedia.org/wiki/Newton-metre) also states: > This usage is generally discouraged,[[3]](https://en.wikipedia.org/wiki/Newton-metre#cite_note-3) since it can lead...

enhancement
help wanted
analysis

Currently, both Quantity#toString and Unit#toString default to a built-in formatter, SimpleQuantityFormat and SimpleUnitFormat. I believe it would be useful to provide a way to set a custom formatter globally, especially...

deferred
format

This is a revisit of #271. Many units are without their names because they're derived from others. This greatly reduces the usefulness of Unit#getName. These all return `null`: `Units.GRAM.getName()` (expected:...

enhancement
format

[`No Unit found`](https://github.com/unitsofmeasurement/indriya/blob/master/src/main/java/tech/units/indriya/format/CommonFormatter.java#L66) is not descriptive at all. We should at least make that error message more clear for cases like: - "75kg" instead of "75 kg" _Our assumption for...

help wanted
good first issue
prio:3
format