Skip to main content

TimeSpanConverter

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TimeSpanConverter

Methods

ToXsdDuration(TimeSpan)

View Source
Declaration
public static string ToXsdDuration(TimeSpan timeSpan)
Returns

System.String

Parameters
TypeName
System.TimeSpantimeSpan

FromXsdDuration(String)

View Source
Declaration
public static TimeSpan FromXsdDuration(string xsdDuration)
Returns

System.TimeSpan

Parameters
TypeName
System.StringxsdDuration