[Zend_Date] element index

Package indexes

All elements
a c d e g h i l m n o r s t v w y z _
_
top
Method __construct
Method __construct
Method _getTime
Internal function.
Method __construct
Generates the standard date object, could be a unix timestamp, localized date,
Method __toString
Returns a string representation of the date which is equal with the timestamp
a
top
Method add
Zend_Date::add() in Date.php
Adds a date or datepart to the existing date, by extracting $part from $date, and modifying this object by adding that part. The $part is then extracted from this object and returned as an integer or numeric string (for large values, or $part's corresponding to pre-defined formatted date strings).
Method addArpa
Adds a RFC 822 date to the date object.
Method addDate
Adds a date to the existing date object. Format defines how to parse the date string.
Method addDay
Adds days to the existing date object.
Method addDayOfYear
Adds a day of year to the existing date object.
Method addHour
Adds hours to the existing date object.
Method addIso
Adds a ISO date to the date object. Not given parts are set to default.
Method addMilliSecond
Adds milliseconds to the date object
Method addMinute
Adds minutes to the existing date object.
Method addMonth
Adds months to the existing date object.
Method addSecond
Adds seconds to the existing date object.
Method addTime
Adds a time to the existing date. Format defines how to parse the time string.
Method addTimestamp
Adds a timestamp
Method addWeek
Adds a week. The week is always a number. The day of week is not changed.
Method addWeekday
Adds weekdays to the existing date object.
Method addYear
Adds the year to the existing date object
Class Constant ATOM
Zend_Date::ATOM in Date.php
c
top
Variable $Cities
Method City
Returns the location from the selected city
Page Cities.php
Cities.php in Cities.php
Method calcSun
Calculates the sunrise or sunset based on a location
Method checkLeapYear
Check a given year for leap year.
Method compare
Compares a date or datepart with the existing one.
Method compareArpa
Compares a RFC 822 compilant date with the date object.
Method compareDate
Compares the date from the existing date object, ignoring the time.
Method compareDay
Compares the day with the existing date object, ignoring other date parts.
Method compareDayOfYear
Compares the day of year with the existing date object.
Method compareHour
Compares the hour with the existing date object.
Method compareIso
Compares a ISO date with the date object. Not given parts are set to default.
Method compareMilliSecond
Compares only the millisecond part, returning the difference
Method compareMinute
Compares the minute with the existing date object.
Method compareMonth
Compares the month with the existing date object, ignoring other date parts.
Method compareSecond
Compares the second with the existing date object.
Method compareTime
Compares the time from the existing date. Format defines how to parse the time string.
Method compareTimestamp
Compares two timestamps, returning the difference as integer
Method compareWeek
Compares only the week part, returning the difference
Method compareWeekday
Compares the weekday with the existing date object, ignoring other date parts.
Method compareYear
Compares the year with the existing date object, ignoring other date parts.
Class Constant COOKIE
Zend_Date::COOKIE in Date.php
Method copyPart
Returns a new instance of Zend_Date with the selected part copied.
d
top
Page DateObject.php
DateObject.php in DateObject.php
Page Date.php
Date.php in Date.php
Method date
Internal mktime function used by Zend_Date for handling 64bit timestamps.
Class Constant DATES
Zend_Date::DATES in Date.php
Class Constant DATE_FULL
Class Constant DATE_LONG
Class Constant DATE_MEDIUM
Class Constant DATE_SHORT
Class Constant DAY
Zend_Date::DAY in Date.php
Class Constant DAYLIGHT
Method dayOfWeek
Returns the day of week for a Gregorian calendar date.
Class Constant DAY_OF_YEAR
Class Constant DAY_SHORT
Class Constant DAY_SUFFIX
e
top
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
Method equals
Returns true when both date objects or date parts are equal.
Class Constant ERA
Zend_Date::ERA in Date.php
Class Constant ERA_NAME
g
top
Method getCityList
Return a list with all known cities
Method getOperand
Method getView
Method get
Zend_Date::get() in Date.php
Returns a representation of a date or datepart This could be for example a localized monthname, the time without date, the era or only the fractional seconds. There are about 50 different supported date parts.
Method getArpa
Returns a RFC 822 compilant datestring from the date object.
Method getDate
Returns a clone of $this, with the time part set to 00:00:00.
Method getDateParts
Internal getDateParts function for handling 64bit timestamps, similar to: http://www.php.net/getdate
Method getDay
Returns the day as new date object Example: 20.May.1986 -> 20.Jan.1970 00:00:00
Method getDayOfYear
Returns the day of year as new date object Example: 02.Feb.1986 10:00:00 -> 02.Feb.1970 00:00:00
Method getFractionalPrecision
Returns the precision for fractional seconds
Method getGmtOffset
Return the offset to GMT of $this object's timezone.
Method getHour
Returns the hour as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 10:00:00
Method getIso
Returns the full ISO 8601 date from the date object.
Method getLocale
Returns the actual set locale
Method getMilliSecond
Returns the milliseconds of the date object
Method getMinute
Returns the minute as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 00:30:00
Method getMonth
Returns only the month from the date object as new object.
Method getSecond
Returns the second as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 00:00:25
Method getSunInfo
Returns an array with the sunset and sunrise dates for all horizon types For a list of cities and correct locations use the class Zend_Date_Cities
Method getSunrise
Returns the time of sunrise for this date and a given location as new date object For a list of cities and correct locations use the class Zend_Date_Cities
Method getSunset
Returns the time of sunset for this date and a given location as new date object For a list of cities and correct locations use the class Zend_Date_Cities
Method getTime
Returns only the time of the date as new Zend_Date object For example: 15.May.2000 10:11:23 will return a dateobject equal to 01.Jan.1970 10:11:23
Method getTimestamp
Returns this object's internal UNIX timestamp (equivalent to Zend_Date::TIMESTAMP).
Method getTimezone
Return the timezone of $this object.
Method getUnixTimestamp
Returns this object's UNIX timestamp A timestamp greater then the integer range will be returned as string This function does not return the timestamp as object. Use copy() instead.
Method getWeek
Returns the week as new date object using monday as begining of the week Example: 12.Jan.2007 -> 08.Jan.1970 00:00:00
Method getWeekday
Returns the weekday as new date object Weekday is always from 1-7 Example: 09-Jan-2007 -> 2 = Tuesday -> 02-Jan-1970 (when 02.01.1970 is also Tuesday)
Method getYear
Returns only the year from the date object as new object.
Class Constant GMT_DIFF
Class Constant GMT_DIFF_SEP
h
top
Class Constant HOUR
Zend_Date::HOUR in Date.php
Class Constant HOUR_AM
Zend_Date::HOUR_AM in Date.php
Class Constant HOUR_SHORT
Class Constant HOUR_SHORT_AM
i
top
Method isDate
Checks if the given date is a real date or datepart.
Method isEarlier
Returns if the given date or datepart is earlier For example: 15.May.2000 <-> 13.June.1999 will return true for day, year and date, but not for month
Method isLater
Returns if the given date or datepart is later
Method isLeapYear
Returns true, if the year is a leap year.
Class Constant ISO_8601
Method isToday
Returns if the set date is todays date
Method isTomorrow
Returns if the set date is tomorrows date
Method isYearLeapYear
Returns true, if given $year is a leap year.
Method isYesterday
Returns if the set date is yesterdays date
l
top
Class Constant LEAPYEAR
m
top
Class Constant MERIDIEM
Class Constant MILLISECOND
Class Constant MINUTE
Zend_Date::MINUTE in Date.php
Class Constant MINUTE_SHORT
Method mktime
Internal mktime function used by Zend_Date.
Class Constant MONTH
Zend_Date::MONTH in Date.php
Class Constant MONTH_DAYS
Class Constant MONTH_NAME
Class Constant MONTH_NAME_NARROW
Class Constant MONTH_NAME_SHORT
Class Constant MONTH_SHORT
n
top
Method now
Zend_Date::now() in Date.php
Returns the actual date as new date object
o
top
Variable $operand
r
top
Class Constant RFC_822
Zend_Date::RFC_822 in Date.php
Class Constant RFC_850
Zend_Date::RFC_850 in Date.php
Class Constant RFC_1036
Class Constant RFC_1123
Class Constant RFC_2822
Class Constant RFC_3339
Class Constant RSS
Zend_Date::RSS in Date.php
s
top
Class Constant SECOND
Zend_Date::SECOND in Date.php
Class Constant SECOND_SHORT
Method set
Zend_Date::set() in Date.php
Sets the given date as new date or a given datepart as new datepart returning the new datepart This could be for example a localized dayname, the date without time, the month or only the seconds. There are about 50 different supported date parts.
Method setArpa
Sets a RFC 822 date as new date for the date object.
Method setDate
Sets a new date for the date object. Format defines how to parse the date string.
Method setDay
Sets a new day The day can be a number or a string. Setting days lower then 0 or greater than the number of this months days will result in adding or subtracting the relevant month.
Method setDayOfYear
Sets a new day of year The day of year is always a number.
Method setFractionalPrecision
Sets a new precision for fractional seconds
Method setHour
Sets a new hour The hour is always a number.
Method setIso
Sets a new date for the date object. Not given parts are set to default.
Method setLocale
Sets a new standard locale for the date object.
Method setMilliSecond
Sets new milliseconds for the date object Example: setMilliSecond(550, 2) -> equals +5 Sec +50 MilliSec
Method setMinute
Sets a new minute The minute is always a number.
Method setMonth
Sets a new month
Method setOptions
Sets class wide options, if no option was given, the actual set options will be returned
Method setSecond
Sets new seconds to the existing date object.
Method setTime
Sets a new time for the date object. Format defines how to parse the time string.
Method setTimestamp
Sets a new timestamp
Method setTimezone
Sets a new timezone for calculation of $this object's gmt offset.
Method setUnixTimestamp
Set this object to have a new UNIX timestamp.
Method setWeek
Sets a new week. The week is always a number. The day of week is not changed.
Method setWeekday
Sets a new weekday The weekday can be a number or a string. If a localized weekday name is given, then it will be parsed as a date in $locale (defaults to the same locale as $this).
Method setYear
Sets a new year
Method sub
Zend_Date::sub() in Date.php
Subtracts a date from another date.
Method subArpa
Subtracts a RFC 822 date from the date object.
Method subDate
Subtracts a date from the existing date object. Format defines how to parse the date string.
Method subDay
Subtracts days from the existing date object.
Method subDayOfYear
Subtracts a day of year from the existing date object.
Method subHour
Subtracts hours from the existing date object.
Method subIso
Subtracts a ISO date from the date object. Not given parts are set to default.
Method subMilliSecond
Subtracts a millisecond
Method subMinute
Subtracts minutes from the existing date object.
Method subMonth
Subtracts months from the existing date object.
Method subSecond
Subtracts seconds from the existing date object.
Method subTime
Subtracts a time from the existing date. Format defines how to parse the time string.
Method subTimestamp
Subtracts a timestamp
Method subWeek
Subtracts a week. The week is always a number. The day of week is not changed.
Method subWeekday
Subtracts weekdays from the existing date object.
Method subYear
Subs the year from the existing date object
Class Constant SWATCH
Zend_Date::SWATCH in Date.php
t
top
Class Constant TIMES
Zend_Date::TIMES in Date.php
Class Constant TIMESTAMP
Class Constant TIMEZONE
Class Constant TIMEZONE_NAME
Class Constant TIMEZONE_SECS
Class Constant TIME_FULL
Class Constant TIME_LONG
Class Constant TIME_MEDIUM
Class Constant TIME_SHORT
Method toString
Returns a string representation of the object
Method toValue
Returns a integer representation of the object But returns false when the given part is no value f.e. Month-Name
v
top
Variable $view
w
top
Class Constant W3C
Zend_Date::W3C in Date.php
Class Constant WEEK
Zend_Date::WEEK in Date.php
Class Constant WEEKDAY
Zend_Date::WEEKDAY in Date.php
Class Constant WEEKDAY_8601
Class Constant WEEKDAY_DIGIT
Class Constant WEEKDAY_NAME
Class Constant WEEKDAY_NARROW
Class Constant WEEKDAY_SHORT
Method weekNumber
Internal getWeekNumber function for handling 64bit timestamps
y
top
Class Constant YEAR
Zend_Date::YEAR in Date.php
Class Constant YEAR_8601
Class Constant YEAR_SHORT
Class Constant YEAR_SHORT_8601
z
top
Class Zend_Date_Cities
Zend_Date_Cities in Cities.php
Class Zend_Date_Exception
Zend_Date_Exception in Exception.php
Class Zend_View_Exception
Zend_View_Exception in Exception.php
Exception for Zend_View class.
Class Zend_Date
Zend_Date in Date.php
Class Zend_Date_DateObject
Zend_Date_DateObject in DateObject.php
a c d e g h i l m n o r s t v w y z _