NDepend.API Documentation
ToDays(Nullable<Int16>) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToDays Method : ToDays(Nullable<Int16>) Method
The number of days.
Gets a System.TimeSpan value, with total number of days equals to nullableNbDays.
Syntax
[Extension()]
public static TimeSpan ToDays( 
   Nullable<short> nullableNbDays
)

Parameters

nullableNbDays
The number of days.
Remarks
if nullableNbDays is null, System.TimeSpan.System.TimeSpan.Zero is returned.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members
Overload List