unitsofmeasurement / uom-systems

Units of Measurement Systems
http://www.uom.systems
Other
36 stars 17 forks source link

USCustomary.REVOLUTION_PER_MINUTE wrong name "Pint" #204

Closed rloschmann closed 3 months ago

rloschmann commented 8 months ago

Hello here is the code extract. The name "Pint" is wrong, probably a bad copy-paste...

    /**
     * Revolutions per minute (abbreviated <code>rpm</code>, RPM, rev/min, r/min, or with the notation min−1) is the number of turns in one minute. It is a unit of rotational speed or the frequency of rotation around a fixed axis.
     * 
     * @see <a href="https://en.wikipedia.org/wiki/Revolutions_per_minute"> Wikipedia: Revolutions per minute</a>
     * @since 2.1
     */
    public static final Unit<AngularSpeed> REVOLUTION_PER_MINUTE = addUnit(REVOLUTION.divide(MINUTE), "Pint", "rpm")
            .asType(AngularSpeed.class);