286N/A * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. 286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A * This code is free software; you can redistribute it and/or modify it 286N/A * under the terms of the GNU General Public License version 2 only, as 286N/A * published by the Free Software Foundation. Oracle designates this 286N/A * particular file as subject to the "Classpath" exception as provided 286N/A * by Oracle in the LICENSE file that accompanied this code. 286N/A * This code is distributed in the hope that it will be useful, but WITHOUT 286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A * version 2 for more details (a copy is included in the LICENSE file that 286N/A * accompanied this code). 286N/A * You should have received a copy of the GNU General Public License version 286N/A * 2 along with this work; if not, write to the Free Software Foundation, 286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A * or visit www.oracle.com if you need additional information or have any 286N/A * <p>Utility class to contain basic Datatype values as constants.</p> 286N/A * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a> 286N/A * <p>Private constructor to prevent instantiation.</p> 286N/A * Value for first month of year. 286N/A * Value for second month of year. 286N/A * Value for third month of year. 286N/A * Value for fourth month of year. 286N/A * Value for fifth month of year. 286N/A * Value for sixth month of year. 286N/A * Value for seventh month of year. 286N/A * Value for eighth month of year. 286N/A * Value for ninth month of year. 286N/A * Value for tenth month of year. 286N/A * Value for eleven month of year. 286N/A * Value for twelve month of year. 286N/A * <p>Comparison result.</p> 286N/A * <p>Comparison result.</p> 286N/A * <p>Comparison result.</p> 286N/A * <p>Comparison result.</p> 286N/A * Designation that an "int" field is not set. 286N/A * <p>A constant that represents the years field.</p> 286N/A * <p>A constant that represents the months field.</p> 286N/A * <p>A constant that represents the days field.</p> 286N/A * <p>A constant that represents the hours field.</p> 286N/A * <p>A constant that represents the minutes field.</p> 286N/A * <p>A constant that represents the seconds field.</p> 286N/A * Type-safe enum class that represents six fields 286N/A * of the {@link Duration} class. 286N/A * <p><code>String</code> representation of <code>Field</code>.</p> 286N/A * <p>Unique id of the field.</p> 286N/A * <p>This value allows the {@link Duration} class to use switch 286N/A * statements to process fields.</p> 286N/A * <p>Construct a <code>Field</code> with specified values.</p> 286N/A * @param str <code>String</code> representation of <code>Field</code> 286N/A * @param id <code>int</code> representation of <code>Field</code> 286N/A * Returns a field name in English. This method 286N/A * and not for display to end-users. 286N/A * a non-null valid String constant. 286N/A * <p>Get id of this Field.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>dateTime</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>time</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>date</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gYearMonth</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gMonthDay</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gYear</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gMonth</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gDay</code>.</p> 286N/A * <p>Fully qualified name for W3C XML Schema datatype <code>duration</code>.</p> 286N/A * <p>Fully qualified name for XQuery 1.0 and XPath 2.0 datatype <code>dayTimeDuration</code>.</p> 286N/A * <p>Fully qualified name for XQuery 1.0 and XPath 2.0 datatype <code>yearMonthDuration</code>.</p> 286N/A * W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes. 286N/A * W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.