cdm/src/main/java/ucar/nc2/units/DateUnit.java
static public Date getStandardOrISO(String text) {
    Date result = getStandardDate(text);
    if (result == null) {
      DateFormatter formatter = new DateFormatter();
      result = formatter.getISODate(text);
    }
    return result;
  }
static public Date getStandardOrISO(String text) {
    Date result = getStandardDate(text);
    if (result == null) {
      DateFormatter formatter = new DateFormatter();
      result = formatter.getISODate(text);
    }
    return result;
  }
static public Date getStandardOrISO ( String text ) { Date result = getStandardDate ( text ) ; if ( result == null ) { DateFormatter formatter = new DateFormatter ( ) ; result = formatter . getISODate ( text ) ; } return result ; }
Create a java.util.Date from a udunit or ISO String.

@param text a udunit or ISO string.
@return Date or null if not date unit.
@see #getStandardDate
@see DateFormatter#getISODate
Create a java . util . Date from a udunit or ISO String .