public static function DatexCalendarIterface::dayOfWeek in Datex 7.2
Day of week calculated from given year and day of year.
2 methods override DatexCalendarIterface::dayOfWeek()
- DatexGregorian::dayOfWeek in datex_api/
DatexGregorian.inc - Day of week calculated from given year and day of year.
- DatexJalali::dayOfWeek in datex_api/
DatexJalali.inc - returns weekday of the specified day of the year. 1 to 7.
File
- datex_api/
datex_api.class.inc, line 88 - 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 dayOfWeek($year, $dayOfYear = 0);