Class IntervalStringUtils
java.lang.Object
org.apache.arrow.driver.jdbc.utils.IntervalStringUtils
Utility class to format periods similar to Oracle's representation of "INTERVAL * to *" data
type.
-
Method Details
-
formatIntervalYear
Formats a period similar to Oracle INTERVAL YEAR TO MONTH data type
. For example, the string "+21-02" defines an interval of 21 years and 2 months. -
formatIntervalDay
Formats a period similar to Oracle INTERVAL DAY TO SECOND data type.
. For example, the string "-001 18:25:16.766" defines an interval of - 1 day 18 hours 25 minutes 16 seconds and 766 milliseconds.
-