dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / PgSqlInterval Constructor / PgSqlInterval Constructor(TimeSpan)
The specified System.TimeSpan.

In This Topic
PgSqlInterval Constructor(TimeSpan)
In This Topic
Initializes a new instance of the PgSqlInterval structure with the specified System.TimeSpan.
Syntax
'Declaration
 
Public Function New( _
   ByVal ts As TimeSpan _
)
 

Parameters

ts
The specified System.TimeSpan.
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