Constructs an instance of this class from a String representation of a duration.
Overload List
Copy constructor.
public Duration(Duration);
Constructs an instance of this class from a duration amount and time unit type.
public Duration(double,TimeUnit);
Constructs an instance of this class from a duration amount and time unit type.
public Duration(int,TimeUnit);
Constructs an instance of this class from a String representation of a duration.
public Duration(string);
See Also
Duration Class | Aspose.Tasks Namespace