tds/src/main/java/thredds/server/cdmrfeature/CdmrfBeanOld.java
private void parseTemporalExtentForm() { // from the form
    if (temporal == null) {
      errs.format("form must have temporal=(all|range|point)%n");
      fatal = true;
      return;
    }

    if (temporal.equalsIgnoreCase("all")) temporalSelection = TemporalSelection.all;
    else if (temporal.equalsIgnoreCase("range")) temporalSelection = TemporalSelection.range;
    else if (temporal.equalsIgnoreCase("point")) temporalSelection = TemporalSelection.point;

    if (temporal.equalsIgnoreCase("range")) {
      try {
        parseTimeExtent();
      } catch (Throwable t) {
        errs.format("badly specified time range");
        fatal = true;
      }
    } else if (temporal.equalsIgnoreCase("point")) {
      timePoint = parseDate("time", time);
    }
  }
private void parseTemporalExtentForm() { // from the form
    if (temporal == null) {
      errs.format("form must have temporal=(all|range|point)%n");
      fatal = true;
      return;
    }

    if (temporal.equalsIgnoreCase("all")) temporalSelection = TemporalSelection.all;
    else if (temporal.equalsIgnoreCase("range")) temporalSelection = TemporalSelection.range;
    else if (temporal.equalsIgnoreCase("point")) temporalSelection = TemporalSelection.point;

    if (temporal.equalsIgnoreCase("range")) {
      try {
        parseTimeExtent();
      } catch (Throwable t) {
        errs.format("badly specified time range");
        fatal = true;
      }
    } else if (temporal.equalsIgnoreCase("point")) {
      timePoint = parseDate("time", time);
    }
  }
private void parseTemporalExtentForm ( ) { // from the form if ( temporal == null ) { errs . format ( "form must have temporal=(all|range|point)%n" ) ; fatal = true ; return ; } if ( temporal . equalsIgnoreCase ( "all" ) ) temporalSelection = TemporalSelection . all ; else if ( temporal . equalsIgnoreCase ( "range" ) ) temporalSelection = TemporalSelection . range ; else if ( temporal . equalsIgnoreCase ( "point" ) ) temporalSelection = TemporalSelection . point ; if ( temporal . equalsIgnoreCase ( "range" ) ) { try { parseTimeExtent ( ) ; } catch ( Throwable t ) { errs . format ( "badly specified time range" ) ; fatal = true ; } } else if ( temporal . equalsIgnoreCase ( "point" ) ) { timePoint = parseDate ( "time" , time ) ; } }
//////////////////////////////////////
//////////////////////////////////////