Operator operator +
operator +(NetworkTime, NetworkTime)
Computes the sum of two times
Declaration
public static NetworkTime operator +(NetworkTime a, NetworkTime b)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkTime | a | First time |
| NetworkTime | b | Second time |
Returns
| Type | Description |
|---|---|
| NetworkTime | The sum of the two times passed in |
operator +(NetworkTime, double)
Computes the time a number of seconds later
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 add |
Returns
| Type | Description |
|---|---|
| NetworkTime | The resulting time |