public function max(\DateTimeInterface $max)
    {
        $max = $this->processDateTime($max);

        return $this->attr(DateTimeTypeBase::ATTR_MAX, $max);
    }
public function max(\DateTimeInterface $max)
    {
        $max = $this->processDateTime($max);

        return $this->attr(DateTimeTypeBase::ATTR_MAX, $max);
    }
public function max ( \ DateTimeInterface $ max ) { $ max = $ this -> processDateTime ( $ max ) ; return $ this -> attr ( DateTimeTypeBase :: ATTR_MAX , $ max ) ; }
Validates the date time is less than or equal to
the supplied date time

@param \DateTimeInterface $max

@return static
Validates the date time is less than or equal to the supplied date time