PHP Class Yasumi\tests\Japan\VernalEquinoxDayTest

Inheritance: extends JapanBaseTestCase, implements Yasumi\tests\YasumiTestCaseInterface
ファイルを表示 Open project: azuyalabs/yasumi

Public Methods

Method Description
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests the translated name of the holiday defined in this test.
testVernalEquinoxDayBefore1948 ( ) Tests Vernal Equinox Day before 1948. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).
testVernalEquinoxDayBetween1851And1948 ( ) Tests Vernal Equinox Day between 1851 and 1948. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).
testVernalEquinoxDayBetween1948And2150 ( $year, $month, $day ) Tests Vernal Equinox Day between 1948 and 2150. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).
testVernalEquinoxDayOnAfter2150 ( ) Tests Vernal Equinox Day after 2150. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).
vernalEquinoxHolidaysProvider ( ) : array Returns a list of all Japanese Vernal Equinox holidays used for assertions.

Method Details

testHolidayType() public method

Tests type of the holiday defined in this test.
public testHolidayType ( )

testTranslation() public method

Tests the translated name of the holiday defined in this test.
public testTranslation ( )

testVernalEquinoxDayBefore1948() public method

Tests Vernal Equinox Day before 1948. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).

testVernalEquinoxDayBetween1851And1948() public method

Tests Vernal Equinox Day between 1851 and 1948. This national holiday was established in 1948 as a day for the admiration of nature and the love of living things. Prior to 1948, the vernal equinox was an imperial ancestor worship festival called Shunki kōrei-sai (春季皇霊祭).

testVernalEquinoxDayBetween1948And2150() public method

After 2150 no calculations are available yet.
public testVernalEquinoxDayBetween1948And2150 ( $year, $month, $day )
$year int year of example data to be tested
$month int month (number) of example data to be tested
$day int day of the month (number) of example data to be tested

testVernalEquinoxDayOnAfter2150() public method

After 2150 no calculations are available yet.

vernalEquinoxHolidaysProvider() public method

Returns a list of all Japanese Vernal Equinox holidays used for assertions.
public vernalEquinoxHolidaysProvider ( ) : array
return array list of Japanese Vernal Equinox holidays