[Extension()] public static TimeSpan ToHours( Nullable<uint> nullableNbHours )
Parameters
- nullableNbHours
 - The number of hours.
 
[Extension()] public static TimeSpan ToHours( Nullable<uint> nullableNbHours )
| Exception | Description | 
|---|---|
| System.ArgumentOutOfRangeException | 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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed