dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / PgSqlInterval Constructor / PgSqlInterval Constructor(Int32,Double)
Number of months.
Number of seconds.

In This Topic
    PgSqlInterval Constructor(Int32,Double)
    In This Topic
    Initializes a new instance of the PgSqlInterval structure with the specified number of months and seconds.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal months As Integer, _
       ByVal seconds As Double _
    )
    public PgSqlInterval( 
       int months,
       double seconds
    )

    Parameters

    months
    Number of months.
    seconds
    Number of seconds.
    Remarks
    When PgSqlInterval is created, its Years, Months, Days, Hours, Minutes, Seconds, and Milliseconds properties are initialized according to arguments specified in the constructor.
    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