You are here

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

Determines if the instance is less (before) than another

Parameters

Carbon $dt:

Return value

bool

4 calls to Carbon::lt()
Carbon::between in src/Library/Carbon/Carbon.php
Determines if the instance is between two others
Carbon::isPast in src/Library/Carbon/Carbon.php
Determines if the instance is in the past, ie. less (before) than now
Carbon::lessThan in src/Library/Carbon/Carbon.php
Determines if the instance is less (before) than another
Carbon::min in src/Library/Carbon/Carbon.php
Get the minimum instance between a given instance (default now) and the current instance.

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function lt(Carbon $dt) {
  return $this < $dt;
}