diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/lldate.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llcommon/lldate.h')
-rw-r--r-- | linden/indra/llcommon/lldate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llcommon/lldate.h b/linden/indra/llcommon/lldate.h index f8bd625..5d90a54 100644 --- a/linden/indra/llcommon/lldate.h +++ b/linden/indra/llcommon/lldate.h | |||
@@ -77,7 +77,9 @@ public: | |||
77 | * @return A string representation of the date. | 77 | * @return A string representation of the date. |
78 | */ | 78 | */ |
79 | std::string asString() const; | 79 | std::string asString() const; |
80 | std::string asRFC1123() const; | ||
80 | void toStream(std::ostream&) const; | 81 | void toStream(std::ostream&) const; |
82 | void toHTTPDateStream(std::ostream&) const; | ||
81 | /** | 83 | /** |
82 | * @brief Set the date from an ISO-8601 string. | 84 | * @brief Set the date from an ISO-8601 string. |
83 | * | 85 | * |
@@ -119,4 +121,8 @@ std::ostream& operator<<(std::ostream& s, const LLDate& date); | |||
119 | std::istream& operator>>(std::istream& s, LLDate& date); | 121 | std::istream& operator>>(std::istream& s, LLDate& date); |
120 | 122 | ||
121 | 123 | ||
124 | const static std::string weekdays[] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; | ||
125 | |||
126 | const static std::string months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; | ||
127 | |||
122 | #endif // LL_LLDATE_H | 128 | #endif // LL_LLDATE_H |