TTUnitEnergyDensity
public final class TTUnitEnergyDensity : Dimension
Unit specifying the energy density (of fuel). For example, energy density is 34.2 MJ/l for gasoline and 35.8 MJ/l for diesel fuel.
-
Unit of measurement for
megaJoulePerLiter
.Declaration
Swift
public static let megaJoulePerLiter: TTUnitEnergyDensity
-
Unit of measurement for
kiloJoulePerLiter
.Declaration
Swift
public static let kiloJoulePerLiter: TTUnitEnergyDensity
-
Unit of measurement for
joulePerLiter
.Declaration
Swift
public static let joulePerLiter: TTUnitEnergyDensity
-
Unit of measurement for
kilocaloriesPerLiter
.Declaration
Swift
public static let kilocaloriesPerLiter: TTUnitEnergyDensity
-
Unit of measurement for
caloriesPerLiter
.Declaration
Swift
public static let caloriesPerLiter: TTUnitEnergyDensity
-
Overrides the
Dimension
base unit with a different base unit, in this casemegaJoulePerLiter
.Declaration
Swift
override public class func baseUnit() -> TTUnitEnergyDensity