public Boolean between(final Date date,final Date fromDate,final Date toDate){
  return (date.after(fromDate) || date.equals(fromDate)) && date.before(toDate) || date.equals(toDate);
}

public Boolean between ( final Date date , final Date fromDate , final Date toDate ) { return ( date . after ( fromDate ) || date . equals ( fromDate ) ) && date . before ( toDate ) || date . equals ( toDate ) ; }
checks whether date is between fromdate and todate or not
