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
textstringThe text to search for timestamps.
Returns
MakeUpTo2NumbersToZero(int)
Pads a single-digit number with a leading zero to ensure two-digit format.
public static object MakeUpTo2NumbersToZero(int number)
Parameters
numberintThe number to pad.