An immutable date wrapper that can serve as a distributable key object for caching as well as being a string value.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableDate : ICacheableKey
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")> _
Public Class CacheableDate _
	Implements ICacheableKey
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class CacheableDate : ICacheableKey

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CacheableDate()()()()
Allocates a new default instance.
CacheableDate(DateTime)
Initializes a new instance of the CacheableDate to the given System.DateTime value.
ClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Create()()()()
Static function that returns a new default instance.
Create(DateTime)
Static function that returns a new instance initialized to the given System.DateTime value.
CreateDeserializable()()()()
Factory function to register this class.
EpochTime
DataTime value since 1/1/1970
Equals(Object)
Return true if this key matches other object.
(Overrides Object..::..Equals(Object).)
Equals(ICacheableKey)
Return true if this key matches other object.
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromData(DataInput)
Deserialize this object, typical implementation should return the 'this' pointer.
GetHashCode()()()()
Return the hashcode for this key.
(Overrides Object..::..GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ObjectSize
return the size of this object in bytes
ToData(DataOutput)
Serializes this object.
ToString()()()()
Return a string representation of the object.
(Overrides Object..::..ToString()()()().)
Value
Gets the System.DateTime value.

Inheritance Hierarchy

System..::..Object
  GemStone.GemFire.Cache..::..CacheableDate

See Also