diff options
Diffstat (limited to '')
-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 |