cdm/src/main/java/ucar/nc2/units/DateFormatter.java
private Date stdDateNoSecsFormat(String text) throws java.text.ParseException {
    text = (text == null) ? "" : text.trim();
    stdDateNoSecsFormat();
    return stdDateNoSecsFormat.parse(text);
  }
private Date stdDateNoSecsFormat(String text) throws java.text.ParseException {
    text = (text == null) ? "" : text.trim();
    stdDateNoSecsFormat();
    return stdDateNoSecsFormat.parse(text);
  }
private Date stdDateNoSecsFormat ( String text ) throws java . text . ParseException { text = ( text == null ) ? "" : text . trim ( ) ; stdDateNoSecsFormat ( ) ; return stdDateNoSecsFormat . parse ( text ) ; }
Parse text in the format "yyyy-MM-dd HH:mm"
@param text parse this text
@return equivalent Date
@throws java.text.ParseException if not formatted correctly
Parse text in the format yyyy - MM - dd HH : mm