Create a Java representation of XML Schema builtin datatype date
or g*
.
For example, an instance of gYear
can be created invoking this factory with month
and day
parameters set to {@link DatatypeConstants#FIELD_UNDEFINED}.
A {@link DatatypeConstants#FIELD_UNDEFINED} value indicates that field isnot set.
@param year ofXMLGregorianCalendar
to be created.
@param month of XMLGregorianCalendar
to be created.
@param day of XMLGregorianCalendar
to be created.
@param timezone offset in minutes. {@link DatatypeConstants#FIELD_UNDEFINED} indicates optional field is not set.
@return XMLGregorianCalendar
created from parameter values.
@see DatatypeConstants#FIELD_UNDEFINED
@throws IllegalArgumentException If any individual parameter's value is outside the maximum value constraint for the fieldas determined by the Date/Time Data Mapping table in {@link XMLGregorianCalendar}or if the composite values constitute an invalid XMLGregorianCalendar
instance as determined by {@link XMLGregorianCalendar#isValid()}.
|
|
|
|