Constructor for IOracleIntervalDayToSecond using day, hour, minute, second, and fraction of a second. All arguments must be integral numbers.
number of days
number of hours
number of minutes
number of seconds
fractional seconds
new IOracleIntervalDayToSecond
Adds the interval to another interval and returns the resulting interval
the other interval
the resulting interval as IOracleIntervalDayToSecond
Divides the interval by an Oracle number or JavaScript number and returns the resulting interval
the divisor used in the division
the resulting interval
Returns the number of days from the interval
the number of days from the interval
Returns the number of hours from the interval
the number of hours from the interval
Returns the number of minutes from the interval
the number of minutes from the interval
Returns the number of seconds including fractional seconds from the interval
the number of seconds including fractional seconds from the interval
Multiplies the interval with an Oracle number or a JavaScript number and returns the resulting interval
the factor used in the multiplication
the resulting interval
Subtracts another interval from the interval and returns the resulting interval
the other interval
the resulting interval as IOracleIntervalDayToSecond
Produces a string representing the interval. The string is formatted with 2 digits for the number of days and 6 digits for the fractional seconds of the interval.
a string representing the interval
Produces a string representing the interval. The string is formatted according to the specified precision for days and fractional seconds.
The number of digits used to represent days in the interval string.
Fractional second precision of the interval string (the number of digits used to represent the fractional seconds).
a string representing the interval
StaticcompareCompares two intervals. Returns -1 if i1 < i2, 0 if they are equal, and 1 if i1 > i2.
first interval to use for the comparison
second interval to use for the comparison
the result of the comparison as a number between -1 and +1.
StaticfromReturns an IOracleIntervalDayToSecond for the given number of days. If the number of days contains a fractional part, the number of hours, minutes and seconds will be set accordingly.
number of days
new IOracleIntervalDayToSecond for the given number of days.
StaticfromParses an interval string into IOracleIntervalDayToSecond. This method accepts the same input formats as the Oracle SQL function TO_DSINTERVAL:
string to parse.
new IOracleIntervalDayToSecond
StaticfromReturns an IOracleIntervalDayToSecond for a given timezone offset or timezone name. The input string must be of the form [+/-]TZH:TZM or 'TZR'.
timezone offset or timezone name as string
new IOracleIntervalDayToSecond that contains the current absolute offset
JavaScript API for Oracle type INTERVAL DAY TO SECOND.