Kaydet (Commit) cf2c5130 authored tarafından Eike Rathke's avatar Eike Rathke

Introduce Date::IsEmpty()

Change-Id: I4199b1da723c93b369c84bf664ef2d6e6e6dabb7
üst d50fc27e
...@@ -80,6 +80,8 @@ public: ...@@ -80,6 +80,8 @@ public:
} }
Date( const css::util::DateTime& _rDateTime ); Date( const css::util::DateTime& _rDateTime );
bool IsEmpty() const { return mnDate == 0; }
void SetDate( sal_Int32 nNewDate ); void SetDate( sal_Int32 nNewDate );
sal_Int32 GetDate() const { return mnDate; } sal_Int32 GetDate() const { return mnDate; }
/** Type safe access for values that are guaranteed to be unsigned, like Date::SYSTEM. */ /** Type safe access for values that are guaranteed to be unsigned, like Date::SYSTEM. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment