<HR>

<A NAME="newDuration(boolean, int, int, int, int, int, int)"><!-- --></A><H3>
newDuration</H3>
<PRE>
public <A HREF="../../../javax/xml/datatype/Duration.html" title="class in javax.xml.datatype">Duration</A> <B>newDuration</B>(boolean&nbsp;isPositive,
                            int&nbsp;years,
                            int&nbsp;months,
                            int&nbsp;days,
                            int&nbsp;hours,
                            int&nbsp;minutes,
                          