icalRepresentation</code>.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - If the <code>lexicalRepresentation</code> is not a valid <code>XMLGregorianCalendar</code>.<DD><CODE>java.lang.NullPointerException</CODE> - If <code>lexicalRepresentation</code> is <code>null</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="newXMLGregorianCalendar(java.util.GregorianCalendar)"><!-- --></A><H3>
newXMLGregorianCalendar</H3>
<PRE>
public abstract <A HREF="../../../javax/xml/datatype/XMLGregorianCalendar.h