Duration Constructor
There are six overloads for the constructor
Duration(Int64) |
Construct a duration from a number of timer ticks
|
Duration(String) |
Construct a duration from a string in ISO 8601 duration format
|
Duration(TimeSpan) |
Construct a duration from a TimeSpan |
Duration(Int32, TimeSpan) |
Construct a duration from a number of weeks and a TimeSpan |
Duration(Int32, Int32, TimeSpan) |
Construct a duration from a number of months, weeks, and a TimeSpan |
Duration(Int32, Int32, Int32, TimeSpan) |
Construct a duration from a number of years, months, weeks, and a TimeSpan |