class UtmConverter {

    public static UtmCoordinate toUtm(GeoCoordinate coordinate) {
        int zone = utmZone(coordinate);
        char band = utmBand(coordinate.getLatitude());
        double[] xy = mapLatLonToXY(coordinate, utmCentralMeridian(zone));
        /* Adjust easting and northing for UTM system. */
        xy[0] = xy[0] * UTMScaleFactor + 500000.0;
        xy[1] *= UTMScaleFactor;
        if (xy[1] < 0.0) {
            xy[1] += 10000000.0;
        }
        return new UtmCoordinate(xy[0], xy[1], zone, band);
    }

    private  UtmConverter();

}