Changing MAX_DATE_FORMAT utilization from static::MAX_DATE_FORMAT to self::MAX_DATE_FORMAT in method setMaxDate to prevents subclasses to redefine MAX_DATE_FORMAT