类 Angle


  • public class Angle
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      Angle()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static double parse​(java.lang.String text)
      Parses a text representation of a degree angle in various formats.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Angle

        public Angle()
    • 方法详细资料

      • parse

        public static double parse​(java.lang.String text)
                            throws java.lang.NumberFormatException
        Parses a text representation of a degree angle in various formats. Formats include DMS and DD in the forms supported by AngleFormat, as in the following examples:
         123.12
         -123.12
         123.12W
        
         123d44m44.555s
         123d44'44.555"
         123d44mN
         
        参数:
        text -
        返回:
        the value of the angle, in degrees
        抛出:
        java.lang.NumberFormatException