FlightLevel

value class FlightLevel(val feet: Int)(source)

Discrete altitude value expressed in feet.

The project uses simplified flight levels rather than real aeronautical vertical profiles. The value class keeps altitude validation close to the domain model.

Constructors

Link copied to clipboard
constructor(feet: Int)

Properties

Link copied to clipboard
val feet: Int

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard