[This is preliminary documentation and is subject to change.]

Converts given TimeSpan to compact string representation.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
[NotNullAttribute]
public static string ToMiniString(
	this TimeSpan span
)

Parameters

span
TimeSpan
Time span to present. May not be negative.

Return Value

A string representation of the given time span.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TimeSpan. When you use instance method syntax to call this method, omit the first parameter.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException span is negative.

See Also