NtpTimestampDifference Struct
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9313)
The difference between two NtpTimestamp values. This is a value type.
Syntax
public struct NtpTimestampDifference : IComparable
  Implements
Inherited Members
Fields
| Name | Description | 
|---|---|
| MaxValue | Represents the largest possible value of NtpTimestampDifference.  | 
      
| MinValue | 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.  | 
      
| TotalSeconds | Gets the value of this instance expressed in whole and fractional seconds.  | 
      
Methods
| Name | Description | 
|---|---|
| Add(NtpTimestampDifference) | Adds the specified time difference to this instance.  | 
      
| CompareTo(Object) | 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.  | 
      
| GetHashCode() | Returns a hash code for this instance.  | 
      
| Negate() | Changes the sign of the time difference (positive to negative and vice-versa).  | 
      
| Subtract(NtpTimestampDifference) | Subtracts the specified time difference from this instance.  | 
      
| ToString() | Converts the value of this instance to its string representation.  | 
      
| ToTimeSpan() | Gets the TimeSpan instance that represents the time difference.  | 
      
Operators
| Name | Description | 
|---|---|
| Addition(NtpTimestampDifference, NtpTimestampDifference) | Adds a time difference to a timestamp.  | 
      
| Equality(NtpTimestampDifference, NtpTimestampDifference) | Compare two instances of NtpTimestampDifference.  | 
      
| GreaterThan(NtpTimestampDifference, NtpTimestampDifference) | Indicates whether a specified NtpTimestampDifference is greater than another specified NtpTimestampDifference.  | 
      
| GreaterThanOrEqual(NtpTimestampDifference, NtpTimestampDifference) | Indicates whether a specified NtpTimestampDifference is greater than or equal to another specified NtpTimestampDifference.  | 
      
| Inequality(NtpTimestampDifference, NtpTimestampDifference) | Compare two instances of NtpTimestampDifference.  | 
      
| LessThan(NtpTimestampDifference, NtpTimestampDifference) | Indicates whether a specified NtpTimestampDifference is less than another specified NtpTimestampDifference.  | 
      
| LessThanOrEqual(NtpTimestampDifference, NtpTimestampDifference) | Indicates whether a specified NtpTimestampDifference is less than or equal to another specified NtpTimestampDifference.  | 
      
| Subtraction(NtpTimestampDifference, NtpTimestampDifference) | Subtracts a time difference from a timestamp.  |