EssentialsTime.op_Subtraction method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

op_Subtraction(EssentialsTime, TimeSpan)

Static

Subtracts timespan from date.

public static EssentialsTime op_Subtraction(EssentialsTime date, TimeSpan timespan)

Parameters

The date.

timespan TimeSpan

The time that should be subtracted from date.

Returns

The result as a new instance of EssentialsTime.

op_Subtraction(EssentialsTime, EssentialsTime)

Static

Subtracts two instances of EssentialsTime.

public static TimeSpan op_Subtraction(EssentialsTime d1, EssentialsTime d2)

Parameters

The first instance of EssentialsTime.

The second instance of EssentialsTime.

Returns

The result as an instance of TimeSpan .