You are here

public function DatexCalendarIterface::getInfo in Datex 7.2

Returns various information used by DatexObject.

For an example look at DatexJalali.

Required information are: intl_args: array of arguments passed to IntlDateFormatter. First, second, third and fifth arguments of IntlDateFormatter constructor should be put in array in order.

numbers: Associative array of localized numbers in calendar's language. from 0 to 9 in array.

names: Name of dates.

month_days: Number of days in each month of year, NOT counting leap years.

2 methods override DatexCalendarIterface::getInfo()
DatexGregorian::getInfo in datex_api/DatexGregorian.inc
Returns various information used by DatexObject.
DatexJalali::getInfo in datex_api/DatexJalali.inc
Function to return various info, Used by parent class.

File

datex_api/datex_api.class.inc, line 75
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 function getInfo($name);