com.google.gwt.i18n.client.constants.DateTimeConstants.java Source code

Java tutorial

Introduction

Here is the source code for com.google.gwt.i18n.client.constants.DateTimeConstants.java

Source

/*
 * Copyright 2008 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.gwt.i18n.client.constants;

/**
 * DateTimeConstants class encapsulate a collection of DateTime formatting
 * symbols for use with DateTime format and parse services. This class extends
 * GWT's Constants class. The actual symbol collections are defined in a set of
 * property files named like "DateTimeConstants_xx.properties". GWT will will
 * perform late binding to the property file that specific to user's locale.
 * 
 * If you previously were using GWT.create on this interface, you should
 * use LocaleInfo.getDateTimeConstants() instead.
 * 
 * @deprecated use DateTimeFormatInfo instead
 */
@Deprecated
public interface DateTimeConstants {
    String[] ampms();

    String[] dateFormats();

    String[] eraNames();

    String[] eras();

    String firstDayOfTheWeek();

    String[] months();

    String[] narrowMonths();

    String[] narrowWeekdays();

    String[] quarters();

    String[] shortMonths();

    String[] shortQuarters();

    String[] shortWeekdays();

    String[] standaloneMonths();

    String[] standaloneNarrowMonths();

    String[] standaloneNarrowWeekdays();

    String[] standaloneShortMonths();

    String[] standaloneShortWeekdays();

    String[] standaloneWeekdays();

    String[] timeFormats();

    String[] weekdays();

    String[] weekendRange();
}