Click or drag to resize

Duration Constructor

Overload List
  NameDescription
Public methodDuration(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.
Public methodDuration(Int32, Double)
Initializes a new instance of Duration from a specified number of days 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.
Public methodDuration(TimeSpan, TimeStandard)
Initializes a new Duration from a TimeSpan. It also specifies that the time is measured using the specified time standard.
Public methodDuration(Int32, Double, TimeStandard)
Initializes a new instance of Duration from a specified number of days and seconds. It also specifies that the time is measured using the specified time standard.
Public methodDuration(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.
Public methodDuration(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.
Top
See Also