public static function Carbon::minValue in Persian Date for Drupal 8 8.4
Create a Carbon instance for the lowest supported date.
Return value
static
File
- src/
Library/ Carbon/ Carbon.php, line 396
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public static function minValue() {
if (PHP_INT_SIZE === 4) {
// 32 bit (and additionally Windows 64 bit)
return static::createFromTimestamp(~PHP_INT_MAX);
}
// 64 bit
return static::create(1, 1, 1, 0, 0, 0);
}