NtpTimestampDifference Struct
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)
The difference between two Ntp
Syntax
public struct NtpTimestampDifference : IComparable
Implements
Inherited Members
Fields
Name | Description |
---|---|
Max |
Represents the largest possible value of NtpTimestampDifference. |
Min |
Represents the smallest possible value of NtpTimestampDifference. |
Properties
Name | Description |
---|---|
Microsecond | The sub-second part of the time difference, on microsecond scale. |
Positive | Accessor for the sign of the time difference. |
Total |
Gets the value of this instance expressed in whole and fractional seconds. |
Methods
Name | Description |
---|---|
Add(Ntp |
Adds the specified time difference to this instance. |
Compare |
Compares this instance to a specified object and returns an indication of their relative values. |
Equals(Object) | Indicates whether the specified object is equal to the current object. |
Get |
Returns a hash code for this instance. |
Negate() | Changes the sign of the time difference (positive to negative and vice-versa). |
Subtract(Ntp |
Subtracts the specified time difference from this instance. |
To |
Converts the value of this instance to its string representation. |
To |
Gets the Time |
Operators
Name | Description |
---|---|
Addition(Ntp |
Adds a time difference to a timestamp. |
Equality(Ntp |
Compare two instances of NtpTimestampDifference. |
Greater |
Indicates whether a specified NtpTimestampDifference is greater than another specified NtpTimestampDifference. |
Greater |
Indicates whether a specified NtpTimestampDifference is greater than or equal to another specified NtpTimestampDifference. |
Inequality(Ntp |
Compare two instances of NtpTimestampDifference. |
Less |
Indicates whether a specified NtpTimestampDifference is less than another specified NtpTimestampDifference. |
Less |
Indicates whether a specified NtpTimestampDifference is less than or equal to another specified NtpTimestampDifference. |
Subtraction(Ntp |
Subtracts a time difference from a timestamp. |