$rules
$rules : string
rules string
Zap Calendar Recurring Date Helper Class
Class to expand recurring rule to a list of dates
__construct(string $rules, integer $startdate, array $exdates = array(), string $tzid = "UTC")
Expand recurring rule to a list of dates
string | $rules | iCalendar rules string |
integer | $startdate | start date in Unix Timestamp format |
array | $exdates | array of exception dates |
string | $tzid | timezone of event (using PHP timezones) |
byYear(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by year
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
byMonth(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by month
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
byMonthDay(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by month day
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
byDay(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by day
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
byHour(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by hour
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
byMinute(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by minute
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates
bySecond(integer $startdate, integer $enddate, array $rdates, string $tzid = "UTC") : integer
Get repeating dates by second
integer | $startdate | start date of repeating events, in Unix timestamp format |
integer | $enddate | end date of repeating events, in Unix timestamp format |
array | $rdates | array to contain expanded repeating dates |
string | $tzid | timezone of event (using PHP timezones) |
count of dates