public string ToString(
int secondPrecision,
string[] timeNames,
double minimumSubSecondResolution = 0.001
)
Public Function ToString (
secondPrecision As Integer,
timeNames As String(),
Optional minimumSubSecondResolution As Double = 0.001
) As String
public:
String^ ToString(
int secondPrecision,
array<String^>^ timeNames,
double minimumSubSecondResolution = 0.001
)
function ToString(secondPrecision, timeNames, minimumSubSecondResolution);
Set second precision to -1 to suppress seconds display.
timeNames array needs one string entry for each of the following names:
" year", " years", " day", " days", " hour", " hours", " minute", " minutes", " second", " seconds", "less than ".
ArgumentOutOfRangeException | minimumSubSecondResolution is not less than or equal to Milli or minimumSubSecondResolution is not defined in Factors array. |