Package 

Interface BloodPressureTypes

    • Method Summary

      Modifier and Type Method Description
      static float toMmHg(float value, int unit) Converts the value provided in given unit to mmHg.
      static float toKPa(float value, int unit) Converts the value provided in given unit to kPa.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toMmHg

         static float toMmHg(float value, int unit)

        Converts the value provided in given unit to mmHg.If the unit is already UNIT_mmHg it will be returned as is.

        Parameters:
        value - the pressure value in given unit.
        unit - the unit of the value (UNIT_mmHg or UNIT_kPa).
      • toKPa

         static float toKPa(float value, int unit)

        Converts the value provided in given unit to kPa.If the unit is already UNIT_kPa it will be returned as is.

        Parameters:
        value - the pressure value in given unit.
        unit - the unit of the value (UNIT_mmHg or UNIT_kPa).