Fluent Assertions Documentation
FluentAssertions.Extensions Namespace / FluentTimeSpanExtensions Class / Hours Method / Hours(Double) Method
In This Topic
    Hours(Double) Method
    In This Topic
    Returns a System.TimeSpan based on a number of hours.
    Syntax
    [Extension()]
    public static TimeSpan Hours( 
       double hours
    )

    Parameters

    hours
    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