aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/lldate.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-05-24 02:59:02 -0500
committerJacek Antonelli2009-05-24 02:59:08 -0500
commit811454f47ea1f3c5cb8971f0fed0959b18bd0747 (patch)
tree1b8689df2dc8857cdc5a956a5233d5bf94b5c8d7 /linden/indra/llcommon/lldate.h
parentSecond Life viewer sources 1.23.0-RC (diff)
downloadmeta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.zip
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.gz
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.bz2
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.xz
Second Life viewer sources 1.23.1-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/lldate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/llcommon/lldate.h b/linden/indra/llcommon/lldate.h
index 32825b1..7cc9c8a 100644
--- a/linden/indra/llcommon/lldate.h
+++ b/linden/indra/llcommon/lldate.h
@@ -140,6 +140,14 @@ public:
140 bool operator!=(const LLDate& rhs) const { return (*this < rhs) || (rhs < *this); } 140 bool operator!=(const LLDate& rhs) const { return (*this < rhs) || (rhs < *this); }
141 bool operator==(const LLDate& rhs) const { return !(*this != rhs); } 141 bool operator==(const LLDate& rhs) const { return !(*this != rhs); }
142 142
143 /**
144 * @brief Compare to epoch UTC.
145 */
146
147 bool isNull() const { return mSecondsSinceEpoch == 0.0; }
148 bool notNull() const { return mSecondsSinceEpoch != 0.0; }
149
150
143private: 151private:
144 F64 mSecondsSinceEpoch; 152 F64 mSecondsSinceEpoch;
145}; 153};