Class RepeatRuleDateTime

Description

Wrap the DateTime class to make it friendlier to passing in random strings from iCalendar objects, and especially the random stuff used to identify timezones. We also add some utility methods and stuff too, in order to simplify some of the operations we need to do with dates.

Located in /inc/RRule-v2.php (line 80)

DateTime
   |
   --RepeatRuleDateTime
Variable Summary
 static mixed $Format
Method Summary
 RepeatRuleDateTime __construct ([ $date = null], [ $dtz = null])
 void AsDate ()
 void day ()
 void epoch ()
 void FloatOrUTC ()
 void hour ()
 void isDate ()
 void isFloating ()
 void minute ()
 void modify ( $interval)
 void month ()
 void RFC5545 ()
 void RFC5545Duration ( $end_stamp)
 void second ()
 void setDate ([ $year = null], [ $month = null], [ $day = null])
 void setTimeZone ( $tz)
 void UTC ()
 void year ()
 void __toString ()
Variables
static mixed $Format = 'c' (line 82)
  • access: public
Methods
Constructor __construct (line 87)
  • access: public
RepeatRuleDateTime __construct ([ $date = null], [ $dtz = null])
  • $date
  • $dtz

Redefinition of:
DateTime::constructor __construct ( [$time = ], [$object = ] )
AsDate (line 180)
  • access: public
void AsDate ()
day (line 288)
void day ()
epoch (line 304)
void epoch ()
FloatOrUTC (line 225)
  • access: public
void FloatOrUTC ()
hour (line 292)
void hour ()
isDate (line 189)
  • access: public
void isDate ()
isFloating (line 185)
  • access: public
void isFloating ()
minute (line 296)
void minute ()
modify (line 194)
  • access: public
void modify ( $interval)
  • $interval

Redefinition of:
DateTime::modify ( $modify )
month (line 284)
void month ()
RFC5545 (line 239)
  • access: public
void RFC5545 ()
RFC5545Duration (line 257)
  • access: public
void RFC5545Duration ( $end_stamp)
  • $end_stamp
second (line 300)
void second ()
setDate (line 272)
void setDate ([ $year = null], [ $month = null], [ $day = null])
  • $year
  • $month
  • $day

Redefinition of:
DateTime::setDate ( $year, $month, $day )
setTimeZone (line 262)
  • access: public
void setTimeZone ( $tz)
  • $tz

Redefinition of:
DateTime::setTimezone ( $timezone )
UTC (line 213)
  • access: public
void UTC ()
year (line 280)
void year ()
__toString (line 175)
  • access: public
void __toString ()

Inherited Methods

Inherited From DateTime (Internal Class)

 constructor __construct ( [$time = ], [$object = ] )
 add ( $interval )
 createFromFormat ( $format, $time, [$object = ] )
 diff ( $object, [$absolute = ] )
 format ( $format )
 getLastErrors ( )
 getOffset ( )
 getTimestamp ( )
 getTimezone ( )
 modify ( $modify )
 setDate ( $year, $month, $day )
 setISODate ( $year, $week, [$day = ] )
 setTime ( $hour, $minute, [$second = ] )
 setTimestamp ( $unixtimestamp )
 setTimezone ( $timezone )
 sub ( $interval )
 __set_state ( )
 __wakeup ( )
Class Constants

Inherited Constants

Inherited from DateTime (Internal Class)

ATOM = 'Y-m-d\\TH:i:sP'
COOKIE = 'l, d-M-y H:i:s T'
ISO8601 = 'Y-m-d\\TH:i:sO'
RFC822 = 'D, d M y H:i:s O'
RFC850 = 'l, d-M-y H:i:s T'
RFC1036 = 'D, d M y H:i:s O'
RFC1123 = 'D, d M Y H:i:s O'
RFC2822 = 'D, d M Y H:i:s O'
RFC3339 = 'Y-m-d\\TH:i:sP'
RSS = 'D, d M Y H:i:s O'
W3C = 'Y-m-d\\TH:i:sP'

Documentation generated on Tue, 28 Dec 2010 02:16:04 +1300 by phpDocumentor 1.4.3