Packages

t

squants

UnitConverter

trait UnitConverter extends AnyRef

A Unit of Measure that require a simple multiplier for converting to and from the underlying value's unit

Self Type
UnitConverter with UnitOfMeasure[_]
Source
UnitOfMeasure.scala
Linear Supertypes
Known Subclasses
DimensionlessUnit, Dozen, Each, Gross, Percent, PrimaryUnit, Score, Abcoulombs, AmpereHours, Amperes, CapacitanceUnit, ConductivityUnit, Coulombs, ElectricChargeUnit, ElectricCurrentUnit, ElectricPotentialUnit, ElectricalConductanceUnit, ElectricalResistanceUnit, Farads, Gauss, Gigohms, Henry, InductanceUnit, Kilofarads, Kilohms, Kilovolts, MagneticFluxDensityUnit, MagneticFluxUnit, Megavolts, Megohms, Microcoulombs, Microfarads, Microohms, Microvolts, MilliampereHours, MilliampereSeconds, Milliamperes, Millicoulombs, Millifarads, Milliohms, Millivolts, Nanocoulombs, Nanofarads, Nanohms, OhmMeters, Ohms, Picocoulombs, Picofarads, ResistivityUnit, Siemens, SiemensPerMeter, Teslas, Volts, Webers, BritishThermalUnits, BtusPerHour, EnergyDensityUnit, EnergyUnit, Ergs, ErgsPerSecond, Gigajoules, GigawattHours, Gigawatts, GigawattsPerHour, Grays, Joules, JoulesPerCubicMeter, Kilojoules, KilowattHours, Kilowatts, KilowattsPerHour, KilowattsPerMinute, MBtus, MMBtus, Megajoules, MegawattHours, Megawatts, MegawattsPerHour, Microjoules, Millijoules, Milliwatts, Nanojoules, Picojoules, PowerRampUnit, PowerUnit, SpecificEnergyUnit, Terajoules, WattHours, Watts, WattsPerHour, WattsPerMinute, Bytes, BytesPerSecond, DataRateUnit, Exabytes, ExabytesPerSecond, Exbibytes, ExbibytesPerSecond, Gibibytes, GibibytesPerSecond, Gigabytes, GigabytesPerSecond, InformationUnit, Kibibytes, KibibytesPerSecond, Kilobytes, KilobytesPerSecond, Mebibytes, MebibytesPerSecond, Megabytes, MegabytesPerSecond, Octets, Pebibytes, PebibytesPerSecond, Petabytes, PetabytesPerSecond, Tebibytes, TebibytesPerSecond, Terabytes, TerabytesPerSecond, Yobibytes, YobibytesPerSecond, Yottabytes, YottabytesPerSecond, Zebibytes, ZebibytesPerSecond, Zettabytes, ZettabytesPerSecond, Carats, ChemicalAmountUnit, DensityUnit, Grams, GramsPerSquareCentimeter, Kilograms, KilogramsPerCubicMeter, KilogramsPerHectare, KilogramsPerSquareMeter, Kilopounds, MassUnit, Megapounds, Micrograms, Milligrams, Moles, Ounces, Pennyweights, PoundMoles, Pounds, Stone, Tolas, Tonnes, TroyGrains, TroyOunces, TroyPounds, AccelerationUnit, AngularVelocityUnit, Bars, BarsPerSecond, CubicFeetPerHour, CubicMetersPerSecond, DegreesPerSecond, EarthGravities, FeetPerSecond, FeetPerSecondCubed, FeetPerSecondSquared, ForceUnit, GallonsPerDay, GallonsPerHour, GallonsPerMinute, GallonsPerSecond, GradsPerSecond, InternationalMilesPerHour, JerkUnit, KilogramForce, KilogramsPerSecond, KilometersPerHour, KilometersPerSecond, KilopoundsPerHour, Knots, MassFlowUnit, MegapoundsPerHour, MetersPerSecond, MetersPerSecondCubed, MetersPerSecondSquared, NewtonSeconds, Newtons, NewtonsPerSecond, Pascals, PascalsPerSecond, PoundForce, PoundsPerHour, PoundsPerSecond, PoundsPerSquareInch, PoundsPerSquareInchPerSecond, PressureChangeUnit, PressureUnit, RadiansPerSecond, StandardAtmospheres, StandardAtmospheresPerSecond, TurnsPerSecond, UsMilesPerHour, UsMilesPerHourSquared, VelocityUnit, VolumeFlowRateUnit, YankUnit, Candelas, CandelasPerSquareMeter, IlluminanceUnit, LumenSeconds, Lumens, LuminousEnergyUnit, LuminousExposureUnit, LuminousFluxUnit, LuminousIntensityUnit, Lux, LuxSeconds, ErgsPerSecondPerSquareCentimeter, ErgsPerSecondPerSquareCentimeterPerAngstrom, IrradianceUnit, SpectralIrradianceUnit, WattsPerCubicMeter, WattsPerMeter, WattsPerSquareMeter, WattsPerSquareMeterPerMicron, WattsPerSquareMeterPerNanometer, WattsPerSteradian, WattsPerSteradianPerMeter, WattsPerSteradianPerSquareMeter, AcreFeet, Acres, AngleUnit, Angstroms, Arcminutes, Arcseconds, AreaUnit, AstronomicalUnits, Barnes, Centilitres, Centimeters, CubicFeet, CubicInches, CubicMeters, CubicUsMiles, CubicYards, Decameters, Decilitres, Decimeters, Degrees, Feet, FluidOunces, Gradians, Hectares, Hectolitres, Hectometers, ImperialCups, ImperialGallons, ImperialPints, ImperialQuarts, Inches, InternationalMiles, Kilometers, LengthUnit, LightYears, Litres, Meters, Microlitres, Microns, Millilitres, Millimeters, Nanolitres, Nanometers, NauticalMiles, Radians, SquareCentimeters, SquareFeet, SquareInches, SquareKilometers, SquareMeters, SquareUsMiles, SquareYards, SquaredRadians, Tablespoons, Teaspoons, Turns, UsCups, UsDryCups, UsDryGallons, UsDryPints, UsDryQuarts, UsGallons, UsMiles, UsPints, UsQuarts, VolumeUnit, Yards, JoulesPerKelvin, Kelvin, ThermalCapacityUnit, Days, FrequencyUnit, Gigahertz, Hertz, Hours, Kilohertz, Megahertz, Microseconds, Milliseconds, Minutes, Nanoseconds, RevolutionsPerMinute, Seconds, Terahertz, TimeUnit
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnitConverter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def conversionFactor: Double

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def converterFrom: (Double) ⇒ Double

    Implements the converterFrom method as a simple product of the value and the multiplier

    Implements the converterFrom method as a simple product of the value and the multiplier

    Attributes
    protected
  7. def converterTo: (Double) ⇒ Double

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped