Package | Description |
---|---|
org.gbif.api.model.occurrence.geo |
Modifier and Type | Field and Description |
---|---|
static DistanceUnit |
DistanceUnit.DEFAULT |
DistanceUnit |
DistanceUnit.Distance.unit |
Modifier and Type | Method and Description |
---|---|
DistanceUnit |
DistanceUnit.Distance.getUnit() |
static DistanceUnit |
DistanceUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceUnit[] |
DistanceUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static double |
DistanceUnit.convert(double distance,
DistanceUnit from,
DistanceUnit to)
Converts the given distance from the given DistanceUnit, to the given DistanceUnit
|
Constructor and Description |
---|
Distance(double value,
DistanceUnit unit) |
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.