public function Carbon::maximum in Persian Date for Drupal 8 8.4
Get the maximum instance between a given instance (default now) and the current instance.
Parameters
\Drupal\persian_date\Library\Carbon\Carbon|null $dt:
Return value
static
See also
max()
File
- src/
Library/ Carbon/ Carbon.php, line 1656
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function maximum(Carbon $dt = null) {
return $this
->max($dt);
}