-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Parse "mile" or "mi" to USCustomary.MILE #50
Comments
It could be. Would it be possible to try 0.6-SNAPSHOT of systems-common-java8? You find the additional repositories for the snapshot builds in every parent POM like https://github.com/unitsofmeasurement/uom-systems/blob/master/pom.xml |
Using 0.6-SNAPSHOT prints |
Yes, it's not an API element right now, but with alias() you can do, see
|
Addressed in 0.6, will close. Plan to release 0.6 after a few more tests. |
I'm trying to parse the string
mile
intoUSCustomary.MILE
but I get a parse exception instead.throws
I tried parsing
mi
as well but I get the same error.Is unit parsing not supported for miles? It works with meters. Or perhaps I'm using the wrong set of libraries?
This is my list of maven dependencies:
Could it be related to #39? When I print
USCustomary.MILE
, I getm*201168.0/125.0
instead ofmile
so could it be I'm missing some resource?The text was updated successfully, but these errors were encountered: