OracleTimeSpan Constructor (Int32, Int32, Int32, Int32)

 

Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, and seconds.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

new : 
        days:int *
        hours:int *
        minutes:int *
        seconds:int -> OracleTimeSpan

Parameters

days
Type: System.Int32

Number of days.

hours
Type: System.Int32

Number of hours.

minutes
Type: System.Int32

Number of minutes.

seconds
Type: System.Int32

Number of seconds.

Exception Condition
ArgumentOutOfRangeException

The parameters specify an OracleTimeSpan value less than MinValue or greater than MaxValue.

.NET Framework
Available since 1.1
Return to top
Show: