UTMLibrary { public static String getUTMZone(CoordinatePoint point) { return getUTMZone(point.getLat(), point.getLon()); }  static UTMProjection getProjectionForPoint(CoordinatePoint point); static UTMProjection getProjectionForPoint(double lat, double lon); static String getUTMZone(CoordinatePoint point); static String getUTMZone(double lat, double lon); static int getUTMZoneForLongitude(double lon); static char getUTMZoneForLatitude(double lat);  }
@Test public void testGetUTMZone() throws NumberFormatException, IOException { assertEquals("1C", UTMLibrary.getUTMZone(-80, -180)); assertEquals("60C", UTMLibrary.getUTMZone(-80, 180)); assertEquals("1X", UTMLibrary.getUTMZone(84, -180)); assertEquals("60X", UTMLibrary.getUTMZone(84, 180)); assertEquals("60W", UTMLibrary.getUTMZone(71.9999, 180)); assertEquals("60X", UTMLibrary.getUTMZone(72, 180)); }