TimeTagBase Class

Represents the base class for alternate time-tag implementations.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
Inheritance
Object    TimeTagBase
Derived
Implements
IComparable, IComparableTimeTagBase, IComparableDateTime, IEquatableTimeTagBase, IEquatableDateTime, IFormattable, ISerializable

Constructors

TimeTagBase(Int64, Ticks) Creates a new TimeTagBase, given standard .NET DateTime.
TimeTagBase(Int64, Decimal) Creates a new TimeTagBase, given number base time (in ticks) and seconds since base time.
TimeTagBase(SerializationInfo, StreamingContext) Creates a new TimeTagBase from serialization parameters.

Properties

BaseDateOffsetTicks Gets ticks representing the absolute minimum time of this time-tag implementation.
Value Gets or sets number of seconds (including any fractional seconds) since base time.

Methods

CompareTo(DateTime) Compares the TimeTagBase with a DateTime.
CompareTo(Object) Compares the TimeTagBase with the specified Object.
CompareTo(TimeTagBase) Compares the TimeTagBase with another TimeTagBase.
Equals(DateTime) Determines whether the specified DateTime is equal to the current TimeTagBase.
Equals(Object) Determines whether the specified Object is equal to the current TimeTagBase.
(Overrides ObjectEquals(Object))
Equals(TimeTagBase) Determines whether the specified TimeTagBase is equal to the current TimeTagBase.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for the current TimeTagBase.
(Overrides ObjectGetHashCode)
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToDateTime Returns standard .NET DateTime representation for time-tag.
ToString Returns basic textual representation for time-tag.
(Overrides ObjectToString)
ToString(IFormatProvider) Returns textual representation for time-tag using the specified provider.
ToString(String) Returns textual representation for time-tag in the specified format.
ToString(String, IFormatProvider) Returns textual representation for time-tag in the specified format using the specified provider.

Operators

Equality(DateTime, TimeTagBase) Returns true if value1 is equal to value2.
Equality(TimeTagBase, TimeTagBase) Returns true if value1 is equal to value2.
Equality(TimeTagBase, DateTime) Returns true if value1 is equal to value2.
GreaterThan(DateTime, TimeTagBase) Returns true if value1 is greater than value2.
GreaterThan(TimeTagBase, TimeTagBase) Returns true if value1 is greater than value2.
GreaterThan(TimeTagBase, DateTime) Returns true if value1 is greater than value2.
GreaterThanOrEqual(DateTime, TimeTagBase) Returns true if value1 is greater than or equal to value2.
GreaterThanOrEqual(TimeTagBase, TimeTagBase) Returns true if value1 is greater than or equal to value2.
GreaterThanOrEqual(TimeTagBase, DateTime) Returns true if value1 is greater than or equal to value2.
Inequality(DateTime, TimeTagBase) Returns true if value1 is not equal to value2.
Inequality(TimeTagBase, TimeTagBase) Returns true if value1 is not equal to value2.
Inequality(TimeTagBase, DateTime) Returns true if value1 is not equal to value2.
LessThan(DateTime, TimeTagBase) Returns true if value1 is less than value2.
LessThan(TimeTagBase, TimeTagBase) Returns true if value1 is less than value2.
LessThan(TimeTagBase, DateTime) Returns true if value1 is less than value2.
LessThanOrEqual(DateTime, TimeTagBase) Returns true if value1 is less than or equal to value2.
LessThanOrEqual(TimeTagBase, TimeTagBase) Returns true if value1 is less than or equal to value2.
LessThanOrEqual(TimeTagBase, DateTime) Returns true if value1 is less than or equal to value2.

Fields

DefaultFormat Default format for TimeTagBase implementations.

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also