You are here

public function DatexGregorian::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.

Overrides DatexCalendarIterface::getInfo

File

datex_api/DatexGregorian.inc, line 53
Gregorian for datex. Nothinf special, always calls DateTime methods to handle stuff.

Class

DatexGregorian
Default Gregorian for datex.

Code

public function getInfo($name) {
}