• Programming Guide
  • Api Documentation
  • OnixS .NET Core / .NET 6 FIX Engine, version 1.9.0
Show / Hide Table of Contents
  • OnixS.Fix
    • ByteBuffer
    • BytesReceivedEventHandler
    • CertificateValidationArgs
    • Dictionary
    • EncryptionMethod
    • Engine
    • Engine.State
    • EngineErrorEventArgs
    • EngineErrorReason
    • EngineException
    • EngineSettings
    • EngineSettings.Default
    • EngineSettings.Key
    • EngineSslSettings
    • EngineWarningEventArgs
    • EngineWarningReason
    • Field
    • FieldSet
    • FieldSet.FieldEnumerator
    • FixStringFormat
    • FlatGroupReader
    • FlatMessage
    • FlatMessage.FieldIterator
    • Group
    • Group.GroupInstanceEnumerator
    • GroupInstance
    • HighResolutionTimeSpan
    • HighResolutionTimestamp
    • IFieldSet
    • IMessage
    • InboundMessageEventArgs
    • IncomingTelecommunicationLinkEventArgs
    • ISession
    • ITimestampProvider
    • KnownSerializedFieldKeys
    • Message
    • MessageEventArgs
    • MessageMemoryPool
    • MessageMemoryPoolSettings
    • MessageMode
    • MessageResendingEventArgs
    • MessageSendingEventArgs
    • MessageValidationFlags
    • PortRange
    • ProtocolVersion
    • ProtocolVersionExtensions
    • ProtocolVersionHelper
    • ProxySettings
    • ProxyType
    • RemoteCertificateNameMismatchOption
    • RemoteCertificateValidationCallback
    • SerializedFieldKey
    • SerializedFieldRef
    • SerializedMessage
    • Session
    • SessionErrorEventArgs
    • SessionErrorReason
    • SessionId
    • SessionRole
    • SessionState
    • SessionStateChangeEventArgs
    • SessionStorageType
    • SessionWarningEventArgs
    • SessionWarningReason
    • SslSettings
    • TimeSpanFormat
    • TimestampFormat
    • UnknownIncomingConnectionEventArgs
  • OnixS.Fix.Dictionaries
    • DictionaryException
    • DictionaryManager
    • FieldContainerInfo
    • FieldInfo
    • FieldType
    • FieldTypeInfo
    • FieldValueInfo
    • MessageInfo
    • MessageInfoExtensions
  • OnixS.Fix.Exceptions
    • CannotEstablishLinkException
    • EmptyGroupException
    • EngineAlreadyInitializedException
    • EngineIsNotInitializedException
    • FirstMessageNotLogonException
    • IncorrectCheckSumException
    • IncorrectFieldValueException
    • IndexNotFoundException
    • InstanceIndexOutOfRangeException
    • InvalidInboundLogonException
    • InvalidMsgTypeException
    • InvalidNumberOfRepeatingGroupInstances
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • LinkErrorException
    • LogonReplyException
    • LogonReplyTimeoutException
    • LogoutReplyTimeoutException
    • ParserException
    • ParserException.RejectReason
    • RequiredTagMissingException
    • SessionException
    • StorageException
    • TagNotDefinedForThisMessageTypeException
    • TagNotFoundException
    • TagSpecifiedOutOfRequiredOrderException
    • TagSpecifiedWithoutValueException
    • UnexpectedSequenceNumberException
  • OnixS.Fix.Fast
    • Coder
    • DecodedValue<T>
    • Decoder
    • DecodeResult
    • DecoderExtension
    • DictionaryBuilder
    • DynamicErrorException
    • DynamicErrorException.ErrorCode
    • Encoder
    • FastErrorCode
    • FastException
    • FixMessageFactory
    • NotEnoughInputDataException
    • StaticErrorException
    • StaticErrorException.ErrorCode
  • OnixS.Fix.Fix2FixmlConverter
    • FixmlConverter
    • FixmlConverterException
  • OnixS.Fix.Properties
    • Resources
  • OnixS.Fix.Scheduling
    • AcceptorConnectionSettings
    • CounterpartySettings
    • InitiatorConnectingEventArgs
    • InitiatorConnectionSettings
    • Scheduler
    • SequenceNumberResetPolicy
    • SessionConnectionSettings
    • SessionDuration
    • SessionErrorEventArgs
    • SessionEventArgs
    • SessionLoggingOutEventArgs
    • SessionSchedule
    • SessionWarningEventArgs
  • OnixS.Fix.Storage
    • ISessionStorage

