cdm/src/main/java/ucar/nc2/units/DateRange.java
public boolean included(Date d) {
    if (isEmpty) return false;

    if (getStart().after(d)) return false;
    if (getEnd().before(d)) return false;

    return true;
  }
public boolean included(Date d) {
    if (isEmpty) return false;

    if (getStart().after(d)) return false;
    if (getEnd().before(d)) return false;

    return true;
  }
public boolean included ( Date d ) { if ( isEmpty ) return false ; if ( getStart ( ) . after ( d ) ) return false ; if ( getEnd ( ) . before ( d ) ) return false ; return true ; }
Determine if the given date is included in this date range.
The date range includes the start and end dates.

@param d date to check
@return true if date in inside this range
Determine if the given date is included in this date range . The date range includes the start and end dates .