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

Parses the given string as a TimeSpan in compact representation. Throws exceptions on failure.

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

Syntax

   
 C# 
public static TimeSpan ParseMiniTimespan(
	this string text
)

Parameters

text
String
String to parse.

Return Value

Parsed TimeSpan.

Usage Note

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

Exceptions

ExceptionCondition
System..::..ArgumentNullException text is null.
System..::..OverflowException The resulting TimeSpan is greater than TimeSpan.MaxValue.
System..::..FormatException input has an invalid format.

See Also