Class RepeatRuleDateTime
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.
- DateTime implements DateTimeInterface
-
RepeatRuleDateTime
Package: awl\RRule
Copyright: Morphoss Ltd
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at RRule.php
Copyright: Morphoss Ltd
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at RRule.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
FloatOrUTC( $return_floating_times = false )
If this is a localised time then this will return the UTC equivalent. If it is a floating time, then you will just get the floating time. If it is a date then it will be returned as a date. Note that if it is a localised date then the answer will still be the UTC equivalent but only the date itself will be returned. |
public
|
|
public
|
|
public
|
|
public static
1
|
|
public static
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
__set_state(),
__wakeup(),
add(),
createFromFormat(),
diff(),
format(),
getLastErrors(),
getOffset(),
getTimestamp(),
getTimezone(),
setISODate(),
setTime(),
setTimestamp(),
setTimezone(),
sub()
|
ATOM,
COOKIE,
ISO8601,
RFC1036,
RFC1123,
RFC2822,
RFC3339,
RFC3339_EXTENDED,
RFC7231,
RFC822,
RFC850,
RSS,
W3C
|
public static
string
|
$Format
|
#
'c'
|