Package mil.nga.mgrs.gzd
Class ZoneNumberRange
- java.lang.Object
-
- mil.nga.mgrs.gzd.ZoneNumberRange
-
-
Constructor Summary
Constructors Constructor Description ZoneNumberRange()
Constructor, full rangeZoneNumberRange(int west, int east)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEast()
Get the eastern zone numberdouble
getEastLongitude()
Get the eastern longitudeint
getWest()
Get the western zone numberdouble
getWestLongitude()
Get the western longitudeIterator<Integer>
iterator()
void
setEast(int east)
Set the eastern zone numbervoid
setWest(int west)
Set the western zone number-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getWest
public int getWest()
Get the western zone number- Returns:
- western zone number
-
setWest
public void setWest(int west)
Set the western zone number- Parameters:
west
- western zone number
-
getEast
public int getEast()
Get the eastern zone number- Returns:
- eastern zone number
-
setEast
public void setEast(int east)
Set the eastern zone number- Parameters:
east
- eastern zone number
-
getWestLongitude
public double getWestLongitude()
Get the western longitude- Returns:
- longitude
-
getEastLongitude
public double getEastLongitude()
Get the eastern longitude- Returns:
- longitude
-
-