diff options
author | Jacek Antonelli | 2009-05-24 02:59:02 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-05-24 02:59:08 -0500 |
commit | 811454f47ea1f3c5cb8971f0fed0959b18bd0747 (patch) | |
tree | 1b8689df2dc8857cdc5a956a5233d5bf94b5c8d7 /linden/indra/llcommon/lldate.h | |
parent | Second Life viewer sources 1.23.0-RC (diff) | |
download | meta-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.h | 8 |
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 | |||
143 | private: | 151 | private: |
144 | F64 mSecondsSinceEpoch; | 152 | F64 mSecondsSinceEpoch; |
145 | }; | 153 | }; |