You are here

public function Carbon::greaterThan in Persian Date for Drupal 8 8.4

Determines if the instance is greater (after) than another

Parameters

Carbon $dt:

Return value

bool

See also

gt()

File

src/Library/Carbon/Carbon.php, line 1472

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function greaterThan(Carbon $dt) {
  return $this
    ->gt($dt);
}