NtpTimestamp.Subtract Method
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9448)
Subtract(NtpTimestampDifference)
Subtracts the specified time difference from this instance.
Declaration
public NtpTimestamp Subtract(NtpTimestampDifference value)
Parameters
| Type | Name | Description |
|---|---|---|
| NtpTimestampDifference | value | A time difference. |
Returns
| Type | Description |
|---|---|
| NtpTimestamp | A timestamp plus a time difference. |
Subtract(NtpTimestamp)
Subtracts the specified timestamp from this instance, calculating the time difference between the two timestamps.
Declaration
public NtpTimestampDifference Subtract(NtpTimestamp value)
Parameters
| Type | Name | Description |
|---|---|---|
| NtpTimestamp | value | A timestamp. |
Returns
| Type | Description |
|---|---|
| NtpTimestampDifference | A time difference (positive or negative). |