Duration Constructor (Int32, Int32, Int32, Double) |
Initializes a new instance of
Duration from a specified number
of days, hours, minutes, and seconds. 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(
int days,
int hours,
int minutes,
double seconds
)
Public Sub New (
days As Integer,
hours As Integer,
minutes As Integer,
seconds As Double
)
public:
Duration(
int days,
int hours,
int minutes,
double seconds
)
new :
days : int *
hours : int *
minutes : int *
seconds : float -> Duration
Parameters
- days
- Type: SystemInt32
The number of days in the new Duration. - hours
- Type: SystemInt32
The number of hours in the new Duration. - minutes
- Type: SystemInt32
The number of minutes in the new Duration. - seconds
- Type: SystemDouble
The number of seconds in the new Duration.
Exceptions See Also