Fahrenheit

data class Fahrenheit(val start: Double, val endInclusive: Double) : TypedRange<Double>

Constructors

Link copied to clipboard
constructor(start: Double, endInclusive: Double)

Properties

Link copied to clipboard
open override val endInclusive: Double
Link copied to clipboard
open override val start: Double
Link copied to clipboard
open override val unitText: String

Functions

Link copied to clipboard
open operator fun contains(value: Double): Boolean
Link copied to clipboard
open fun isEmpty(): Boolean
Link copied to clipboard

Creates a new ClosedRange<Measurement<UnitType>> from a numeric range using the same unit type as this range.

Link copied to clipboard
Link copied to clipboard

Returns a ClosedRange<Double> with just the numeric values from a range of Measurements.

Returns numeric bounds converted to the specified unit first.