Public Member Functions | |
CacheableDate (DateTime dateTime) | |
CacheableDate () | |
virtual bool | Equals (Object^ obj) override |
virtual bool | Equals (GemStone::GemFire::Cache::ICacheableKey^ other) |
virtual IGFSerializable^ | FromData (DataInput^ input) |
virtual int32_t | GetHashCode () override |
virtual void | ToData (DataOutput^ output) |
virtual String^ | ToString () override |
Static Public Member Functions | |
static CacheableDate^ | Create (DateTime dateTime) |
static CacheableDate^ | Create () |
static IGFSerializable^ | CreateDeserializable () |
Static Public Attributes | |
static initonly DateTime | EpochTime |
Properties | |
virtual uint32_t | ClassId [get] |
virtual uint32_t | ObjectSize [get] |
DateTime | Value [get] |
GemStone::GemFire::Cache::CacheableDate::CacheableDate | ( | ) | [inline] |
Allocates a new default instance.
GemStone::GemFire::Cache::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. |
static CacheableDate ^ GemStone::GemFire::Cache::CacheableDate::Create | ( | DateTime | dateTime | ) | [inline, static] |
Static function that returns a new instance initialized to the given System.DateTime
value.
static CacheableDate ^ GemStone::GemFire::Cache::CacheableDate::Create | ( | ) | [inline, static] |
Static function that returns a new default instance.
static IGFSerializable ^ GemStone::GemFire::Cache::CacheableDate::CreateDeserializable | ( | ) | [inline, static] |
Factory function to register this class.
virtual bool GemStone::GemFire::Cache::CacheableDate::Equals | ( | Object^ | obj | ) | [override, virtual] |
Return true if this key matches other object.
virtual bool GemStone::GemFire::Cache::CacheableDate::Equals | ( | GemStone::GemFire::Cache::ICacheableKey^ | other | ) | [virtual] |
Return true if this key matches other object.
Implements GemStone::GemFire::Cache::ICacheableKey.
virtual IGFSerializable ^ GemStone::GemFire::Cache::CacheableDate::FromData | ( | DataInput^ | input | ) | [virtual] |
Deserialize this object, typical implementation should return the 'this' pointer.
input | the DataInput stream to use for reading the object data |
Implements GemStone::GemFire::Cache::IGFSerializable.
virtual int32_t GemStone::GemFire::Cache::CacheableDate::GetHashCode | ( | ) | [override, virtual] |
Return the hashcode for this key.
Implements GemStone::GemFire::Cache::ICacheableKey.
virtual void GemStone::GemFire::Cache::CacheableDate::ToData | ( | DataOutput^ | output | ) | [virtual] |
Serializes this object.
output | the DataOutput object to use for serializing the object |
Implements GemStone::GemFire::Cache::IGFSerializable.
virtual String ^ GemStone::GemFire::Cache::CacheableDate::ToString | ( | ) | [override, virtual] |
Return a string representation of the object.
Implements GemStone::GemFire::Cache::IGFSerializable.
initonly DateTime GemStone::GemFire::Cache::CacheableDate::EpochTime [static, initonly] |
Initial value:
DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind::Utc)
DataTime
value since 1/1/1970
virtual uint32_t GemStone::GemFire::Cache::CacheableDate::ClassId [get] |
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Implements GemStone::GemFire::Cache::IGFSerializable.
virtual uint32_t GemStone::GemFire::Cache::CacheableDate::ObjectSize [get] |
return the size of this object in bytes
return the size of this object in bytes
Implements GemStone::GemFire::Cache::IGFSerializable.
DateTime GemStone::GemFire::Cache::CacheableDate::Value [get] |
Gets the System.DateTime
value.