Overview

Namespaces

  • intouch
    • ical

Classes

  • Duration
  • Factory
  • Freq
  • iCal
  • Line
  • Parser
  • Query
  • Recurrence
  • VCalendar
  • VEvent
  • VTimeZone
  • Overview
  • Namespace
  • Class
  • Tree

Class Duration

A class for calculating how many seconds a duration-string is

Namespace: intouch\ical
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Duration.php
Methods summary
public
# __construct( mixed $duration )

Constructs a new intouch\ical\Duration from a duration-rule. The basic build-up of DURATIONs are:
(["+"] / "-") "P" (dur-date / dur-date + "T" + dur-time / dur-time / dur-week) Is solved via a really fugly reg-exp with way to many ()'s..

Constructs a new intouch\ical\Duration from a duration-rule. The basic build-up of DURATIONs are: (["+"] / "-") "P" (dur-date / dur-date + "T" + dur-time / dur-time / dur-week) Is solved via a really fugly reg-exp with way to many ()'s..

Parameters

$duration
mixed
$duration string
public integer
# getDuration( )

Returns the duration in seconds

Returns the duration in seconds

Returns

integer
Properties summary
protected mixed $dur
#
intouch-iCalendar API documentation generated by ApiGen 2.8.0