Operator operator -
operator -(NetworkTime, NetworkTime)
Computes the time difference between two ticks
Declaration
public static NetworkTime operator -(NetworkTime a, NetworkTime b)
Parameters
Type | Name | Description |
---|---|---|
NetworkTime | a | End time |
NetworkTime | b | Start time |
Returns
Type | Description |
---|---|
NetworkTime | The time difference between start and end |
operator -(NetworkTime, double)
Computes the time a number of seconds before
Declaration
public static NetworkTime operator -(NetworkTime a, double b)
Parameters
Type | Name | Description |
---|---|---|
NetworkTime | a | The start time |
double | b | The number of seconds to remove |
Returns
Type | Description |
---|---|
NetworkTime | The resulting time |