VMware GemFire Native .NET Reference
9.2.4
|
An immutable date wrapper that can serve as a distributable key object for caching as well as being a string value. More...
Inherits Apache::Geode::Client::ICacheableKey.
Public Member Functions | |
CacheableDate () | |
Allocates a new default instance. More... | |
CacheableDate (DateTime dateTime) | |
Initializes a new instance of the CacheableDate to the given System.DateTime value. More... | |
virtual bool | Equals (ICacheableKey^ other) |
Return true if this key matches other object. More... | |
virtual bool | Equals (Object^ obj) override |
Return true if this key matches other object. More... | |
virtual IGeodeSerializable ^ | FromData (DataInput^ input) |
Deserialize this object, typical implementation should return the 'this' pointer. More... | |
virtual System::Int32 | GetHashCode () override |
Return the hashcode for this key. More... | |
virtual void | ToData (DataOutput^ output) |
Serializes this object. More... | |
virtual String ^ | ToString () override |
Return a string representation of the object. More... | |
Static Public Member Functions | |
static CacheableDate ^ | Create () |
Static function that returns a new default instance. More... | |
static CacheableDate ^ | Create (DateTime dateTime) |
Static function that returns a new instance initialized to the given System.DateTime value. More... | |
static IGeodeSerializable ^ | CreateDeserializable () |
Factory function to register this class. More... | |
Static Public Attributes | |
static initonly DateTime | EpochTime |
DataTime value since 1/1/1970 More... | |
Properties | |
virtual System::UInt32 | ClassId [get] |
Returns the classId of the instance being serialized. More... | |
virtual System::UInt32 | ObjectSize [get] |
return the size of this object in bytes More... | |
DateTime | Value [get] |
Gets the System.DateTime value. More... | |
An immutable date wrapper that can serve as a distributable key object for caching as well as being a string value.
|
inline |
Allocates a new default instance.
Apache::Geode::Client::CacheableDate::CacheableDate | ( | DateTime | dateTime | ) |
Initializes a new instance of the CacheableDate
to the given System.DateTime
value.
dateTime | A System.DateTime value to initialize this instance. |
|
inlinestatic |
Static function that returns a new default instance.
|
inlinestatic |
Static function that returns a new instance initialized to the given System.DateTime
value.
|
inlinestatic |
Factory function to register this class.
|
virtual |
Return true if this key matches other object.
Implements Apache::Geode::Client::ICacheableKey.
|
overridevirtual |
Return true if this key matches other object.
|
virtual |
Deserialize this object, typical implementation should return the 'this' pointer.
input | the DataInput stream to use for reading the object data |
Implements Apache::Geode::Client::IGeodeSerializable.
|
overridevirtual |
Return the hashcode for this key.
Implements Apache::Geode::Client::ICacheableKey.
|
virtual |
Serializes this object.
output | the DataOutput object to use for serializing the object |
Implements Apache::Geode::Client::IGeodeSerializable.
|
overridevirtual |
Return a string representation of the object.
Implements Apache::Geode::Client::IGeodeSerializable.
|
staticinitonly |
DataTime
value since 1/1/1970
|
get |
Returns the classId of the instance being serialized.
This is used by deserialization to determine what instance type to create and deserialize into.
|
get |
return the size of this object in bytes
return the size of this object in bytes
|
get |
Gets the System.DateTime
value.