question: 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 ; }
target:  Check if file is modified during that period