You are here

public static function DatexJalali::observationYear in Datex 7.2

calculates the years from reference Observation year.

2 calls to DatexJalali::observationYear()
DatexJalali::dayOfWeek in datex_api/DatexJalali.inc
returns weekday of the specified day of the year. 1 to 7.
DatexJalali::isLeap in datex_api/DatexJalali.inc
Returns non zero if given year is a leap year.

File

datex_api/DatexJalali.inc, line 464
Jalali calendar for datex.

Class

DatexJalali
Jalali calendar for datex.

Code

public static function observationYear($year) {
  return $year + 2346;
}