You are here

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

Determines if the instance is greater (after) than or equal to another

Parameters

Carbon $dt:

Return value

bool

2 calls to Carbon::gte()
Carbon::between in src/Library/Carbon/Carbon.php
Determines if the instance is between two others
Carbon::greaterThanOrEqualTo in src/Library/Carbon/Carbon.php
Determines if the instance is greater (after) than or equal to another

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function gte(Carbon $dt) {
  return $this >= $dt;
}