EssentialsTime.AddTicks method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
AddTicks(long)
Returns a new EssentialsTime that adds the specified number of ticks to the value of this instance.
public EssentialsTime AddTicks(long value)
Parameters
value
long
A number of 100-nanosecond ticks. The value parameter can be positive or negative.
Returns
An object whose value is the sum of the date and time represented by this instance and the time represented by value.
Exceptions
The resulting EssentialsTime is less
than System.DateTimeOffset.MinValue
or greater than System.DateTimeOffset.MaxValue
.