You are here

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

Determines if the instance is not equal to another

Parameters

Carbon $dt:

Return value

bool

1 call to Carbon::ne()
Carbon::notEqualTo in src/Library/Carbon/Carbon.php
Determines if the instance is not equal to another

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function ne(Carbon $dt) {
  return !$this
    ->eq($dt);
}