cdm/src/main/java/ucar/nc2/units/DateFormatter.java
private Date stdDateTimeFormat(String text) throws java.text.ParseException {
    text = (text == null) ? "" : text.trim();
    stdDateTimeFormat();
    return stdDateTimeFormat.parse(text);
  }
private Date stdDateTimeFormat(String text) throws java.text.ParseException {
    text = (text == null) ? "" : text.trim();
    stdDateTimeFormat();
    return stdDateTimeFormat.parse(text);
  }
private Date stdDateTimeFormat ( String text ) throws java . text . ParseException { text = ( text == null ) ? "" : text . trim ( ) ; stdDateTimeFormat ( ) ; return stdDateTimeFormat . parse ( text ) ; }
Parse text in the format "yyyy-MM-dd HH:mm:ss"
@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 : ss