Class TimeSpanExtensions
Inherited Members
Namespace: Libplanet.Common
Assembly: Libplanet.Common.dll
Syntax
public static class TimeSpanExtensions
Methods
| Improve this Doc View SourceDivide(TimeSpan, Double)
Declaration
public static TimeSpan Divide(this TimeSpan timeSpan, double divisor)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeSpan | |
| Double | divisor |
Returns
| Type | Description |
|---|---|
| TimeSpan |
Multiply(TimeSpan, Double)
Declaration
public static TimeSpan Multiply(this TimeSpan timeSpan, double factor)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeSpan | |
| Double | factor |
Returns
| Type | Description |
|---|---|
| TimeSpan |