diff options
Diffstat (limited to 'include/datetime/locations.h')
-rw-r--r-- | include/datetime/locations.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/datetime/locations.h b/include/datetime/locations.h index ee67615..b840436 100644 --- a/include/datetime/locations.h +++ b/include/datetime/locations.h @@ -39,18 +39,10 @@ namespace datetime { class Location { public: - const std::string& zone() const { return m_zone; } - - const std::string& name() const { return m_name; } - - bool operator== (const Location& that) const - { - return (name() == that.name()) && - (zone() == that.zone()) && - (m_offset == that.m_offset); - } - Location (const std::string& zone, const std::string& name); + const std::string& zone() const; + const std::string& name() const; + bool operator== (const Location& that) const; private: |