• 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 HighResolutionTimeSpan

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

Constructors

HighResolutionTimeSpan(TimeSpan, Int64)

Declaration
public HighResolutionTimeSpan(TimeSpan timeSpan, long picoseconds)
Parameters
Type Name Description
TimeSpan timeSpan
Int64 picoseconds

Fields

Zero

Declaration
public static readonly HighResolutionTimeSpan Zero
Field Value
Type Description
HighResolutionTimeSpan

Properties

Microseconds

Subsecond part of time span

Declaration
public readonly long Microseconds { get; }
Property Value
Type Description
Int64

Milliseconds

Subsecond part of time span

Declaration
public readonly long Milliseconds { get; }
Property Value
Type Description
Int64

Nanoseconds

Subsecond part of time span

Declaration
public readonly long Nanoseconds { get; }
Property Value
Type Description
Int64

Picoseconds

Subsecond part of time span

Declaration
public readonly long Picoseconds { get; }
Property Value
Type Description
Int64

TimeSpan

Second and above part of time span

Declaration
public readonly TimeSpan TimeSpan { get; }
Property Value
Type Description
TimeSpan

Methods

Equals(HighResolutionTimeSpan)

Declaration
public bool Equals(HighResolutionTimeSpan other)
Parameters
Type Name Description
HighResolutionTimeSpan 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()

ToString()

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

ToString(TimeSpanFormat)

Declaration
public string ToString(TimeSpanFormat format)
Parameters
Type Name Description
TimeSpanFormat format
Returns
Type Description
String

ToTimeSpan()

Rounded high-resolution value to standard TimeSpan resolution

Declaration
public TimeSpan ToTimeSpan()
Returns
Type Description
TimeSpan

Operators

Addition(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

Equality(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

GreaterThan(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

GreaterThanOrEqual(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

Inequality(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

LessThan(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

LessThanOrEqual(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

Subtraction(in HighResolutionTimeSpan, in HighResolutionTimeSpan)

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

UnaryNegation(in HighResolutionTimeSpan)

Declaration
public static HighResolutionTimeSpan operator -(in HighResolutionTimeSpan value)
Parameters
Type Name Description
HighResolutionTimeSpan value
Returns
Type Description
HighResolutionTimeSpan

Implements

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