Constructs a TimeSpan from a time indicated by a specified string.
A TimeSpan that corresponds to s.
Exception Type | Condition |
---|---|
FormatException | s has an invalid format. |
OverflowException | At least one of the hours, minutes, or seconds components is outside its valid range. |
TimeSpanConversionFunctions Class | NAnt.Core.Functions Namespace