![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/simshaun/recurr/src/Recurr/ |
<?php /* * Copyright 2013 Shaun Simmons * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Based on rrule.js * Copyright 2010, Jakub Roztocil and Lars Schoning * https://github.com/jkbr/rrule/blob/master/LICENCE */ namespace Recurr; /** * Class DateInfo is responsible for holding information based on a particular * date that is applicable to a Rule. * * @package Recurr * @author Shaun Simmons <[email protected]> */ class DateInfo { /** @var \DateTime */ public $dt; /** * @var int Number of days in the month. */ public $monthLength; /** * @var int Number of days in the year (365 normally, 366 on leap years) */ public $yearLength; /** * @var int Number of days in the next year (365 normally, 366 on leap years) */ public $nextYearLength; /** * @var array Day of year of last day of each month. */ public $mRanges; /** @var int Day of week */ public $dayOfWeek; /** @var int Day of week of the year's first day */ public $dayOfWeekYearDay1; /** * @var array Month number for each day of the year. */ public $mMask; /** * @var array Month-daynumber for each day of the year. */ public $mDayMask; /** * @var array Month-daynumber for each day of the year (in reverse). */ public $mDayMaskNeg; /** * @var array Day of week (0-6) for each day of the year, 0 being Monday */ public $wDayMask; }