Table of Contents

Class TimeSpanExtensions

Namespace
LfrlAnvil.Chrono.Extensions
Assembly
LfrlAnvil.Chrono.dll

Contains TimeSpan extension methods.

public static class TimeSpanExtensions
Inheritance
TimeSpanExtensions
Inherited Members

Methods

Abs(TimeSpan)

Creates a new TimeSpan instance by calculating an absolute value from this instance.

[Pure]
public static TimeSpan Abs(this TimeSpan ts)

Parameters

ts TimeSpan

Source timespan.

Returns

TimeSpan

New TimeSpan instance.