NDepend.API Documentation
ToManDayStringDetailled Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface : ToManDayStringDetailled Method
The estimated duration to fix one or several issues
Gets a detailed string that represents duration as a number of man-days. The number of man-days is computed from this.DebtSettings.DebtSettings.NumberOfWorkHourPerDay.
Syntax
string ToManDayStringDetailled( 
   TimeSpan duration
)

Parameters

duration
The estimated duration to fix one or several issues
Remarks
For example this method can return:
"1 234d 2:02:43"
"2:02:43" if duration is less than a man-days
"2min 43s" if duration is less than an hour
There is a typo in the method name on 'Detailed' but we prefer to not set this method as obsolete just for a typo.
If duration.System.DateTime.Ticks is higher than Debt.NDepend.TechnicalDebt.Debt.MAX_TICKS or lower than Debt.NDepend.TechnicalDebt.Debt.MIN_TICKS this method returns the string "overflow".
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