summaryrefslogtreecommitdiff
path: root/ojluni/annotations/mmodule/java/text/DateFormat.annotated.java
blob: 5a28d02c7873c34a902d158874f0318c59e2c5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
/*
 * Copyright (C) 2014 The Android Open Source Project
 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/*
 * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
 * (C) Copyright IBM Corp. 1996 - All Rights Reserved
 *
 *   The original version of this source code and documentation is copyrighted
 * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
 * materials are provided under terms of a License Agreement between Taligent
 * and Sun. This technology is protected by multiple US and International
 * patents. This notice and attribution to Taligent may not be removed.
 *   Taligent is a registered trademark of Taligent, Inc.
 *
 */


package java.text;

import java.util.Locale;
import java.util.TimeZone;
import java.util.Calendar;
import java.util.Date;
import java.io.InvalidObjectException;

@SuppressWarnings({"unchecked", "deprecation", "all"})
public abstract class DateFormat extends java.text.Format {

protected DateFormat() { throw new RuntimeException("Stub!"); }

public final java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition fieldPosition) { throw new RuntimeException("Stub!"); }

public abstract java.lang.StringBuffer format(java.util.Date date, java.lang.StringBuffer toAppendTo, java.text.FieldPosition fieldPosition);

public final java.lang.String format(java.util.Date date) { throw new RuntimeException("Stub!"); }

public java.util.Date parse(java.lang.String source) throws java.text.ParseException { throw new RuntimeException("Stub!"); }

public abstract java.util.Date parse(java.lang.String source, java.text.ParsePosition pos);

public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getTimeInstance() { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getTimeInstance(int style) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getTimeInstance(int style, java.util.Locale aLocale) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateInstance() { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateInstance(int style) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateInstance(int style, java.util.Locale aLocale) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateTimeInstance() { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle, java.util.Locale aLocale) { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat getInstance() { throw new RuntimeException("Stub!"); }

@libcore.api.CorePlatformApi
public static final void set24HourTimePref(java.lang.Boolean is24Hour) { throw new RuntimeException("Stub!"); }

public static java.util.Locale[] getAvailableLocales() { throw new RuntimeException("Stub!"); }

public void setCalendar(java.util.Calendar newCalendar) { throw new RuntimeException("Stub!"); }

public java.util.Calendar getCalendar() { throw new RuntimeException("Stub!"); }

public void setNumberFormat(java.text.NumberFormat newNumberFormat) { throw new RuntimeException("Stub!"); }

public java.text.NumberFormat getNumberFormat() { throw new RuntimeException("Stub!"); }

public void setTimeZone(java.util.TimeZone zone) { throw new RuntimeException("Stub!"); }

public java.util.TimeZone getTimeZone() { throw new RuntimeException("Stub!"); }

public void setLenient(boolean lenient) { throw new RuntimeException("Stub!"); }

public boolean isLenient() { throw new RuntimeException("Stub!"); }

public int hashCode() { throw new RuntimeException("Stub!"); }

public boolean equals(java.lang.Object obj) { throw new RuntimeException("Stub!"); }

public java.lang.Object clone() { throw new RuntimeException("Stub!"); }

public static final int AM_PM_FIELD = 14; // 0xe

public static final int DATE_FIELD = 3; // 0x3

public static final int DAY_OF_WEEK_FIELD = 9; // 0x9

public static final int DAY_OF_WEEK_IN_MONTH_FIELD = 11; // 0xb

public static final int DAY_OF_YEAR_FIELD = 10; // 0xa

public static final int DEFAULT = 2; // 0x2

public static final int ERA_FIELD = 0; // 0x0

public static final int FULL = 0; // 0x0

public static final int HOUR0_FIELD = 16; // 0x10

public static final int HOUR1_FIELD = 15; // 0xf

public static final int HOUR_OF_DAY0_FIELD = 5; // 0x5

public static final int HOUR_OF_DAY1_FIELD = 4; // 0x4

public static final int LONG = 1; // 0x1

public static final int MEDIUM = 2; // 0x2

public static final int MILLISECOND_FIELD = 8; // 0x8

public static final int MINUTE_FIELD = 6; // 0x6

public static final int MONTH_FIELD = 2; // 0x2

public static final int SECOND_FIELD = 7; // 0x7

public static final int SHORT = 3; // 0x3

public static final int TIMEZONE_FIELD = 17; // 0x11

public static final int WEEK_OF_MONTH_FIELD = 13; // 0xd

public static final int WEEK_OF_YEAR_FIELD = 12; // 0xc

public static final int YEAR_FIELD = 1; // 0x1

protected java.util.Calendar calendar;

public static java.lang.Boolean is24Hour;

protected java.text.NumberFormat numberFormat;
@SuppressWarnings({"unchecked", "deprecation", "all"})
public static class Field extends java.text.Format.Field {

protected Field(java.lang.String name, int calendarField) { super(null); throw new RuntimeException("Stub!"); }

public static java.text.DateFormat.Field ofCalendarField(int calendarField) { throw new RuntimeException("Stub!"); }

public int getCalendarField() { throw new RuntimeException("Stub!"); }

protected java.lang.Object readResolve() throws java.io.InvalidObjectException { throw new RuntimeException("Stub!"); }

public static final java.text.DateFormat.Field AM_PM;
static { AM_PM = null; }

public static final java.text.DateFormat.Field DAY_OF_MONTH;
static { DAY_OF_MONTH = null; }

public static final java.text.DateFormat.Field DAY_OF_WEEK;
static { DAY_OF_WEEK = null; }

public static final java.text.DateFormat.Field DAY_OF_WEEK_IN_MONTH;
static { DAY_OF_WEEK_IN_MONTH = null; }

public static final java.text.DateFormat.Field DAY_OF_YEAR;
static { DAY_OF_YEAR = null; }

public static final java.text.DateFormat.Field ERA;
static { ERA = null; }

public static final java.text.DateFormat.Field HOUR0;
static { HOUR0 = null; }

public static final java.text.DateFormat.Field HOUR1;
static { HOUR1 = null; }

public static final java.text.DateFormat.Field HOUR_OF_DAY0;
static { HOUR_OF_DAY0 = null; }

public static final java.text.DateFormat.Field HOUR_OF_DAY1;
static { HOUR_OF_DAY1 = null; }

public static final java.text.DateFormat.Field MILLISECOND;
static { MILLISECOND = null; }

public static final java.text.DateFormat.Field MINUTE;
static { MINUTE = null; }

public static final java.text.DateFormat.Field MONTH;
static { MONTH = null; }

public static final java.text.DateFormat.Field SECOND;
static { SECOND = null; }

public static final java.text.DateFormat.Field TIME_ZONE;
static { TIME_ZONE = null; }

public static final java.text.DateFormat.Field WEEK_OF_MONTH;
static { WEEK_OF_MONTH = null; }

public static final java.text.DateFormat.Field WEEK_OF_YEAR;
static { WEEK_OF_YEAR = null; }

public static final java.text.DateFormat.Field YEAR;
static { YEAR = null; }
}

}