dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleIntervalDS Structure / Add Method / Add(Int32,Int32,Int32,Int32,Int32,Boolean,Int32,Int32,Int32,Int32,Int32,Boolean) Method
Number of days in the first interval.
Number of hours in the first interval.
Number of minutes in the first interval.
Number of seconds in the first interval.
Fractional part of a second in the first interval.
true if the first time interval is a positive value; otherwise, false.
Number of days in the second interval.
Number of hours in the second interval.
Number of minutes in the second interval.
Number of seconds in the second interval.
Fractional part of a second in the second interval.
true if the second time interval is a positive value; otherwise, false.

Add(Int32,Int32,Int32,Int32,Int32,Boolean,Int32,Int32,Int32,Int32,Int32,Boolean) Method
Adds two time intervals represented by their constituent parts.
Syntax
'Declaration
 
Public Overloads Shared Function Add( _
   ByVal day1 As Integer, _
   ByVal hour1 As Integer, _
   ByVal minute1 As Integer, _
   ByVal second1 As Integer, _
   ByVal fsecond1 As Integer, _
   ByVal isPositive1 As Boolean, _
   ByVal day2 As Integer, _
   ByVal hour2 As Integer, _
   ByVal minute2 As Integer, _
   ByVal second2 As Integer, _
   ByVal fsecond2 As Integer, _
   ByVal isPositive2 As Boolean _
) As OracleIntervalDS
 

Parameters

day1
Number of days in the first interval.
hour1
Number of hours in the first interval.
minute1
Number of minutes in the first interval.
second1
Number of seconds in the first interval.
fsecond1
Fractional part of a second in the first interval.
isPositive1
true if the first time interval is a positive value; otherwise, false.
day2
Number of days in the second interval.
hour2
Number of hours in the second interval.
minute2
Number of minutes in the second interval.
second2
Number of seconds in the second interval.
fsecond2
Fractional part of a second in the second interval.
isPositive2
true if the second time interval is a positive value; otherwise, false.

Return Value

An OracleIntervalDS structure.
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