Showing 227 of 228 total issues
Line exceeds 120 characters; contains 294 characters Open
Open
* @method \Carbon\CarbonInterface|\Carbon\Carbon|\Carbon\CarbonImmutable currentOrNextBusinessDay(CarbonInterface $date) Sets the date to the current or next business day (neither a weekend day nor a holiday).
- Exclude checks
Line exceeds 120 characters; contains 252 characters Open
Open
* @method $this|null observeAllHolidays(CarbonInterface $date, $holidayId = null, $observed = null, $self = null) Set all holidays as observed in the selected zone.
- Exclude checks
Line exceeds 120 characters; contains 250 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|null pushWorkday(CarbonInterface $date, $region, $workday, $workdayId = null) Push a workday to the workdays list of a region.
- Exclude checks
Line exceeds 120 characters; contains 263 characters Open
Open
* @method bool checkObservedHoliday(CarbonInterface $date, $holidayId = null) Check if a given holiday ID is observed in the selected zone.
- Exclude checks
Line exceeds 120 characters; contains 296 characters Open
Open
* @method array swapDateTimeParam(CarbonInterface $date, $target, $date, $defaultValue) Store a first variable as Carbon instance into the second variable if the first one is a date.
- Exclude checks
Line exceeds 120 characters; contains 274 characters Open
Open
* @method bool isObservedHoliday(CarbonInterface $date, $holidayId = null, $date = null) Checks the date to see if it is a holiday observed in the selected zone.
- Exclude checks
Line exceeds 120 characters; contains 289 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|null setHolidayName(CarbonInterface $date, $holidayKey = null, $language = null, $name = null) Set/change the name of holiday by ID for a given language (or a list of languages).
- Exclude checks
Line exceeds 120 characters; contains 249 characters Open
Open
* @method $this|null setHolidayDataById(CarbonInterface $date, string $id, array $data) Set stored data set for the a given holiday ID.
- Exclude checks
Line exceeds 120 characters; contains 260 characters Open
Open
* @method array checkHoliday(CarbonInterface $date, $holiday, $holidayId, $name = null, $observed = null) Check a holiday definition and unpack it if it's an array.
- Exclude checks
Line exceeds 120 characters; contains 267 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface subClosedTime(CarbonInterface $date, $interval = null, $unit = null, int $options = 0) Subtract the given interval taking into account only closed time.
- Exclude checks
Line exceeds 120 characters; contains 282 characters Open
Open
* @method $this|null setHolidayData(CarbonInterface $date, array $data) Set stored data set for the current holiday, does nothing if it's not a holiday.
- Exclude checks
Line exceeds 120 characters; contains 272 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface subOpenHours(CarbonInterface $date, int $numberOfHours, int $options = 0) Subtract the given number of hours taking into account only open time.
- Exclude checks
Line exceeds 120 characters; contains 269 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addClosedHours(CarbonInterface $date, int $numberOfHours, int $options = 0) Add the given number of hours taking into account only closed time.
- Exclude checks
Line exceeds 120 characters; contains 289 characters Open
Open
* @method \Carbon\CarbonInterval diffAsBusinessInterval(CarbonInterface $date, $date = null, int $options = 0) Return an interval with open/closed business time between the current date and an other
- Exclude checks
Line exceeds 120 characters; contains 267 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addOpenHours(CarbonInterface $date, int $numberOfHours, int $options = 0) Add the given number of hours taking into account only open time.
- Exclude checks
Line exceeds 120 characters; contains 295 characters Open
Open
* @method float diffInBusinessHours(CarbonInterface $date, $date = null, int $options = 0) Return a number of hours with open/closed business time between the current date and an other
- Exclude checks
Line exceeds 120 characters; contains 272 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface closedOrNextBusinessOpen(CarbonInterface $date) Return current date-time if it's closed, else go to the next open date
- Exclude checks
Line exceeds 120 characters; contains 273 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface currentOrNextCloseIncludingHolidays(CarbonInterface $date) Return current date-time if it's closed, else go to the next close date
- Exclude checks
Line exceeds 120 characters; contains 263 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface nextBusinessClose(CarbonInterface $date) Go to the next close date and time or next holiday if sooner.
- Exclude checks
Line exceeds 120 characters; contains 311 characters Open
Open
* @method bool isClosed(CarbonInterface $date) Returns true if the business is closed now (or current date and time) according to current opening hours.
- Exclude checks