grib/src/main/java/ucar/nc2/grib/grib1/Grib1ParamTime.java
public String getTimeCoord() {
    if (isInterval()) {
      int[] intv = getInterval();
      return intv[0] + "-" + intv[1];
    }
    return Integer.toString(getForecastTime());
  }
public String getTimeCoord() {
    if (isInterval()) {
      int[] intv = getInterval();
      return intv[0] + "-" + intv[1];
    }
    return Integer.toString(getForecastTime());
  }
public String getTimeCoord ( ) { if ( isInterval ( ) ) { int [ ] intv = getInterval ( ) ; return intv [ 0 ] + "-" + intv [ 1 ] ; } return Integer . toString ( getForecastTime ( ) ) ; }
A string representation of the time coordinate, whether its an interval or not.
@return string representation of the time coordinate
A string representation of the time coordinate whether its an interval or not .