public XMLGregorianCalendar newXMLGregorianCalendarTime(
            final int hours,
            final int minutes,
            final int seconds,
            final int timezone) {

        return newXMLGregorianCalendar(
                DatatypeConstants.FIELD_UNDEFINED, // Year
                DatatypeConstants.FIELD_UNDEFINED, // Month
                DatatypeConstants.FIELD_UNDEFINED, // Day
                hours,
                minutes,
                seconds,
                DatatypeConstants.FIELD_UNDEFINED, //Millisecond
                timezone);
    }
public XMLGregorianCalendar newXMLGregorianCalendarTime ( final int hours , final int minutes , final int seconds , final int timezone ) { return newXMLGregorianCalendar ( DatatypeConstants . FIELD_UNDEFINED , DatatypeConstants . FIELD_UNDEFINED , DatatypeConstants . FIELD_UNDEFINED , hours , minutes , seconds , DatatypeConstants . FIELD_UNDEFINED , timezone ) ; }
<p>Create a Java instance of XML Schema builtin datatype <code>time</code>.</p>

<p>A {@link DatatypeConstants#FIELD_UNDEFINED} value indicates that field is not set.</p>

@param hours number of hours
@param minutes number of minutes
@param seconds number of seconds
@param timezone offset in minutes. {@link DatatypeConstants#FIELD_UNDEFINED} indicates optional field is not set.

@return <code>XMLGregorianCalendar</code> created from parameter values.

@throws IllegalArgumentException If any individual parameter's value is outside the maximum value constraint for the field
as determined by the Date/Time Data Mapping table in {@link XMLGregorianCalendar}
or if the composite values constitute an invalid <code>XMLGregorianCalendar</code> instance
as determined by {@link XMLGregorianCalendar#isValid()}.

@see DatatypeConstants#FIELD_UNDEFINED