You are here

function is_georgian_year in Persian Date for Drupal 8 8.4

Parameters

int $year:

Return value

bool

2 calls to is_georgian_year()
PersianDate::processDate in src/Element/PersianDate.php
Processes a date form element.
PersianDateFormatter::format in src/Service/Formatter/PersianDateFormatter.php
Formats a date, using a date type or a custom date format string.

File

./persian_date.module, line 18
Contains persian_date.module.

Code

function is_georgian_year($year) {
  return $year > 1800;
}