- convert
Converts the given distance from the given DistanceUnit, to the given
DistanceUnit
- toMeters
Convert a value into meters
- fromString
Convert a String to a DistanceUnit
- getEarthCircumference
Measures the circumference of earth in this unit
- ordinal
- parse
Parses a given distance and converts it to the specified unit.
- toString
Convert a value to a distance string
- values
- readFromStream
Read a DistanceUnit from a StreamInput.
- writeTo
Write a DistanceUnit to a StreamOutput.
- getDistancePerDegree
Measures a longitude in this unit
- fromMeters
Convert a value given in meters to a value of this unit