Duration Constructor (TimeSpan, TimeStandard) |
Initializes a new
Duration from a
TimeSpan.
It also specifies that the time is measured using the specified
time standard.
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,
TimeStandard standard
)
Public Sub New (
timeSpan As TimeSpan,
standard As TimeStandard
)
public:
Duration(
TimeSpan timeSpan,
TimeStandard^ standard
)
new :
timeSpan : TimeSpan *
standard : TimeStandard -> Duration
Parameters
- timeSpan
- Type: SystemTimeSpan
The time span. - standard
- Type: AGI.Foundation.TimeTimeStandard
The time standard in which the span is measured.
See Also