Add

Add (1 of 2)

Adds specified double value to this duration.

Returns: New duration object that represents the value of this instance plus the specified duration value.

Add(double val)
ParameterDescription
valthe specified double value to add to this instance.

Add (2 of 2)

Adds specified duration to this duration.

Returns: New duration object that represents the value of this instance plus the specified duration value.

Add(Duration d)
ParameterDescription
dspecified Duration to add to this instance.