  int&nbsp;seconds)</PRE>
<DL>
<DD><p>Obtain a new instance of a <code>Duration</code>
 specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
 
 <p>A <A HREF="../../../javax/xml/datatype/DatatypeConstants.html#FIELD_UNDEFINED"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> value indicates that field isnot set.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isPositive</CODE> - Set to <code>false</code> to create a negative duration. When the length
 