public static function DatexCalendarIterface::isLeap in Datex 7.2
Will calculate whether the localized year is leap year or not.
2 methods override DatexCalendarIterface::isLeap()
- DatexGregorian::isLeap in datex_api/
DatexGregorian.inc - Will calculate whether the localized year is leap year or not.
- DatexJalali::isLeap in datex_api/
DatexJalali.inc - Returns non zero if given year is a leap year.
File
- datex_api/
datex_api.class.inc, line 55 - Provides an API to work with dates.
Class
- DatexCalendarIterface
- A calendar class extending DatexObject should implement this interface to function correctly. An example implemention is DatexJalali.
Code
public static function isLeap($year);