01: /*
02: * Copyright 2007 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.i18n.client.constants;
17:
18: import com.google.gwt.i18n.client.Constants;
19:
20: /**
21: * DateTimeConstants class encapsulate a collection of DateTime formatting
22: * symbols for use with DateTime format and parse services. This class extends
23: * GWT's Constants class. The actual symbol collections are defined in a set
24: * of property files named like "DateTimeConstants_xx.properties". GWT will
25: * will perform late binding to the property file that specific to user's
26: * locale.
27: */
28: public interface DateTimeConstants extends Constants {
29: String[] ampms();
30:
31: String[] dateFormats();
32:
33: String[] eraNames();
34:
35: String[] eras();
36:
37: String firstDayOfTheWeek();
38:
39: String[] months();
40:
41: String[] narrowMonths();
42:
43: String[] narrowWeekdays();
44:
45: String[] quarters();
46:
47: String[] shortMonths();
48:
49: String[] shortQuarters();
50:
51: String[] shortWeekdays();
52:
53: String[] standaloneMonths();
54:
55: String[] standaloneNarrowMonths();
56:
57: String[] standaloneNarrowWeekdays();
58:
59: String[] standaloneShortMonths();
60:
61: String[] standaloneShortWeekdays();
62:
63: String[] standaloneWeekdays();
64:
65: String[] timeFormats();
66:
67: String[] weekdays();
68:
69: String[] weekendRange();
70: }
|