Click or drag to resize

TimeTagBase Class

Represents the base class for alternate timetag implementations.
Inheritance Hierarchy
SystemObject
  GSFTimeTagBase
    GSF.HistorianTimeTag
    GSFNtpTimeTag
    GSFUnixTimeTag

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[SerializableAttribute]
public abstract class TimeTagBase : ISerializable, 
	IComparable, IComparable<TimeTagBase>, IComparable<DateTime>, 
	IEquatable<TimeTagBase>, IEquatable<DateTime>, IFormattable
View Source

The TimeTagBase type exposes the following members.

Constructors
 NameDescription
Protected methodTimeTagBase(Int64, Ticks) Creates a new TimeTagBase, given standard .NET DateTime.
Protected methodTimeTagBase(Int64, Decimal) Creates a new TimeTagBase, given number base time (in ticks) and seconds since base time.
Protected methodTimeTagBase(SerializationInfo, StreamingContext) Creates a new TimeTagBase from serialization parameters.
Top
Properties
 NameDescription
Public propertyBaseDateOffsetTicks Gets ticks representing the absolute minimum time of this timetag implementation.
Public propertyValue Gets or sets number of seconds (including any fractional seconds) since base time.
Top
Methods
 NameDescription
Public methodCompareTo(DateTime) Compares the TimeTagBase with a DateTime.
Public methodCompareTo(Object) Compares the TimeTagBase with the specified Object.
Public methodCompareTo(TimeTagBase) Compares the TimeTagBase with another TimeTagBase.
Public methodEquals(DateTime) Determines whether the specified DateTime is equal to the current TimeTagBase.
Public methodEquals(Object) Determines whether the specified Object is equal to the current TimeTagBase.
(Overrides ObjectEquals(Object))
Public methodEquals(TimeTagBase) Determines whether the specified TimeTagBase is equal to the current TimeTagBase.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Serves as a hash function for the current TimeTagBase.
(Overrides ObjectGetHashCode)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToDateTime Returns standard .NET DateTime representation for timetag.
Public methodToString Returns basic textual representation for timetag.
(Overrides ObjectToString)
Public methodToString(IFormatProvider) Returns textual representation for timetag using the specified provider.
Public methodToString(String) Returns textual representation for timetag in the specified format.
Public methodToString(String, IFormatProvider) Returns textual representation for timetag in the specified format using the specified provider.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(DateTime, TimeTagBase) Returns true if value1 is equal to value2.
Public operatorStatic memberEquality(TimeTagBase, TimeTagBase) Returns true if value1 is equal to value2.
Public operatorStatic memberEquality(TimeTagBase, DateTime) Returns true if value1 is equal to value2.
Public operatorStatic memberGreaterThan(DateTime, TimeTagBase) Returns true if value1 is greater than value2.
Public operatorStatic memberGreaterThan(TimeTagBase, TimeTagBase) Returns true if value1 is greater than value2.
Public operatorStatic memberGreaterThan(TimeTagBase, DateTime) Returns true if value1 is greater than value2.
Public operatorStatic memberGreaterThanOrEqual(DateTime, TimeTagBase) Returns true if value1 is greater than or equal to value2.
Public operatorStatic memberGreaterThanOrEqual(TimeTagBase, TimeTagBase) Returns true if value1 is greater than or equal to value2.
Public operatorStatic memberGreaterThanOrEqual(TimeTagBase, DateTime) Returns true if value1 is greater than or equal to value2.
Public operatorStatic memberInequality(DateTime, TimeTagBase) Returns true if value1 is not equal to value2.
Public operatorStatic memberInequality(TimeTagBase, TimeTagBase) Returns true if value1 is not equal to value2.
Public operatorStatic memberInequality(TimeTagBase, DateTime) Returns true if value1 is not equal to value2.
Public operatorStatic memberLessThan(DateTime, TimeTagBase) Returns true if value1 is less than value2.
Public operatorStatic memberLessThan(TimeTagBase, TimeTagBase) Returns true if value1 is less than value2.
Public operatorStatic memberLessThan(TimeTagBase, DateTime) Returns true if value1 is less than value2.
Public operatorStatic memberLessThanOrEqual(DateTime, TimeTagBase) Returns true if value1 is less than or equal to value2.
Public operatorStatic memberLessThanOrEqual(TimeTagBase, TimeTagBase) Returns true if value1 is less than or equal to value2.
Public operatorStatic memberLessThanOrEqual(TimeTagBase, DateTime) Returns true if value1 is less than or equal to value2.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultFormat Default format for TimeTagBase implementations.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also

Reference

GSF Namespace