legacy/src/main/java/thredds/crawlabledataset/filter/LastModifiedLimitFilter.java
public boolean accept( CrawlableDataset dataset)
  {
    Date lastModDate = dataset.lastModified();
    if ( lastModDate != null )
    {
      long now = System.currentTimeMillis();
      if ( now - lastModDate.getTime() > lastModifiedLimitInMillis )
        return true;
    }
    return false;
  }
public boolean accept( CrawlableDataset dataset)
  {
    Date lastModDate = dataset.lastModified();
    if ( lastModDate != null )
    {
      long now = System.currentTimeMillis();
      if ( now - lastModDate.getTime() > lastModifiedLimitInMillis )
        return true;
    }
    return false;
  }
public boolean accept ( CrawlableDataset dataset ) { Date lastModDate = dataset . lastModified ( ) ; if ( lastModDate != null ) { long now = System . currentTimeMillis ( ) ; if ( now - lastModDate . getTime ( ) > lastModifiedLimitInMillis ) return true ; } return false ; }
Accept datasets whose last modified date is at least the
last modified limit of milliseconds in the past.

@param dataset the dataset to filter
@return true if the datasets last modified date is at least lastModifiedLimitInMillis in the past.
Accept datasets whose last modified date is at least the last modified limit of milliseconds in the past .