Constructor for IOracleIntervalDayToSecond using day, hour, minute, and second. All arguments must be integral numbers.
new IOracleIntervalDayToSecond
number of days
number of hours
number of minutes
number of seconds
fractional seconds
Adds the interval to another interval and returns the resulting interval
the resulting interval as IOracleIntervalDayToSecond
the other interval
Compares two intervals
-1 if i1 < i2 0 if i1 = i2 1 if i1 > i2
first interval to use for the comparison
second interval to use for the comparison
Divides the interval by an Oracle number or JavaScript number and returns the resulting interval
the resulting interval
the divisor used in the division
Returns 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.
new IOracleIntervalDayToSecond for the given number of days.
number of days
Parse an interval string into IOracleIntervalDayToSecond. fromString accepts the same input formats as the Oracle SQL function TO_DSINTERVAL:
new IOracleIntervalDayToSecond
string to parse.
Returns an IOracleIntervalDayToSecond for a given timezone offset or timezone name. The input string must be of the form [+/-]TZH:TZM or 'TZR'.
new IOracleIntervalDayToSecond that contains the current absolute offset
timezone offset or timezone name as string
Multiplies the interval with an Oracle number or a JavaScript number and returns the resulting interval
the resulting interval
the factor used in the multiplication
Subtracts another interval from the interval and returns the resulting interval
the resulting interval as IOracleIntervalDayToSecond
the other interval
Produces a string representing the interval. The string is formatted according to the specified precision for days and fractional seconds.
a string representing the interval
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).
JavaScript API for Oracle type INTERVAL DAY TO SECOND.