Table of Contents

Class TimeSpanHelper

Namespace
SunamoDateTime.DT
Assembly
SunamoDateTime.dll

Provides helper methods for parsing TimeSpan values from strings.

public class TimeSpanHelper
Inheritance
TimeSpanHelper
Inherited Members
Extension Methods

Methods

Parse(string)

Parses a time string in HH:mm format into a TimeSpan.

public static TimeSpan Parse(string span)

Parameters

span string

The time string in HH:mm format

Returns

TimeSpan

A TimeSpan representing the parsed hours and minutes