Show / Hide Table of Contents

    TimeSpanExtensions Class

    .NET Standard 2.x

    Provides the extension methods for TimeSpan.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

      public static class TimeSpanExtensions;
    

    Methods

    Name Return Type Description
    RelativeTime(this TimeSpan time, int? n) System.TimeSpan Obtains a TimeSpan that occurs a specified number of seconds after or before another TimeSpan within a 24-hour period.
    RelativeTime(this TimeSpan? time, int? n) System.TimeSpan Obtains a TimeSpan that occurs a specified number of seconds after or before another TimeSpan? within a 24-hour period.
    SecondsAfter(this TimeSpan time1, TimeSpan? time2) System.Int32 Determines the number of seconds one time occurs after another.
    SecondsAfter(this TimeSpan? time1, TimeSpan? time2) System.Int32 Determines the number of seconds one time occurs after another.
    Back to top Generated by Appeon