A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
Apptus.ESales.Connector.Time
Duration Class
Duration Methods
Add Method
Amount Method
Back Method
Create Method
Equals Method
Forward Method
FromTimeSpan Method
GetHashCode Method
Parse Method
ToString Method
Duration
Create Method
Creates a duration with a certain amount of a specified unit.
Namespace:
Apptus.ESales.Connector.Time
Assembly:
Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
Copy
public
static
Duration
Create
(
int
amount
,
Unit
unit
)
Parameters
amount
Type:
System
Int32
unit
Type:
Apptus.ESales.Connector.Time
Unit
Return Value
Type:
Duration
See Also
Reference
Duration Class
Apptus.ESales.Connector.Time Namespace