Метод | Описание | |
---|---|---|
HolidayDataProvider ( ) : array | Returns a list of test dates | |
testHoliday ( integer $year, string $expected ) | Tests Easter Monday | |
testHolidayType ( ) | Tests type of the holiday defined in this test. | |
testTranslation ( ) | Tests the translated name of the holiday defined in this test. |
public HolidayDataProvider ( ) : array | ||
Результат | array | list of test dates for the holiday defined in this test |
public testHoliday ( integer $year, string $expected ) | ||
$year | integer | the year for which the holiday defined in this test needs to be tested |
$expected | string | the expected date |
public testHolidayType ( ) |
public testTranslation ( ) |