PHP 클래스 Yasumi\tests\Japan\VernalEquinoxDayTest

상속: extends JapanBaseTestCase, implements Yasumi\tests\YasumiTestCaseInterface
파일 보기 프로젝트 열기: azuyalabs/yasumi

공개 메소드들

메소드 설명
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.

메소드 상세

testHolidayType() 공개 메소드

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

testTranslation() 공개 메소드

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

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() 공개 메소드

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() 공개 메소드

After 2150 no calculations are available yet.

vernalEquinoxHolidaysProvider() 공개 메소드

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