[Extension()] public static TimeSpan ToDays( Nullable<int> nullableNbDays )
Parameters
- nullableNbDays
- The number of days.
[Extension()] public static TimeSpan ToDays( Nullable<int> nullableNbDays )
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