public ucar.nc2.units.DateUnit getTimeUnits() throws Exception {
    if (null == dateUnit) {
      dateUnit = new DateUnit( timeAxis.getUnitsString());
    }
    return dateUnit;
  }
public ucar.nc2.units.DateUnit getTimeUnits() throws Exception {
    if (null == dateUnit) {
      dateUnit = new DateUnit( timeAxis.getUnitsString());
    }
    return dateUnit;
  }
public ucar . nc2 . units . DateUnit getTimeUnits ( ) throws Exception { if ( null == dateUnit ) { dateUnit = new DateUnit ( timeAxis . getUnitsString ( ) ) ; } return dateUnit ; }
Get the units of Calendar time.
To get a Date, from a time value, call DateUnit.getStandardDate(double value).
To get units as a String, call DateUnit.getUnitsString().
Get the units of Calendar time . To get a Date from a time value call DateUnit . getStandardDate ( double value ) . To get units as a String call DateUnit . getUnitsString () .