class AnalyticsUtils {

    public static boolean periodIsOutsideApprovalMaxYears( Integer year, Integer maxYears )
    {
        if ( maxYears == 0 )
        {
            return false;
        }

        int currentYear = new DateTime().getYear();

        return ( currentYear - year ) >= maxYears;
    }

}