# HTTPDate

from pandac.PandaModules import HTTPDate

Class : HTTPDate
Description : A container for an HTTP-legal time/date indication. This can accept a string from an HTTP header and will decode it into a C time_t value; conversely, it can accept a time_t value and encode it for output as a string.

## Inheritance:

HTTPDate:

## Methods of HTTPDate:

compareTo
getString
getTime
input
isValid
now
operator !=
operator +
operator +=
operator -
operator -=
operator <
operator =
operator ==
operator >
output

compareTo int HTTPDate::compare_to(HTTPDate const &other) const; Description: Returns a number less than zero if this HTTPDate sorts before the other one, greater than zero if it sorts after, or zero if they are equivalent.

getString string HTTPDate::get_string(void) const; Description:

getTime unsigned int HTTPDate::get_time(void) const; Description: Returns the date as a C time_t value.

input bool HTTPDate::input(istream &in); Description:

isValid bool HTTPDate::is_valid(void) const; Description: Returns true if the date is meaningful, or false if it is -1 (which generally indicates the source string could not be parsed.)

now static HTTPDate HTTPDate::now(void); Description: Returns an HTTPDate that represents the current time and date.

operator != bool HTTPDate::operator !=(HTTPDate const &other) const; Description:

operator + HTTPDate HTTPDate::operator +(int seconds) const; Description:

operator += void HTTPDate::operator +=(int seconds); Description:

operator - HTTPDate HTTPDate::operator -(int seconds) const; Description:

operator -= void HTTPDate::operator -=(int seconds); Description:

operator < bool HTTPDate::operator <(HTTPDate const &other) const; Description:

operator = void HTTPDate::operator =(HTTPDate const &copy); Description:

operator == bool HTTPDate::operator ==(HTTPDate const &other) const; Description:

operator > bool HTTPDate::operator >(HTTPDate const &other) const; Description:

output void HTTPDate::output(ostream &out) const; Description: