Java Code Examples for javax.xml.datatype.DatatypeConstants#DECEMBER
The following examples show how to use
javax.xml.datatype.DatatypeConstants#DECEMBER .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FEELXMLGregorianCalendar.java From jdmn with Apache License 2.0 | 5 votes |
@Override public void setMonth(int month) { if (month < DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER < month) if (month != DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 2
Source File: XMLGregorianCalendarImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 3
Source File: XMLGregorianCalendarImpl.java From TencentKona-8 with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 4
Source File: XMLGregorianCalendarImpl.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 5
Source File: XMLGregorianCalendarImpl.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 6
Source File: XMLGregorianCalendarImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 7
Source File: XMLGregorianCalendarImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 8
Source File: XMLGregorianCalendarImpl.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public final void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 9
Source File: XMLGregorianCalendarImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 10
Source File: XMLGregorianCalendarImpl.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 11
Source File: XMLGregorianCalendarImpl.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }
Example 12
Source File: XMLGregorianCalendarImpl.java From openjdk-8 with GNU General Public License v2.0 | 3 votes |
/** * <p>Set month.</p> * * <p>Unset this field by invoking the setter with a parameter value of {@link DatatypeConstants#FIELD_UNDEFINED}.</p> * * @param month value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. * * @throws IllegalArgumentException if <code>month</code> parameter is * outside value constraints for the field as specified in * <a href="#datetimefieldmapping">date/time field mapping table</a>. */ public void setMonth(int month) { if(month<DatatypeConstants.JANUARY || DatatypeConstants.DECEMBER<month) if(month!=DatatypeConstants.FIELD_UNDEFINED) invalidFieldValue(MONTH, month); this.month = month; }