Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 538 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 538 Bytes

libholiday

Usage:

// Find German holidays
$g = new \Holiday\Germany();
$holidays = $g->between(new DateTime('2014-12-01'), new DateTime('2014-12-31'));

// Find Bavarian holidays
$g = new \Holiday\Bavaria();
$holidays = $g->between(new DateTime('2014-12-01'), new DateTime('2014-12-31'));

// Find Target2 interbank system holidays (Used for SEPA banking business days)
$g = new \Holiday\Target2();
$holidays = $g->between(new DateTime('2014-12-01'), new DateTime('2014-12-31'));