Package com.yahoo.geo

Class ParsedDegree


  • public class ParsedDegree
    extends Object
    Utility for holding one geographical coordinate
    Author:
    arnej27959
    • Field Detail

      • degrees

        public final double degrees
        the parsed latitude or longitude Degrees north or east if positive Degrees south or west if negative
      • isLatitude

        public final boolean isLatitude
      • isLongitude

        public final boolean isLongitude
    • Constructor Detail

      • ParsedDegree

        public ParsedDegree​(double value,
                            boolean isLat,
                            boolean isLon)
    • Method Detail

      • fromString

        public static ParsedDegree fromString​(String toParse,
                                              boolean assumeLatitude,
                                              boolean assumeLongitude)