lenny library
Visionary Software Solutions Measurement API: fluent, joyful measurement. Lenny: Provides useful Length units.
Classes
- Chain
-
Imperial unit for
Length
. - Chains
-
Chains are an
Imperial
Unit
between Yards and Furlongs. I mainly implemented this to prove the efficiacy of the API. But it does have some historical curiousity and is used in Cricket. https://en.wikipedia.org/wiki/Chain_(unit) - Feet
-
Sadly a still commonly used
Unit
ofLength
discovered in US "football" https://en.wikipedia.org/wiki/Foot_(unit) - Foot
-
Imperial unit for
Length
. -
FundamentalLength<
T extends Length> - Furlong
-
Imperial unit for
Length
. - Furlongs
- Obscure unit no one uses but sounds funny to say. https://en.wikipedia.org/wiki/Furlong
- Hand
-
Imperial unit for
Length
. - Hands
-
Another obscure
Unit
ofLength
. https://en.wikipedia.org/wiki/Hand_(unit) Base 4 counting is quite the curiosity! - Inch
-
Imperial unit for
Length
. - Inches
-
One of the first
Unit
one learns in USA education. https://en.wikipedia.org/wiki/Inch - League
-
Imperial unit for
Length
. - Leagues
- Old-timey unit that you'll often read in Verne and other classical work. https://en.wikipedia.org/wiki/League_(unit)
- Lengths
- Metres
-
A
PhysicalQuantity
which combinesNumericalValue
with Metre. - Mile
-
Imperial unit for
Length
. - Miles
- A Mile will forever be known by how Eminem had to walk 8 of them... ...or something. https://en.wikipedia.org/wiki/Mile
- Yard
-
Imperial unit for
Length
. - Yards
- Yard will forever be relevant as long as US HandEgg has a Super Bowl. https://en.wikipedia.org/wiki/Yard
Enums
- Metre
- Aggregate for public construction of units of length.
Mixins
Extensions
- ImperialLengths on num
- Convenience extension methods. Not provided for obscure units. Pretty easy to implement, if desired (or for another library to build on top)
- MetricLengths on num