public function Carbon::lte in Persian Date for Drupal 8 8.4
Determines if the instance is less (before) or equal to another
Parameters
Carbon $dt:
Return value
bool
2 calls to Carbon::lte()
- Carbon::between in src/
Library/ Carbon/ Carbon.php - Determines if the instance is between two others
- Carbon::lessThanOrEqualTo in src/
Library/ Carbon/ Carbon.php - Determines if the instance is less (before) or equal to another
File
- src/
Library/ Carbon/ Carbon.php, line 1536
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function lte(Carbon $dt) {
return $this <= $dt;
}