function DatexCalendarIterface::calendarFormat in Datex 7.2
To override format charachters DatexObject can't or shouldn't handle.
Shoud return an associative array keyed by date format charachter and it's value as formatted date (the date is available from the onject instance).
2 methods override DatexCalendarIterface::calendarFormat()
- DatexGregorian::calendarFormat in datex_api/
DatexGregorian.inc - To override format charachters DatexObject can't or shouldn't handle.
- DatexJalali::calendarFormat in datex_api/
DatexJalali.inc - Calculate format values which parent won't handle.
File
- datex_api/
datex_api.class.inc, line 83 - 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
function calendarFormat();