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.
    See Also