jaxp/src/java.xml/share/classes/javax/xml/datatype/DatatypeFactory.java
changeset 45261 8a151bf73222
parent 42390 4083bc2c3b5b
child 45855 46c3f654e80f
equal deleted inserted replaced
45151:13796d1d9f0a 45261:8a151bf73222
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   772     public abstract XMLGregorianCalendar newXMLGregorianCalendar(final String lexicalRepresentation);
   772     public abstract XMLGregorianCalendar newXMLGregorianCalendar(final String lexicalRepresentation);
   773 
   773 
   774     /**
   774     /**
   775      * Create an {@code XMLGregorianCalendar} from a {@link GregorianCalendar}.
   775      * Create an {@code XMLGregorianCalendar} from a {@link GregorianCalendar}.
   776      *
   776      *
   777      * <table border="2" rules="all" cellpadding="2">
   777      * <table class="striped">
       
   778      *   <caption>Field by Field Conversion from
       
   779      *          {@link GregorianCalendar} to an {@link XMLGregorianCalendar}</caption>
   778      *   <thead>
   780      *   <thead>
   779      *     <tr>
       
   780      *       <th align="center" colspan="2">
       
   781      *          Field by Field Conversion from
       
   782      *          {@link GregorianCalendar} to an {@link XMLGregorianCalendar}
       
   783      *       </th>
       
   784      *     </tr>
       
   785      *     <tr>
   781      *     <tr>
   786      *        <th>{@code java.util.GregorianCalendar} field</th>
   782      *        <th>{@code java.util.GregorianCalendar} field</th>
   787      *        <th>{@code javax.xml.datatype.XMLGregorianCalendar} field</th>
   783      *        <th>{@code javax.xml.datatype.XMLGregorianCalendar} field</th>
   788      *     </tr>
   784      *     </tr>
   789      *   </thead>
   785      *   </thead>