33 INLINE
void operator = (
const HTTPDate ©);
36 INLINE
bool is_valid()
const;
38 std::string get_string()
const;
39 INLINE time_t get_time()
const;
41 INLINE
bool operator == (
const HTTPDate &other)
const;
42 INLINE
bool operator != (
const HTTPDate &other)
const;
43 INLINE
bool operator < (
const HTTPDate &other)
const;
44 INLINE
bool operator > (
const HTTPDate &other)
const;
47 INLINE
void operator += (
int seconds);
48 INLINE
void operator -= (
int seconds);
50 INLINE
HTTPDate operator + (
int seconds)
const;
51 INLINE
HTTPDate operator - (
int seconds)
const;
52 INLINE
int operator - (
const HTTPDate &other)
const;
54 bool input(std::istream &in);
55 void output(std::ostream &out)
const;
58 static std::string get_token(
const std::string &str,
size_t &pos);
63 INLINE std::istream &operator >> (std::istream &in,
HTTPDate &date);
64 INLINE std::ostream &operator << (std::ostream &out,
const HTTPDate &date);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A container for an HTTP-legal time/date indication.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An STL function object class, this is intended to be used on any ordered collection of class objects ...