getHolidaysForDatespan()

Returns an array of Date_Holidays_Holiday objects for the holidays that occur between the two specified dates. If no holidays are found, then an empty array will be returned.

array getHolidaysForDatespan(mixed $start, mixed $end

[, Date_Holidays_Filter $filter = null] [, string $locale = null])

Parameter Type Description

$start mixed The starting date of the time span.

$end mixed The end date of the time span.

$filter Date_Holidays_Filter The filter to use for loading holidays.

$locale string The locale to use when loading holiday information.

0 0

Post a comment

  • Receive news updates via email from this site