Class DateHeader
A date time object that renders into a string formatted for HTTP header fields.
- DateTime
- ICanBoogie\DateTime
- ICanBoogie\HTTP\DateHeader
See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
Located at vendor/icanboogie/http/lib/headers/datetime.php
Methods summary
public static
|
|
public
|
#
__construct( string|integer|
Returns a new |
public
|
Methods inherited from ICanBoogie\DateTime
__call()
,
__get()
,
__set()
,
change()
,
format()
,
get_friday()
,
get_monday()
,
get_saturday()
,
get_sunday()
,
get_thursday()
,
get_tuesday()
,
get_wednesday()
,
none()
,
now()
,
setTimezone()
Methods inherited from DateTime
__set_state()
,
__wakeup()
,
add()
,
createFromFormat()
,
diff()
,
getLastErrors()
,
getOffset()
,
getTimestamp()
,
getTimezone()
,
modify()
,
setDate()
,
setISODate()
,
setTime()
,
setTimestamp()
,
sub()
Magic methods summary
Magic methods inherited from ICanBoogie\DateTime
format_as_atom()
,
format_as_cookie()
,
format_as_date()
,
format_as_db()
,
format_as_iso8601()
,
format_as_number()
,
format_as_rfc1036()
,
format_as_rfc1123()
,
format_as_rfc2822()
,
format_as_rfc3339()
,
format_as_rfc822()
,
format_as_rfc850()
,
format_as_rss()
,
format_as_time()
,
format_as_w3c()
Constants summary
Constants inherited from ICanBoogie\DateTime
Constants inherited from DateTime
ATOM
,
COOKIE
,
ISO8601
,
RFC1036
,
RFC1123
,
RFC2822
,
RFC3339
,
RFC822
,
RFC850
,
RSS
,
W3C
Properties summary
Magic properties inherited from ICanBoogie\DateTime
$as_atom
,
$as_cookie
,
$as_date
,
$as_db
,
$as_iso8601
,
$as_number
,
$as_rfc1036
,
$as_rfc1123
,
$as_rfc2822
,
$as_rfc3339
,
$as_rfc822
,
$as_rfc850
,
$as_rss
,
$as_time
,
$as_w3c
,
$day
,
$friday
,
$hour
,
$is_dst
,
$is_empty
,
$is_friday
,
$is_future
,
$is_local
,
$is_monday
,
$is_past
,
$is_saturday
,
$is_sunday
,
$is_thursday
,
$is_today
,
$is_tuesday
,
$is_utc
,
$is_wednesday
,
$local
,
$minute
,
$monday
,
$month
,
$quarter
,
$saturday
,
$second
,
$sunday
,
$thursday
,
$timestamp
,
$tomorrow
,
$tuesday
,
$utc
,
$wednesday
,
$week
,
$weekday
,
$year
,
$year_day
,
$yesterday
,
$zone