Method | Description | |
---|---|---|
HolidayDataProvider ( ) : array | Returns a list of test dates | |
testHoliday ( integer $year, DateTime $expected ) | Tests Queens Birthday | |
testHolidayType ( ) | Tests type of the holiday defined in this test. | |
testNotHoliday ( ) | Tests that Holiday is not present before 1952 | |
testTranslation ( ) | Tests the translated name of the holiday defined in this test. |
public HolidayDataProvider ( ) : array | ||
return | array | list of test dates for the holiday defined in this test |
public testHoliday ( integer $year, DateTime $expected ) | ||
$year | integer | the year for which the holiday defined in this test needs to be tested |
$expected | DateTime | the expected date |
public testHolidayType ( ) |
public testNotHoliday ( ) |
public testTranslation ( ) |