Cake\Chronos\ChronosInterface::max PHP Method

max() public method

Get the maximum instance between a given instance (default now) and the current instance.
public max ( Cake\Chronos\ChronosInterface $dt = null ) : static
$dt Cake\Chronos\ChronosInterface The instance to compare with.
return static
    public function max(ChronosInterface $dt = null);
ChronosInterface