Code example for RangeSet

Methods: encloses

0
    return dayOfWeek;
  } 
 
  @VisibleForTesting 
  boolean hasWildcardMinute() { 
    return getMinute().encloses(MINUTE);
  } 
 
  @VisibleForTesting 
  boolean hasWildcardHour() { 
    return getHour().encloses(HOUR);
  } 
 
  /** 
   * True if this entry covers all possible days of the month. 
   */ 
  public boolean hasWildcardDayOfMonth() { 
    return getDayOfMonth().encloses(DAY_OF_MONTH);
  }