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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.TimeSpan
The time span. - standard
- Type: AGI.Foundation.Time.TimeStandard
The time standard in which the span is measured.
See Also