Package gnu.math

Class Unit

    • Field Detail

      • NON_COMBINABLE

        public static double NON_COMBINABLE
        A magic factor to indicate units that have the same "dimension" but not a fixed multiple. E.g. "month" and "day", or money of different currencies. Since they have the same dimension, they can be added to get an (unimplemented) combined quantity, but they cannot be compared. No general support yet, but used for time Duration.
      • meter

        public static final BaseUnit meter
      • duration

        public static final BaseUnit duration
      • gram

        public static final BaseUnit gram
      • cm

        public static final Unit cm
      • mm

        public static final Unit mm
      • in

        public static final Unit in
      • pt

        public static final Unit pt
      • pica

        public static final Unit pica
      • radian

        public static final Unit radian
      • degree

        public static final Unit degree
      • gradian

        public static final Unit gradian
      • second

        public static final NamedUnit second
      • minute

        public static final Unit minute
      • hour

        public static final Unit hour