APISonar


org.geotools.imageio.netcdf.utilities.NetCDFUtilities.TIME

> org > geotools > imageio > netcdf > utilities > NetCDFUtilities > TIME
org APIs geotools APIs imageio APIs netcdf APIs utilities APIs NetCDFUtilities APIs TIME APIs

Example 1
private String setFeatureTime(SimpleFeature feature, Date date, CoordinateSystem cs) {
        String originalTimeAttribute = null;
        if (date != null) {
            originalTimeAttribute = getTimeAttribute(cs);
            String timeAttribute = originalTimeAttribute;
            if (reader.uniqueTimeAttribute) {
                timeAttribute = NetCDFUtilities.TIME;
            }
            feature.setAttribute(timeAttribute, date);
        }
        return originalTimeAttribute;
    }