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: 3.47.3
Syntax
C#
public static Duration Create( int amount, Unit unit )
Parameters
- amount
- Type: SystemInt32
- unit
- Type: Apptus.ESales.Connector.TimeUnit
Return Value
Type: DurationSee Also