You are here

function calendar_gregorian_month_days in Calendar Systems 6.2

Calendar month days helper. Also acts as a fallback for a missing calendar_module_month_days() callback.

Return value

An array of ordered numbers corresponding to a Gregorian year monthes length of days.

2 calls to calendar_gregorian_month_days()
calendar_jalali_convert in calendars/calendar_jalali/calendar_jalali.module
Jalali calendar date converter callback.
calendar_jalali_convert_reverse in calendars/calendar_jalali/calendar_jalali.module
Jalali calendar reverse date converter callback.
1 string reference to 'calendar_gregorian_month_days'
calendar_systems_calendar_info in ./calendar_systems.module
Implements hook_calendar_info().

File

./calendar_systems.module, line 479
Contains Calendar Systems module hooks, helpers and API functions.

Code

function calendar_gregorian_month_days() {
  return array(
    31,
    28,
    31,
    30,
    31,
    30,
    31,
    31,
    30,
    31,
    30,
    31,
  );
}