Duration Constructor (Int32, Int32, Int32, Double, TimeStandard) |
Initializes a new instance of
Duration from a specified number
of days, hours, minutes, and seconds. 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(
int days,
int hours,
int minutes,
double seconds,
TimeStandard standard
)
Public Sub New (
days As Integer,
hours As Integer,
minutes As Integer,
seconds As Double,
standard As TimeStandard
)
public:
Duration(
int days,
int hours,
int minutes,
double seconds,
TimeStandard^ standard
)
new :
days : int *
hours : int *
minutes : int *
seconds : float *
standard : TimeStandard -> Duration
Parameters
- days
- Type: System.Int32
The number of days in the new Duration. - hours
- Type: System.Int32
The number of hours in the new Duration. - minutes
- Type: System.Int32
The number of minutes in the new Duration. - seconds
- Type: System.Double
The number of seconds in the new Duration. - standard
- Type: AGI.Foundation.Time.TimeStandard
The time standard in which the time is measured.
Exceptions
See Also