The NtpTimestamp type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds the specified time difference to this instance.
|
![]() ![]() | CompareTo |
Compares this instance to a specified object and returns an indication of their relative values.
|
![]() ![]() | Equals |
Indicates whether the specified object is equal to the current object.
(Overrides ValueType..::..Equals(Object).) |
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ValueType..::..GetHashCode()()()().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Subtract(NtpTimestamp) |
Subtracts the specified timestamp from this instance, calculating the time difference between the two timestamps.
|
![]() ![]() | Subtract(NtpTimestampDifference) |
Subtracts the specified time difference from this instance.
|
![]() ![]() | ToArray |
Accessor for the timestamp in NTP format.
|
![]() ![]() | ToLocalTime |
Accessor for the timestamp in .NET time format.
Converts to local time.
|
![]() ![]() | ToString |
Converts the value of this instance to string representation
(analogically to DateTime.ToString).
(Overrides ValueType..::..ToString()()()().) |
![]() ![]() | ToUniversalTime |
Accessor for the timestamp in .NET time format.
|
![]() ![]() | ToUnixTime |
Accessor for the timestamp in Unix time format.
|