string public static \Bitrix\Main\UI\Filter\Quarter::getEndDate( $quarter, $year );
Static method returns quarter end date.