Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

NtpTimestamp.Subtraction Operator

Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)

Subtraction(NtpTimestamp, NtpTimestampDifference)

Subtracts a time difference from a timestamp.

Declaration
public static NtpTimestamp operator -(NtpTimestamp a, NtpTimestampDifference b)
Parameters
Type Name Description
NtpTimestamp a

An NtpTimestamp.

NtpTimestampDifference b

A NtpTimestampDifference.

Returns
Type Description
NtpTimestamp

A timestamp minus a time difference.

Subtraction(NtpTimestamp, NtpTimestamp)

Subtracts a timestamp from a timestamp, calculating the time difference between the timestamps.

Declaration
public static NtpTimestampDifference operator -(NtpTimestamp a, NtpTimestamp b)
Parameters
Type Name Description
NtpTimestamp a

A timestamp.

NtpTimestamp b

A timestamp.

Returns
Type Description
NtpTimestampDifference

A time difference (positive or negative).

In This Article
  • Subtraction(NtpTimestamp, NtpTimestampDifference)
  • Subtraction(NtpTimestamp, NtpTimestamp)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies