Skip to content

Releases: MiSikora/ruler

0.4.0

11 Nov 18:46
Compare
Choose a tag to compare

Added

  • Ruler class as a central point for distance and length formatting.
  • Imperial unit formatter. It allows to display measurements in a imperial-friendly format. For example 105ft 12in.

0.3.2

11 Nov 18:46
Compare
Choose a tag to compare

Fixed

  • Make library JDK 7 compatible.

0.3.1

11 Nov 18:46
Compare
Choose a tag to compare

Fixed

  • Make library JDK 7 compatible.

0.3.0

11 Nov 18:45
Compare
Choose a tag to compare

Added

  • Add Distance (old Length) formatter for Android.
  • Add basic math operators like multiplication and division.
  • Add Double factories to Distance (old Length).

Changed

  • Swap names of Distance and Length classes.
  • Use Long as an underlying Distance primitive. It is more suitable for application that have UI interaction and distance of ~975 light years seems sufficient for most day-to-day applications.

0.2.0

11 Nov 18:44
Compare
Choose a tag to compare

Changed

  • DistanceUnitCoercer changed to DistanceConverter.
  • Distance constructor is no longer public.
  • length in Distance is no longer public.
  • meters and nanometers properties renamed respectively to metersPart and nanometersParts in Length class.

0.1.0

11 Nov 18:50
Compare
Choose a tag to compare
  • Initial release.