public static int fileInTimeRange(File f,Date start,Date end){
  long time=getFileTime(f);
  if (start != null && time < start.getTime()) {
    return -1;
  }
  if (end != null && time > end.getTime()) {
    return 1;
  }
  return 0;
}

public static int fileInTimeRange ( File f , Date start , Date end ) { long time = getFileTime ( f ) ; if ( start != null && time < start . getTime ( ) ) { return - 1 ; } if ( end != null && time > end . getTime ( ) ) { return 1 ; } return 0 ; }
check if file is modified during that period
