public static Boolean checkDateForBefore(Date currentDate, Date previousDate){
        if(previousDate.before(currentDate)){
            return true;
        } else {
            return false;
        }
    }