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

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( $basedate, $rrule, $is_date = null, $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( $tzstring )
public
# Start( $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
Whether to return dates as floating times.

Returns

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