.. _dpiIntervalYM:

ODPI-C Structure dpiIntervalYM
------------------------------

This structure is used for passing interval (years to months) data to and from
the database in the structure :ref:`dpiData<dpiData>`.

.. member:: int32_t dpiIntervalYM.years

    Specifies the number of years in the interval.

.. member:: int32_t dpiIntervalYM.months

    Specifies the number of months in the interval.
