Package-level declarations

Types

Link copied to clipboard

The format that defines in what units the Distance should be formatted.

Link copied to clipboard

Provides methods to format a Distance into a FormattedDistance according to

Link copied to clipboard
Link copied to clipboard
data class FormattedDistance(val distance: String, val units: DistanceUnit)

Represents a formatted distance and units. A Distance can be formatted by DistanceFormatter according to its raw value and DistanceFormat.

Functions

Link copied to clipboard

Returns true if FormattedDistance.distance equals to zero, false otherwise.