Interface OracleJsonIntervalYM

    • Method Detail

      • getPeriod

        java.time.Period getPeriod()
        Returns this interval as a Period.
        Returns:
        the interval
      • getINTERVALYM

        INTERVALYM getINTERVALYM()
        Returns this value as a oracle.sql.INTERVALYM
        Returns:
        the interval value
      • getString

        String getString()
        Returns this interval as an ISO 8601 String.
        Returns:
        the string value
      • hashCode

        int hashCode()
        Returns a hash code equal to Arrays.hashCode(getINTERVALYM().getBytes()) .
        Overrides:
        hashCode in class Object
        Returns:
        the hash code
      • equals

        boolean equals​(Object obj)
        Compares the specified object with this OracleJsonIntervalYM. Returns true if and only if the other object is an instance of OracleJsonIntervalYM and the intervals are equal.
        Overrides:
        equals in class Object
        Parameters:
        obj - the object to be compared for equality
        Returns:
        true if the specified object is equal to this OracleJsonIntervalYM.