You are here

function MerciHours::getClosedDaysInPeriod in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Returns a list of closed days for the requested period.

1 call to MerciHours::getClosedDaysInPeriod()
MerciHours::getClosedDays in merci_hours/includes/entity.inc
Returns a list of closed days for the requested year or month.

File

merci_hours/includes/entity.inc, line 171

Class

MerciHours
Define a WorkCalendar object with its operations.

Code

function getClosedDaysInPeriod($start, $end) {
  $week_days = array_diff(date_week_days_untranslated(), $this->week_days);
  $dates = self::weekDaysDates($start, $end, $week_days);
  return $dates;
}