Overview

Packages

  • awl
    • caldav-client-v2
    • RRule
  • davical
    • authentication
      • drivers
    • caldav
    • DAViCalSession
    • DAVTicket
    • external-bind
    • feed
    • HTTPAuthSession
    • iSchedule
    • iSchedule-POST
    • logging
    • metrics
    • Principal
    • propfind
    • PublicSession
    • Request
    • Resource
    • tzservice
  • None
  • PHP

Classes

  • RepeatRule
  • RepeatRuleDateRange
  • RepeatRuleDateTime
  • RepeatRuleTimeZone
  • Rfc5545Duration

Functions

  • expand_event_instances
  • getComponentRange
  • getVCalendarRange
  • olson_from_vtimezone
  • rdate_expand
  • rrule_expand
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class RepeatRule

This class is an implementation of RRULE parsing and expansion, as per RFC5545. It should be reasonably complete, except that it does not handle changing the WKST - there may be a few errors in unusual rules also, but all of the common cases should be handled correctly.

Package: awl\RRule
Copyright: Morphoss Ltd
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at RRule.php
Methods summary
public
# __construct( mixed $basedate, mixed $rrule, mixed $is_date = null, mixed $return_floating_times = false )
public boolean
# hasLimitedOccurrences( )

If this repeat rule has an UNTIL= or COUNT= then we can know it will end. Eventually.

If this repeat rule has an UNTIL= or COUNT= then we can know it will end. Eventually.

Returns

boolean
Whether or not one of these properties is present.
public
# set_timezone( mixed $tzstring )
public
# Start( mixed $return_floating_times = false )
public
# rewind( )
public vComponent
# next( boolean $return_floating_times = false )

Return the next date in the repeating series.

Return the next date in the repeating series.

Parameters

$return_floating_times
boolean
$return_floating_times Whether to return dates as floating times.

Returns

vComponent
The next instance.
public
# current( mixed $return_floating_times = false )
public
# key( mixed $return_floating_times = false )
public
# valid( )
public static
# rrule_day_number( mixed $day )
public static
# date_mask( mixed $date, mixed $y, mixed $mo, mixed $d, mixed $h, mixed $mi, mixed $s )
DAViCal API documentation generated by ApiGen 2.8.0