14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.xml.datatype;
27
28 import javax.xml.XMLConstants;
29 import javax.xml.namespace.QName;
30
31 /**
32 * <p>Utility class to contain basic Datatype values as constants.</p>
33 *
34 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
35 * @since 1.5
36 */
37
38 public final class DatatypeConstants {
39
40 /**
41 * <p>Private constructor to prevent instantiation.</p>
42 */
43 private DatatypeConstants() {
44 }
45
46 /**
47 * Value for first month of year.
48 */
49 public static final int JANUARY = 1;
50
51 /**
52 * Value for second month of year.
53 */
54 public static final int FEBRUARY = 2;
|
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.xml.datatype;
27
28 import javax.xml.XMLConstants;
29 import javax.xml.namespace.QName;
30
31 /**
32 * <p>Utility class to contain basic Datatype values as constants.</p>
33 *
34 * @author Jeff Suttor
35 * @since 1.5
36 */
37
38 public final class DatatypeConstants {
39
40 /**
41 * <p>Private constructor to prevent instantiation.</p>
42 */
43 private DatatypeConstants() {
44 }
45
46 /**
47 * Value for first month of year.
48 */
49 public static final int JANUARY = 1;
50
51 /**
52 * Value for second month of year.
53 */
54 public static final int FEBRUARY = 2;
|