Skip to content

Releases: pjazdzyk/unitility

v1.0.2 - Transformation methods and logic operations

06 Aug 16:49
Compare
Choose a tag to compare

CHANGE LOG (06.08.2023):

  • new transformation methods: add, subtract, multiply, divide,
  • new logic operation methods: isLowerThan(), isGreaterThan(), isEqualOrLowerThan(), isEqualOrGreaterThan()
  • add convenient methods for getting value of most popular units, for ie: temperature.getValueAsCelsius();
  • fixed minor bugs + refactoring

v1.0.1 - Momentum and Torque, package optimization

25 Jun 16:57
Compare
Choose a tag to compare

CHANGE LOG (25.06.2023):

  • new units: Torque, Momentum,
  • flattened packages, grouped by unit family,
  • added toStringWithRelevantDigits() to allow user get formatted output with specified number of relevant digits
  • added isEqualsWithPrecision() method to enable possibility to check for equality from the business perspective
  • toString() is now standard non formatted toString()
  • minor refactoring and code cleaning

v1.0.0 - First release

30 May 14:11
Compare
Choose a tag to compare

The first release of the Physics Unit Conversion Solution for Java - UNITILITY.

  • plain Java, no frameworks,
  • covered with unit tests (>74% of coverage),
  • quality and security checked via SonarCloud quality gate,

Supported units:

COMMON: Distance, Area, Volume, Mass, Angle
MECHANICAL: Force
THERMODYNAMIC: Temperature, Pressure, Energy, Power, Specific heat, Density, Dynamic viscosity, Kinematic viscosity, Specific enthalpy, Thermal conductivity
FLOWS: Mass flow, Volumetric flow
HUMID AIR SPECIFIC: Humidity ratio, Relative humidity
DIMENSIONLESS: Grashof number, Prandtl number, Reynolds number

v0.0.1-beta- Simplified approach based on Enum and Generics

02 Apr 06:25
Compare
Choose a tag to compare
  • created new concept for unit system in Java based on enums and generic classes,
  • removed validation from units / physical quantities, validation should be done in physics implementation not in the units themselves,
  • added more units
  • added more unit tests
  • retained previous concept in "first concept"

v0.0.1-alpha - First draft in functional approach Either from VAVR

17 Feb 19:36
Compare
Choose a tag to compare