<TD><CODE><B><A HREF="../../../javax/xml/datatype/DatatypeFactory.html#newDurationYearMonth(boolean, int, int)">newDurationYearMonth</A></B>(boolean&nbsp;isPositive,
                     int&nbsp;year,
                     int&nbsp;month)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a <code>Duration</code> of type <code>xdt:yearMonthDuration</code> using the specified
 <code>year</code> and <code>month</code> as defined in
 <a href="http://www.w3.org/TR/xpath-datamodel#