1 /*
2  * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
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.calendar;
27 
28 
29 @SuppressWarnings({"unchecked", "deprecation", "all"})
30 public abstract class CalendarDate implements java.lang.Cloneable {
31 
CalendarDate()32     protected CalendarDate() {
33         throw new RuntimeException("Stub!");
34     }
35 
CalendarDate(java.util.TimeZone zone)36     protected CalendarDate(java.util.TimeZone zone) {
37         throw new RuntimeException("Stub!");
38     }
39 
getEra()40     public sun.util.calendar.Era getEra() {
41         throw new RuntimeException("Stub!");
42     }
43 
setEra(sun.util.calendar.Era era)44     public sun.util.calendar.CalendarDate setEra(sun.util.calendar.Era era) {
45         throw new RuntimeException("Stub!");
46     }
47 
48     @android.compat.annotation.UnsupportedAppUsage
getYear()49     public int getYear() {
50         throw new RuntimeException("Stub!");
51     }
52 
setYear(int year)53     public sun.util.calendar.CalendarDate setYear(int year) {
54         throw new RuntimeException("Stub!");
55     }
56 
addYear(int n)57     public sun.util.calendar.CalendarDate addYear(int n) {
58         throw new RuntimeException("Stub!");
59     }
60 
isLeapYear()61     public boolean isLeapYear() {
62         throw new RuntimeException("Stub!");
63     }
64 
setLeapYear(boolean leapYear)65     void setLeapYear(boolean leapYear) {
66         throw new RuntimeException("Stub!");
67     }
68 
69     @android.compat.annotation.UnsupportedAppUsage
getMonth()70     public int getMonth() {
71         throw new RuntimeException("Stub!");
72     }
73 
setMonth(int month)74     public sun.util.calendar.CalendarDate setMonth(int month) {
75         throw new RuntimeException("Stub!");
76     }
77 
addMonth(int n)78     public sun.util.calendar.CalendarDate addMonth(int n) {
79         throw new RuntimeException("Stub!");
80     }
81 
82     @android.compat.annotation.UnsupportedAppUsage
getDayOfMonth()83     public int getDayOfMonth() {
84         throw new RuntimeException("Stub!");
85     }
86 
87     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setDayOfMonth(int date)88     public sun.util.calendar.CalendarDate setDayOfMonth(int date) {
89         throw new RuntimeException("Stub!");
90     }
91 
addDayOfMonth(int n)92     public sun.util.calendar.CalendarDate addDayOfMonth(int n) {
93         throw new RuntimeException("Stub!");
94     }
95 
getDayOfWeek()96     public int getDayOfWeek() {
97         throw new RuntimeException("Stub!");
98     }
99 
getHours()100     public int getHours() {
101         throw new RuntimeException("Stub!");
102     }
103 
104     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setHours(int hours)105     public sun.util.calendar.CalendarDate setHours(int hours) {
106         throw new RuntimeException("Stub!");
107     }
108 
addHours(int n)109     public sun.util.calendar.CalendarDate addHours(int n) {
110         throw new RuntimeException("Stub!");
111     }
112 
getMinutes()113     public int getMinutes() {
114         throw new RuntimeException("Stub!");
115     }
116 
117     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setMinutes(int minutes)118     public sun.util.calendar.CalendarDate setMinutes(int minutes) {
119         throw new RuntimeException("Stub!");
120     }
121 
addMinutes(int n)122     public sun.util.calendar.CalendarDate addMinutes(int n) {
123         throw new RuntimeException("Stub!");
124     }
125 
getSeconds()126     public int getSeconds() {
127         throw new RuntimeException("Stub!");
128     }
129 
130     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setSeconds(int seconds)131     public sun.util.calendar.CalendarDate setSeconds(int seconds) {
132         throw new RuntimeException("Stub!");
133     }
134 
addSeconds(int n)135     public sun.util.calendar.CalendarDate addSeconds(int n) {
136         throw new RuntimeException("Stub!");
137     }
138 
getMillis()139     public int getMillis() {
140         throw new RuntimeException("Stub!");
141     }
142 
143     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setMillis(int millis)144     public sun.util.calendar.CalendarDate setMillis(int millis) {
145         throw new RuntimeException("Stub!");
146     }
147 
addMillis(int n)148     public sun.util.calendar.CalendarDate addMillis(int n) {
149         throw new RuntimeException("Stub!");
150     }
151 
152     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
getTimeOfDay()153     public long getTimeOfDay() {
154         throw new RuntimeException("Stub!");
155     }
156 
157     @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
setDate(int year, int month, int dayOfMonth)158     public sun.util.calendar.CalendarDate setDate(int year, int month, int dayOfMonth) {
159         throw new RuntimeException("Stub!");
160     }
161 
addDate(int year, int month, int dayOfMonth)162     public sun.util.calendar.CalendarDate addDate(int year, int month, int dayOfMonth) {
163         throw new RuntimeException("Stub!");
164     }
165 
setTimeOfDay( int hours, int minutes, int seconds, int millis)166     public sun.util.calendar.CalendarDate setTimeOfDay(
167             int hours, int minutes, int seconds, int millis) {
168         throw new RuntimeException("Stub!");
169     }
170 
addTimeOfDay( int hours, int minutes, int seconds, int millis)171     public sun.util.calendar.CalendarDate addTimeOfDay(
172             int hours, int minutes, int seconds, int millis) {
173         throw new RuntimeException("Stub!");
174     }
175 
setTimeOfDay(long fraction)176     protected void setTimeOfDay(long fraction) {
177         throw new RuntimeException("Stub!");
178     }
179 
isNormalized()180     public boolean isNormalized() {
181         throw new RuntimeException("Stub!");
182     }
183 
isStandardTime()184     public boolean isStandardTime() {
185         throw new RuntimeException("Stub!");
186     }
187 
setStandardTime(boolean standardTime)188     public void setStandardTime(boolean standardTime) {
189         throw new RuntimeException("Stub!");
190     }
191 
isDaylightTime()192     public boolean isDaylightTime() {
193         throw new RuntimeException("Stub!");
194     }
195 
setLocale(java.util.Locale loc)196     protected void setLocale(java.util.Locale loc) {
197         throw new RuntimeException("Stub!");
198     }
199 
getZone()200     public java.util.TimeZone getZone() {
201         throw new RuntimeException("Stub!");
202     }
203 
setZone(java.util.TimeZone zoneinfo)204     public sun.util.calendar.CalendarDate setZone(java.util.TimeZone zoneinfo) {
205         throw new RuntimeException("Stub!");
206     }
207 
isSameDate(sun.util.calendar.CalendarDate date)208     public boolean isSameDate(sun.util.calendar.CalendarDate date) {
209         throw new RuntimeException("Stub!");
210     }
211 
equals(java.lang.Object obj)212     public boolean equals(java.lang.Object obj) {
213         throw new RuntimeException("Stub!");
214     }
215 
hashCode()216     public int hashCode() {
217         throw new RuntimeException("Stub!");
218     }
219 
clone()220     public java.lang.Object clone() {
221         throw new RuntimeException("Stub!");
222     }
223 
toString()224     public java.lang.String toString() {
225         throw new RuntimeException("Stub!");
226     }
227 
setDayOfWeek(int dayOfWeek)228     protected void setDayOfWeek(int dayOfWeek) {
229         throw new RuntimeException("Stub!");
230     }
231 
setNormalized(boolean normalized)232     protected void setNormalized(boolean normalized) {
233         throw new RuntimeException("Stub!");
234     }
235 
getZoneOffset()236     public int getZoneOffset() {
237         throw new RuntimeException("Stub!");
238     }
239 
setZoneOffset(int offset)240     protected void setZoneOffset(int offset) {
241         throw new RuntimeException("Stub!");
242     }
243 
getDaylightSaving()244     public int getDaylightSaving() {
245         throw new RuntimeException("Stub!");
246     }
247 
setDaylightSaving(int daylightSaving)248     protected void setDaylightSaving(int daylightSaving) {
249         throw new RuntimeException("Stub!");
250     }
251 
252     public static final int FIELD_UNDEFINED = -2147483648; // 0x80000000
253 
254     public static final long TIME_UNDEFINED = -9223372036854775808L; // 0x8000000000000000L
255 
256     private int dayOfMonth;
257 
258     private int dayOfWeek = -2147483648; // 0x80000000
259 
260     private int daylightSaving;
261 
262     private sun.util.calendar.Era era;
263 
264     private boolean forceStandardTime;
265 
266     private long fraction;
267 
268     private int hours;
269 
270     private boolean leapYear;
271 
272     private java.util.Locale locale;
273 
274     private int millis;
275 
276     private int minutes;
277 
278     private int month;
279 
280     private boolean normalized;
281 
282     private int seconds;
283 
284     private int year;
285 
286     private int zoneOffset;
287 
288     private java.util.TimeZone zoneinfo;
289 }
290