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 _
)
 

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