OracleTimeSpan Constructor (Int32, Int32, Int32, Int32)

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)

public OracleTimeSpan(
	int days,
	int hours,
	int minutes,
	int seconds
)

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:
© 2016 Microsoft