Fluent Assertions Documentation
FluentAssertions.Extensions Namespace / FluentTimeSpanExtensions Class / Seconds Method / Seconds(Int32,TimeSpan) Method
In This Topic
    Seconds(Int32,TimeSpan) Method
    In This Topic
    Returns a System.TimeSpan based on a number of seconds, and add the specified offset.
    Syntax
    [Extension()]
    public static TimeSpan Seconds( 
       int seconds,
       TimeSpan offset
    )

    Parameters

    seconds
    offset
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also