Duration Constructor (TimeSpan) |
Initializes a new
Duration from a
TimeSpan.
The time standard is not specified, so this
Duration will match the
time standard of anything it is added to or subtracted from.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Duration(
TimeSpan timeSpan
)
Public Sub New (
timeSpan As TimeSpan
)
public:
Duration(
TimeSpan timeSpan
)
new :
timeSpan : TimeSpan -> Duration
Parameters
- timeSpan
- Type: SystemTimeSpan
The time span.
See Also