private boolean hasValidDateRange ( String time_start , String time_end , String time_duration ) { // no range if ( ( null == time_start ) && ( null == time_end ) && ( null == time_duration ) ) return false ; if ( ( null != time_start ) && ( null != time_end ) ) return true ; if ( ( null != time_start ) && ( null != time_duration ) ) return true ; if ( ( null != time_end ) && ( null != time_duration ) ) return true ; // misformed range // errs.append("Must have 2 of 3 parameters: time_start, time_end, time_duration\n"); return false ; }
Determine if a valid date range was specified