Can you please use this code to get minyear and maxyear?:

if(method_exists(JEVHelper, getMinYear))
{
   $earliestyear =  JEVHelper::getMinYear();
   $latestyear = JEVHelper::getMaxYear();
}
else
{

}
		$latestyear = JEVHelper::getMaxYear();