29 if (!is_numeric($basis)) {
34 case FinancialConstants::BASIS_DAYS_PER_YEAR_NASD:
35 case FinancialConstants::BASIS_DAYS_PER_YEAR_360:
36 case FinancialConstants::BASIS_DAYS_PER_YEAR_360_EUROPEAN:
38 case FinancialConstants::BASIS_DAYS_PER_YEAR_365:
40 case FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL:
56 return $date->format(
'd') === $date->format(
't');
static isLastDayOfMonth(DateTimeInterface $date)
isLastDayOfMonth.
static isLeapYear($year)
Identify if a year is a leap year or not.
static daysPerYear($year, $basis=0)
daysPerYear.