Timespan.ParseString

Parent Previous Next

Timespan.ParseString.

A string is parsed into a timespan value. Returns Self for a possible continuation of operations.


Syntax.


 ParseString(String value) : <Self>

 


The parsed string must express a timespan value with a format that matches the Timespan.ToString.


Example:


 Timespan tsA.ParseString("+ 99999 00:08:45.098");

 tsA := -tsA;

 String s := tsA.ToString(); //Now s == "- 99999 00:08:45.098";