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

PgSqlInterval Constructor(Int32,Int32,Double)
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 days As Integer, _
   ByVal seconds As Double _
)
 

Parameters

months
Number of months.
days
Number of days.
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