Skip to content

Polish Holidays library - allows to check if given date is a Polish Holiday

License

Notifications You must be signed in to change notification settings

accesto/PolishHolidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolishHolidays

Polish Holidays library - allows to check if given date is a Polish Holiday

Example usage

<?php
include './vendor/autoload.php';

use \Accesto\PolishHolidays\Calendar;

$calendar = Calendar::createWithPolishHolidays();
 
var_dump($calendar->getHoliday(new \DateTime("2015-06-04")));

/**
 class Accesto\PolishHolidays\Calendar\EasterHoliday#191 (2) {
   private $easterDayOffset =>
   int(60)
   protected $name =>
   string(12) "Boże Ciało"
 }
 */

About

Polish Holidays library - allows to check if given date is a Polish Holiday

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages