Table of Contents

Class Timestamp

Namespace
SunamoShared.Entity
Assembly
SunamoShared.dll

Provides methods for working with timestamp strings in the format T00:00:00.

public class Timestamp
Inheritance
Timestamp
Inherited Members
Extension Methods

Methods

GetAllTimeStamps(string)

Extracts all timestamp strings (format T##:##:##, length 9) from the given text.

public static List<string> GetAllTimeStamps(string text)

Parameters

text string

The text to search for timestamps.

Returns

List<string>

MakeUpTo2NumbersToZero(int)

Pads a single-digit number with a leading zero to ensure two-digit format.

public static object MakeUpTo2NumbersToZero(int number)

Parameters

number int

The number to pad.

Returns

object