src/share/classes/sun/util/locale/provider/CalendarDataUtility.java

Print this page




   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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 sun.util.locale.provider;
  27 
  28 import java.util.Calendar;
  29 import static java.util.Calendar.*;
  30 import java.util.Locale;
  31 import java.util.Map;
  32 import java.util.spi.CalendarDataProvider;
  33 import java.util.spi.CalendarNameProvider;
  34 
  35 /**
  36  * {@code CalendarDataUtility} is a utility class for calling the
  37  * {@link CalendarDataProvider} methods.
  38  *
  39  * @author Masayoshi Okutsu
  40  * @author Naoto Sato
  41  */
  42 public class CalendarDataUtility {
  43     public final static String FIRST_DAY_OF_WEEK = "firstDayOfWeek";
  44     public final static String MINIMAL_DAYS_IN_FIRST_WEEK = "minimalDaysInFirstWeek";
  45 
  46     // No instantiation
  47     private CalendarDataUtility() {
  48     }




   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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 sun.util.locale.provider;
  27 

  28 import static java.util.Calendar.*;
  29 import java.util.Locale;
  30 import java.util.Map;
  31 import java.util.spi.CalendarDataProvider;
  32 import java.util.spi.CalendarNameProvider;
  33 
  34 /**
  35  * {@code CalendarDataUtility} is a utility class for calling the
  36  * {@link CalendarDataProvider} methods.
  37  *
  38  * @author Masayoshi Okutsu
  39  * @author Naoto Sato
  40  */
  41 public class CalendarDataUtility {
  42     public final static String FIRST_DAY_OF_WEEK = "firstDayOfWeek";
  43     public final static String MINIMAL_DAYS_IN_FIRST_WEEK = "minimalDaysInFirstWeek";
  44 
  45     // No instantiation
  46     private CalendarDataUtility() {
  47     }