[Extension()] public static TimeSpan ToHours( double nbHoursDouble )
Parameters
- nbHoursDouble
- The number of hours.
[Extension()] public static TimeSpan ToHours( double nbHoursDouble )
Exception | Description |
---|---|
System.OverflowException | This exception is thrown if the expected time span is greater than System.TimeSpan.System.TimeSpan.MaxValue or lower than System.TimeSpan.System.TimeSpan.MinValue. |
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed