ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Stamp.hpp
(Generate patch)

Comparing trunk/Stamp.hpp (file contents):
Revision 39 by douglas, 2004-07-23T17:52:53-07:00 vs.
Revision 51 by douglas, 2004-08-23T15:03:41-07:00

# Line 36 | Line 36 | public:
36          Stamp(const ext::String& when);
37          ext::String get822() const;
38          ext::String getW3() const;
39 +        ext::String get8601() const;
40          ext::String getDate() const;
41          ext::String getTime() const;
42          void setSeconds(int seconds);
# Line 44 | Line 45 | public:
45          Stamp operator+(std::time_t seconds) const { return when + seconds; }
46          Stamp operator-(std::time_t seconds) const { return when - seconds; }
47          bool operator<(const Stamp& stamp) const { return when < stamp.when; }
48 +        bool operator>(const Stamp& stamp) const { return when > stamp.when; }
49   };
50  
51   inline std::ostream& operator<<(std::ostream& sout, const Stamp& stamp)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines