Click or drag to resize
TimeUuid Structure
Represents a v1 uuid

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public struct TimeUuid : IEquatable<TimeUuid>, 
	IComparable<TimeUuid>

The TimeUuid type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
Compares the current TimeUuid with another TimeUuid based on the time representation of this instance.
Public methodEquals(Object)
Returns a value indicating whether this instance and a specified TimeUuid object represent the same value.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TimeUuid)
Returns a value indicating whether this instance and a specified TimeUuid object represent the same value.
Public methodGetDate
Gets the DateTimeOffset representation of this instance
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberMax
Returns the biggest possible type 1 uuid with the provided Date.
Public methodStatic memberMin
Returns the smaller possible type 1 uuid with the provided date.
Public methodStatic memberNewId
Initializes a new instance of the TimeUuid structure, using a random node id and clock sequence and the current date time
Public methodStatic memberNewId(DateTimeOffset)
Initializes a new instance of the TimeUuid structure, using a random node id and clock sequence
Public methodStatic memberNewId(Byte, Byte, DateTimeOffset)
Initializes a new instance of the TimeUuid structure
Public methodStatic memberParse
Converts the string representation of a time-based uuid (v1) to the equivalent TimeUuid structure.
Public methodToByteArray
Returns a 16-element byte array that contains the value of this instance.
Public methodToGuid
Gets the Guid representation of the Id
Public methodToString
Returns a string representation of the value of this instance in registry format.
(Overrides ValueTypeToString.)
Public methodToString(String)
Returns a string representation
Public methodToString(String, IFormatProvider)
Returns a string representation
Top
Operators
See Also