Skip to content

TimespanExtensions Class ​

Definition ​

Extension methods for the TimeSpan class

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Methods ​

NameDescription
string ToFormattedDaysString(TimeSpan ts, bool forceDays = null)Returns TimeSpan formatted to dd:hh:mm:ss
string ToFriendly(TimeSpan timeSpan, int maxNrOfElements = null)Returns friendly string based on timespan