Class FeedDate

Description

FeedDate is an internal class that stores a date for a feed or feed item.

FeedDate is an internal class that stores a date for a feed or feed item. Usually, you won't need to use this.

Located in /engine/tcms_kernel/feedcreator/feedcreator.class.php (line 703)


	
			
Variable Summary
mixed $unix
Method Summary
FeedDate FeedDate ([mixed $dateString = ""])
a iso8601 ()
a rfc822 ()
a unix ()
Variables
mixed $unix (line 704)
Methods
Constructor FeedDate (line 711)

Creates a new instance of FeedDate representing a given date.

Creates a new instance of FeedDate representing a given date. Accepts RFC 822, ISO 8601 date formats as well as unix time stamps.

FeedDate FeedDate ([mixed $dateString = ""])
  • mixed $dateString: optional the date this FeedDate will represent. If not specified, the current date and time is used.
iso8601 (line 775)

Gets the date stored in this FeedDate as an ISO 8601 date.

Gets the date stored in this FeedDate as an ISO 8601 date.

  • return: date in ISO 8601 format
a iso8601 ()
rfc822 (line 763)

Gets the date stored in this FeedDate as an RFC 822 date.

Gets the date stored in this FeedDate as an RFC 822 date.

  • return: date in RFC 822 format
a rfc822 ()
unix (line 787)

Gets the date stored in this FeedDate as unix time stamp.

Gets the date stored in this FeedDate as unix time stamp.

  • return: date as a unix time stamp
a unix ()

Documentation generated on Sun, 29 Oct 2006 18:01:26 +0100 by phpDocumentor 1.3.1