NDepend.API Documentation
ToManYear(TimeSpan) Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface > ToManYear Method : ToManYear(TimeSpan) Method
The estimated duration to fix one or several issues
Gets a double number of man-years that represents duration. The number of man-years is computed from this.DebtSettings.DebtSettings.NumberOfWorkHourPerDay and this.DebtSettings.DebtSettings.NumberOfWorkDayPerYear.
Syntax
double ToManYear( 
   TimeSpan duration
)

Parameters

duration
The estimated duration to fix one or several issues
Requirements

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

See Also

Reference

IDebtFormatter Interface
IDebtFormatter Members
Overload List