Class DegreeUnit

  • All Implemented Interfaces:
    java.io.Serializable

    public class DegreeUnit
    extends Unit
    See Also:
    Serialized Form
    • Constructor Detail

      • DegreeUnit

        public DegreeUnit()
    • Method Detail

      • parse

        public double parse​(java.lang.String s)
                     throws java.lang.NumberFormatException
        Overrides:
        parse in class Unit
        Throws:
        java.lang.NumberFormatException
      • format

        public java.lang.String format​(double n)
        Overrides:
        format in class Unit
      • format

        public java.lang.String format​(double n,
                                       boolean abbrev)
        Overrides:
        format in class Unit
      • format

        public java.lang.String format​(double x,
                                       double y,
                                       boolean abbrev)
        Overrides:
        format in class Unit