Struct HighResolutionTimestamp

Implements
IEquatable<HighResolutionTimestamp>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public struct HighResolutionTimestamp : IEquatable<HighResolutionTimestamp>

Constructors

HighResolutionTimestamp(DateTime, UInt64)

Declaration
public HighResolutionTimestamp(DateTime timestamp, ulong picoseconds)
Parameters
Type Name Description
DateTime timestamp
UInt64 picoseconds

Properties

Date

Gets the date component of this instance.

Declaration
public readonly DateTime Date { get; }
Property Value
Type Description
DateTime

A new object with the same date as this instance, and the time value set to 12:00:00 midnight (00:00:00).

Microseconds

Subsecond part of timestamp

Declaration
public readonly ulong Microseconds { get; }
Property Value
Type Description
UInt64

Milliseconds

Subsecond part of timestamp

Declaration
public readonly ulong Milliseconds { get; }
Property Value
Type Description
UInt64

Nanoseconds

Subsecond part of timestamp

Declaration
public readonly ulong Nanoseconds { get; }
Property Value
Type Description
UInt64

Now

Declaration
public static readonly HighResolutionTimestamp Now { get; }
Property Value
Type Description
HighResolutionTimestamp

Picoseconds

Subsecond part of timestamp

Declaration
public readonly ulong Picoseconds { get; }
Property Value
Type Description
UInt64

TimeOfDay

Gets the time of day for this instance.

Declaration
public readonly HighResolutionTimeSpan TimeOfDay { get; }
Property Value
Type Description
HighResolutionTimeSpan

A time interval that represents the fraction of the day that has elapsed since midnight.

Timestamp

Second and above part of timestamp

Declaration
public readonly DateTime Timestamp { get; }
Property Value
Type Description
DateTime

UtcNow

Declaration
public static readonly HighResolutionTimestamp UtcNow { get; }
Property Value
Type Description
HighResolutionTimestamp

Methods

Equals(HighResolutionTimestamp)

Declaration
public bool Equals(HighResolutionTimestamp other)
Parameters
Type Name Description
HighResolutionTimestamp other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()

ToDateTime()

Rounded high-resolution value to standard DateTime resolution

Declaration
public DateTime ToDateTime()
Returns
Type Description
DateTime

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
ValueType.ToString()

Operators

Addition(in HighResolutionTimestamp, in HighResolutionTimeSpan)

Declaration
public static HighResolutionTimestamp operator +(in HighResolutionTimestamp left, in HighResolutionTimeSpan right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimeSpan right
Returns
Type Description
HighResolutionTimestamp

Equality(in HighResolutionTimestamp, in HighResolutionTimestamp)

Declaration
public static bool operator ==(in HighResolutionTimestamp left, in HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

GreaterThan(in HighResolutionTimestamp, in HighResolutionTimestamp)

Declaration
public static bool operator>(in HighResolutionTimestamp left, in HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

GreaterThanOrEqual(in HighResolutionTimestamp, in HighResolutionTimestamp)

Declaration
public static bool operator >=(in HighResolutionTimestamp left, in HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

Inequality(in HighResolutionTimestamp, in HighResolutionTimestamp)

Declaration
public static bool operator !=(in HighResolutionTimestamp left, in HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

LessThan(in HighResolutionTimestamp, HighResolutionTimestamp)

Declaration
public static bool operator <(in HighResolutionTimestamp left, HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

LessThanOrEqual(in HighResolutionTimestamp, in HighResolutionTimestamp)

Declaration
public static bool operator <=(in HighResolutionTimestamp left, in HighResolutionTimestamp right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimestamp right
Returns
Type Description
Boolean

Subtraction(in HighResolutionTimestamp, in HighResolutionTimeSpan)

Declaration
public static HighResolutionTimestamp operator -(in HighResolutionTimestamp left, in HighResolutionTimeSpan right)
Parameters
Type Name Description
HighResolutionTimestamp left
HighResolutionTimeSpan right
Returns
Type Description
HighResolutionTimestamp

Implements

System.IEquatable<T>
In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX