Method |
Description |
|
addDay ( business\DayInterface $day ) |
Adds a day. |
|
getClosestDateAfter ( DateTime $date ) : DateTime |
Gets the closest business date after the given date. |
|
getClosestDateBefore ( DateTime $date ) : DateTime |
Gets the closest business date before the given date. |
|
getClosestDayAfter ( integer $dayNumber ) : business\DayInterface | null |
Gets the closest business day after a given day number (including it). |
|
getClosestDayBefore ( integer $dayNumber ) : business\DayInterface | null |
Gets the closest business day before a given day number (including it). |
|
getDateAfter ( DateTime $date ) : DateTime |
Gets the business date after the given date (excluding holidays). |
|
getDateBefore ( DateTime $date ) : DateTime |
Gets the business date before the given date (excluding holidays). |
|
getDay ( integer $dayNumber ) : business\DayInterface | null |
Gets the day corresponding to the day number. |
|
getDayAfter ( integer $dayNumber ) : business\DayInterface | null |
Gets the business day after the day number. |
|
getDayBefore ( integer $dayNumber ) : business\DayInterface | null |
Gets the business day before the day number. |
|
setDays ( array $days ) |
Adds a set of days. |
|