You are here

public static function Carbon::useMonthsOverflow in Persian Date for Drupal 8 8.4

Indicates if months should be calculated with overflow.

Parameters

bool $monthsOverflow:

Return value

void

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public static function useMonthsOverflow($monthsOverflow = true) {
  static::$monthsOverflow = $monthsOverflow;
}