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

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

    Parameters

    years
    Number of years.
    months
    Number of months.
    days
    Number of days.
    hours
    Number of hours.
    minutes
    Number of minutes.
    seconds
    Number of seconds.
    milliseconds
    Number of milliseconds.
    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