function merci_hours_day_is_open in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
- Wrapper for WorkCalendar::isOpenDay().
File
- merci_hours/
merci_hours.module, line 481
Code
function merci_hours_day_is_open($cal = NULL, $year = NULL, $month = NULL, $day = NULL) {
$wc = merci_hours_instantiate($cal);
list($year, $month, $day) = merci_hours_complete_date($year, $month, $day);
return $wc
->isOpenDay($year, $month, $day);
}