public function DatexJalali::calendarFormat in Datex 7.2
Calculate format values which parent won't handle.
Overrides DatexCalendarIterface::calendarFormat
File
- datex_api/
DatexJalali.inc, line 231 - Jalali calendar for datex.
Class
- DatexJalali
- Jalali calendar for datex.
Code
public function calendarFormat() {
$day_of_week = self::dayOfWeek($this->year, $this->dayOfYear);
return array(
'w' => $day_of_week,
'N' => $day_of_week + 1,
);
}