1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 /*
28  * (C) Copyright Taligent, Inc. 1996-1998 - All Rights Reserved
29  * (C) Copyright IBM Corp. 1996-1998 - All Rights Reserved
30  *
31  *   The original version of this source code and documentation is copyrighted
32  * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
33  * materials are provided under terms of a License Agreement between Taligent
34  * and Sun. This technology is protected by multiple US and International
35  * patents. This notice and attribution to Taligent may not be removed.
36  *   Taligent is a registered trademark of Taligent, Inc.
37  *
38  */
39 
40 package java.util;
41 
42 import android.compat.annotation.UnsupportedAppUsage;
43 
44 @SuppressWarnings({"unchecked", "deprecation", "all"})
45 public abstract class Calendar
46         implements java.io.Serializable,
47                 java.lang.Cloneable,
48                 java.lang.Comparable<java.util.Calendar> {
49 
Calendar()50     protected Calendar() {
51         throw new RuntimeException("Stub!");
52     }
53 
Calendar(java.util.TimeZone zone, java.util.Locale aLocale)54     protected Calendar(java.util.TimeZone zone, java.util.Locale aLocale) {
55         throw new RuntimeException("Stub!");
56     }
57 
getInstance()58     public static java.util.Calendar getInstance() {
59         throw new RuntimeException("Stub!");
60     }
61 
getInstance(java.util.TimeZone zone)62     public static java.util.Calendar getInstance(java.util.TimeZone zone) {
63         throw new RuntimeException("Stub!");
64     }
65 
getInstance(java.util.Locale aLocale)66     public static java.util.Calendar getInstance(java.util.Locale aLocale) {
67         throw new RuntimeException("Stub!");
68     }
69 
getInstance( java.util.TimeZone zone, java.util.Locale aLocale)70     public static java.util.Calendar getInstance(
71             java.util.TimeZone zone, java.util.Locale aLocale) {
72         throw new RuntimeException("Stub!");
73     }
74 
getJapaneseImperialInstance( java.util.TimeZone zone, java.util.Locale aLocale)75     public static java.util.Calendar getJapaneseImperialInstance(
76             java.util.TimeZone zone, java.util.Locale aLocale) {
77         throw new RuntimeException("Stub!");
78     }
79 
createCalendar( java.util.TimeZone zone, java.util.Locale aLocale)80     private static java.util.Calendar createCalendar(
81             java.util.TimeZone zone, java.util.Locale aLocale) {
82         throw new RuntimeException("Stub!");
83     }
84 
getAvailableLocales()85     public static synchronized java.util.Locale[] getAvailableLocales() {
86         throw new RuntimeException("Stub!");
87     }
88 
computeTime()89     protected abstract void computeTime();
90 
computeFields()91     protected abstract void computeFields();
92 
getTime()93     public final java.util.Date getTime() {
94         throw new RuntimeException("Stub!");
95     }
96 
setTime(java.util.Date date)97     public final void setTime(java.util.Date date) {
98         throw new RuntimeException("Stub!");
99     }
100 
getTimeInMillis()101     public long getTimeInMillis() {
102         throw new RuntimeException("Stub!");
103     }
104 
setTimeInMillis(long millis)105     public void setTimeInMillis(long millis) {
106         throw new RuntimeException("Stub!");
107     }
108 
get(int field)109     public int get(int field) {
110         throw new RuntimeException("Stub!");
111     }
112 
internalGet(int field)113     protected final int internalGet(int field) {
114         throw new RuntimeException("Stub!");
115     }
116 
internalSet(int field, int value)117     final void internalSet(int field, int value) {
118         throw new RuntimeException("Stub!");
119     }
120 
set(int field, int value)121     public void set(int field, int value) {
122         throw new RuntimeException("Stub!");
123     }
124 
set(int year, int month, int date)125     public final void set(int year, int month, int date) {
126         throw new RuntimeException("Stub!");
127     }
128 
set(int year, int month, int date, int hourOfDay, int minute)129     public final void set(int year, int month, int date, int hourOfDay, int minute) {
130         throw new RuntimeException("Stub!");
131     }
132 
set(int year, int month, int date, int hourOfDay, int minute, int second)133     public final void set(int year, int month, int date, int hourOfDay, int minute, int second) {
134         throw new RuntimeException("Stub!");
135     }
136 
clear()137     public final void clear() {
138         throw new RuntimeException("Stub!");
139     }
140 
clear(int field)141     public final void clear(int field) {
142         throw new RuntimeException("Stub!");
143     }
144 
isSet(int field)145     public final boolean isSet(int field) {
146         throw new RuntimeException("Stub!");
147     }
148 
getDisplayName(int field, int style, java.util.Locale locale)149     public java.lang.String getDisplayName(int field, int style, java.util.Locale locale) {
150         throw new RuntimeException("Stub!");
151     }
152 
getDisplayNames( int field, int style, java.util.Locale locale)153     public java.util.Map<java.lang.String, java.lang.Integer> getDisplayNames(
154             int field, int style, java.util.Locale locale) {
155         throw new RuntimeException("Stub!");
156     }
157 
getDisplayNamesImpl( int field, int style, java.util.Locale locale)158     private java.util.Map<java.lang.String, java.lang.Integer> getDisplayNamesImpl(
159             int field, int style, java.util.Locale locale) {
160         throw new RuntimeException("Stub!");
161     }
162 
checkDisplayNameParams( int field, int style, int minStyle, int maxStyle, java.util.Locale locale, int fieldMask)163     boolean checkDisplayNameParams(
164             int field,
165             int style,
166             int minStyle,
167             int maxStyle,
168             java.util.Locale locale,
169             int fieldMask) {
170         throw new RuntimeException("Stub!");
171     }
172 
getFieldStrings( int field, int style, java.text.DateFormatSymbols symbols)173     private java.lang.String[] getFieldStrings(
174             int field, int style, java.text.DateFormatSymbols symbols) {
175         throw new RuntimeException("Stub!");
176     }
177 
complete()178     protected void complete() {
179         throw new RuntimeException("Stub!");
180     }
181 
isExternallySet(int field)182     final boolean isExternallySet(int field) {
183         throw new RuntimeException("Stub!");
184     }
185 
getSetStateFields()186     final int getSetStateFields() {
187         throw new RuntimeException("Stub!");
188     }
189 
setFieldsComputed(int fieldMask)190     final void setFieldsComputed(int fieldMask) {
191         throw new RuntimeException("Stub!");
192     }
193 
setFieldsNormalized(int fieldMask)194     final void setFieldsNormalized(int fieldMask) {
195         throw new RuntimeException("Stub!");
196     }
197 
isPartiallyNormalized()198     final boolean isPartiallyNormalized() {
199         throw new RuntimeException("Stub!");
200     }
201 
isFullyNormalized()202     final boolean isFullyNormalized() {
203         throw new RuntimeException("Stub!");
204     }
205 
setUnnormalized()206     final void setUnnormalized() {
207         throw new RuntimeException("Stub!");
208     }
209 
isFieldSet(int fieldMask, int field)210     static boolean isFieldSet(int fieldMask, int field) {
211         throw new RuntimeException("Stub!");
212     }
213 
selectFields()214     final int selectFields() {
215         throw new RuntimeException("Stub!");
216     }
217 
getBaseStyle(int style)218     int getBaseStyle(int style) {
219         throw new RuntimeException("Stub!");
220     }
221 
toStandaloneStyle(int style)222     private int toStandaloneStyle(int style) {
223         throw new RuntimeException("Stub!");
224     }
225 
isStandaloneStyle(int style)226     private boolean isStandaloneStyle(int style) {
227         throw new RuntimeException("Stub!");
228     }
229 
isNarrowStyle(int style)230     private boolean isNarrowStyle(int style) {
231         throw new RuntimeException("Stub!");
232     }
233 
isNarrowFormatStyle(int style)234     private boolean isNarrowFormatStyle(int style) {
235         throw new RuntimeException("Stub!");
236     }
237 
aggregateStamp(int stamp_a, int stamp_b)238     private static int aggregateStamp(int stamp_a, int stamp_b) {
239         throw new RuntimeException("Stub!");
240     }
241 
getAvailableCalendarTypes()242     public static java.util.Set<java.lang.String> getAvailableCalendarTypes() {
243         throw new RuntimeException("Stub!");
244     }
245 
getCalendarType()246     public java.lang.String getCalendarType() {
247         throw new RuntimeException("Stub!");
248     }
249 
equals(java.lang.Object obj)250     public boolean equals(java.lang.Object obj) {
251         throw new RuntimeException("Stub!");
252     }
253 
hashCode()254     public int hashCode() {
255         throw new RuntimeException("Stub!");
256     }
257 
before(java.lang.Object when)258     public boolean before(java.lang.Object when) {
259         throw new RuntimeException("Stub!");
260     }
261 
after(java.lang.Object when)262     public boolean after(java.lang.Object when) {
263         throw new RuntimeException("Stub!");
264     }
265 
compareTo(java.util.Calendar anotherCalendar)266     public int compareTo(java.util.Calendar anotherCalendar) {
267         throw new RuntimeException("Stub!");
268     }
269 
add(int field, int amount)270     public abstract void add(int field, int amount);
271 
roll(int field, boolean up)272     public abstract void roll(int field, boolean up);
273 
roll(int field, int amount)274     public void roll(int field, int amount) {
275         throw new RuntimeException("Stub!");
276     }
277 
setTimeZone(java.util.TimeZone value)278     public void setTimeZone(java.util.TimeZone value) {
279         throw new RuntimeException("Stub!");
280     }
281 
getTimeZone()282     public java.util.TimeZone getTimeZone() {
283         throw new RuntimeException("Stub!");
284     }
285 
getZone()286     java.util.TimeZone getZone() {
287         throw new RuntimeException("Stub!");
288     }
289 
setZoneShared(boolean shared)290     void setZoneShared(boolean shared) {
291         throw new RuntimeException("Stub!");
292     }
293 
setLenient(boolean lenient)294     public void setLenient(boolean lenient) {
295         throw new RuntimeException("Stub!");
296     }
297 
isLenient()298     public boolean isLenient() {
299         throw new RuntimeException("Stub!");
300     }
301 
setFirstDayOfWeek(int value)302     public void setFirstDayOfWeek(int value) {
303         throw new RuntimeException("Stub!");
304     }
305 
getFirstDayOfWeek()306     public int getFirstDayOfWeek() {
307         throw new RuntimeException("Stub!");
308     }
309 
setMinimalDaysInFirstWeek(int value)310     public void setMinimalDaysInFirstWeek(int value) {
311         throw new RuntimeException("Stub!");
312     }
313 
getMinimalDaysInFirstWeek()314     public int getMinimalDaysInFirstWeek() {
315         throw new RuntimeException("Stub!");
316     }
317 
isWeekDateSupported()318     public boolean isWeekDateSupported() {
319         throw new RuntimeException("Stub!");
320     }
321 
getWeekYear()322     public int getWeekYear() {
323         throw new RuntimeException("Stub!");
324     }
325 
setWeekDate(int weekYear, int weekOfYear, int dayOfWeek)326     public void setWeekDate(int weekYear, int weekOfYear, int dayOfWeek) {
327         throw new RuntimeException("Stub!");
328     }
329 
getWeeksInWeekYear()330     public int getWeeksInWeekYear() {
331         throw new RuntimeException("Stub!");
332     }
333 
getMinimum(int field)334     public abstract int getMinimum(int field);
335 
getMaximum(int field)336     public abstract int getMaximum(int field);
337 
getGreatestMinimum(int field)338     public abstract int getGreatestMinimum(int field);
339 
getLeastMaximum(int field)340     public abstract int getLeastMaximum(int field);
341 
getActualMinimum(int field)342     public int getActualMinimum(int field) {
343         throw new RuntimeException("Stub!");
344     }
345 
getActualMaximum(int field)346     public int getActualMaximum(int field) {
347         throw new RuntimeException("Stub!");
348     }
349 
clone()350     public java.lang.Object clone() {
351         throw new RuntimeException("Stub!");
352     }
353 
getFieldName(int field)354     static java.lang.String getFieldName(int field) {
355         throw new RuntimeException("Stub!");
356     }
357 
toString()358     public java.lang.String toString() {
359         throw new RuntimeException("Stub!");
360     }
361 
appendValue( java.lang.StringBuilder sb, java.lang.String item, boolean valid, long value)362     private static void appendValue(
363             java.lang.StringBuilder sb, java.lang.String item, boolean valid, long value) {
364         throw new RuntimeException("Stub!");
365     }
366 
setWeekCountData(java.util.Locale desiredLocale)367     private void setWeekCountData(java.util.Locale desiredLocale) {
368         throw new RuntimeException("Stub!");
369     }
370 
updateTime()371     private void updateTime() {
372         throw new RuntimeException("Stub!");
373     }
374 
compareTo(long t)375     private int compareTo(long t) {
376         throw new RuntimeException("Stub!");
377     }
378 
getMillisOf(java.util.Calendar calendar)379     private static long getMillisOf(java.util.Calendar calendar) {
380         throw new RuntimeException("Stub!");
381     }
382 
adjustStamp()383     private void adjustStamp() {
384         throw new RuntimeException("Stub!");
385     }
386 
invalidateWeekFields()387     private void invalidateWeekFields() {
388         throw new RuntimeException("Stub!");
389     }
390 
writeObject(java.io.ObjectOutputStream stream)391     private synchronized void writeObject(java.io.ObjectOutputStream stream)
392             throws java.io.IOException {
393         throw new RuntimeException("Stub!");
394     }
395 
readObject(java.io.ObjectInputStream stream)396     private void readObject(java.io.ObjectInputStream stream)
397             throws java.lang.ClassNotFoundException, java.io.IOException {
398         throw new RuntimeException("Stub!");
399     }
400 
toInstant()401     public final java.time.Instant toInstant() {
402         throw new RuntimeException("Stub!");
403     }
404 
405     static final int ALL_FIELDS = 131071; // 0x1ffff
406 
407     public static final int ALL_STYLES = 0; // 0x0
408 
409     public static final int AM = 0; // 0x0
410 
411     public static final int AM_PM = 9; // 0x9
412 
413     static final int AM_PM_MASK = 512; // 0x200
414 
415     public static final int APRIL = 3; // 0x3
416 
417     public static final int AUGUST = 7; // 0x7
418 
419     private static final int COMPUTED = 1; // 0x1
420 
421     public static final int DATE = 5; // 0x5
422 
423     static final int DATE_MASK = 32; // 0x20
424 
425     public static final int DAY_OF_MONTH = 5; // 0x5
426 
427     static final int DAY_OF_MONTH_MASK = 32; // 0x20
428 
429     public static final int DAY_OF_WEEK = 7; // 0x7
430 
431     public static final int DAY_OF_WEEK_IN_MONTH = 8; // 0x8
432 
433     static final int DAY_OF_WEEK_IN_MONTH_MASK = 256; // 0x100
434 
435     static final int DAY_OF_WEEK_MASK = 128; // 0x80
436 
437     public static final int DAY_OF_YEAR = 6; // 0x6
438 
439     static final int DAY_OF_YEAR_MASK = 64; // 0x40
440 
441     public static final int DECEMBER = 11; // 0xb
442 
443     public static final int DST_OFFSET = 16; // 0x10
444 
445     static final int DST_OFFSET_MASK = 65536; // 0x10000
446 
447     public static final int ERA = 0; // 0x0
448 
449     static final int ERA_MASK = 1; // 0x1
450 
451     public static final int FEBRUARY = 1; // 0x1
452 
453     public static final int FIELD_COUNT = 17; // 0x11
454 
455     private static final java.lang.String[] FIELD_NAME;
456 
457     static {
458         FIELD_NAME = new java.lang.String[0];
459     }
460 
461     public static final int FRIDAY = 6; // 0x6
462 
463     public static final int HOUR = 10; // 0xa
464 
465     static final int HOUR_MASK = 1024; // 0x400
466 
467     public static final int HOUR_OF_DAY = 11; // 0xb
468 
469     static final int HOUR_OF_DAY_MASK = 2048; // 0x800
470 
471     public static final int JANUARY = 0; // 0x0
472 
473     public static final int JULY = 6; // 0x6
474 
475     public static final int JUNE = 5; // 0x5
476 
477     public static final int LONG = 2; // 0x2
478 
479     public static final int LONG_FORMAT = 2; // 0x2
480 
481     public static final int LONG_STANDALONE = 32770; // 0x8002
482 
483     public static final int MARCH = 2; // 0x2
484 
485     public static final int MAY = 4; // 0x4
486 
487     public static final int MILLISECOND = 14; // 0xe
488 
489     static final int MILLISECOND_MASK = 16384; // 0x4000
490 
491     private static final int MINIMUM_USER_STAMP = 2; // 0x2
492 
493     public static final int MINUTE = 12; // 0xc
494 
495     static final int MINUTE_MASK = 4096; // 0x1000
496 
497     public static final int MONDAY = 2; // 0x2
498 
499     public static final int MONTH = 2; // 0x2
500 
501     static final int MONTH_MASK = 4; // 0x4
502 
503     public static final int NARROW_FORMAT = 4; // 0x4
504 
505     public static final int NARROW_STANDALONE = 32772; // 0x8004
506 
507     public static final int NOVEMBER = 10; // 0xa
508 
509     public static final int OCTOBER = 9; // 0x9
510 
511     public static final int PM = 1; // 0x1
512 
513     public static final int SATURDAY = 7; // 0x7
514 
515     public static final int SECOND = 13; // 0xd
516 
517     static final int SECOND_MASK = 8192; // 0x2000
518 
519     public static final int SEPTEMBER = 8; // 0x8
520 
521     public static final int SHORT = 1; // 0x1
522 
523     public static final int SHORT_FORMAT = 1; // 0x1
524 
525     public static final int SHORT_STANDALONE = 32769; // 0x8001
526 
527     static final int STANDALONE_MASK = 32768; // 0x8000
528 
529     public static final int SUNDAY = 1; // 0x1
530 
531     public static final int THURSDAY = 5; // 0x5
532 
533     public static final int TUESDAY = 3; // 0x3
534 
535     public static final int UNDECIMBER = 12; // 0xc
536 
537     private static final int UNSET = 0; // 0x0
538 
539     public static final int WEDNESDAY = 4; // 0x4
540 
541     public static final int WEEK_OF_MONTH = 4; // 0x4
542 
543     static final int WEEK_OF_MONTH_MASK = 16; // 0x10
544 
545     public static final int WEEK_OF_YEAR = 3; // 0x3
546 
547     static final int WEEK_OF_YEAR_MASK = 8; // 0x8
548 
549     public static final int YEAR = 1; // 0x1
550 
551     static final int YEAR_MASK = 2; // 0x2
552 
553     public static final int ZONE_OFFSET = 15; // 0xf
554 
555     static final int ZONE_OFFSET_MASK = 32768; // 0x8000
556 
557     transient boolean areAllFieldsSet;
558 
559     protected boolean areFieldsSet;
560 
561     private static final java.util.concurrent.ConcurrentMap<java.util.Locale, int[]>
562             cachedLocaleData;
563 
564     static {
565         cachedLocaleData = null;
566     }
567 
568     static final int currentSerialVersion = 1; // 0x1
569 
570     protected int[] fields;
571 
572     private int firstDayOfWeek;
573 
574     protected boolean[] isSet;
575 
576     protected boolean isTimeSet;
577 
578     private boolean lenient = true;
579 
580     private int minimalDaysInFirstWeek;
581 
582     private int nextStamp = 2; // 0x2
583 
584     private int serialVersionOnStream = 1; // 0x1
585 
586     static final long serialVersionUID = -1807547505821590642L; // 0xe6ea4d1ec8dc5b8eL
587 
588     private transient boolean sharedZone = false;
589 
590     private transient int[] stamp;
591 
592     protected long time;
593 
594     @UnsupportedAppUsage
595     private java.util.TimeZone zone;
596 
597     @SuppressWarnings({"unchecked", "deprecation", "all"})
598     private static class AvailableCalendarTypes {
599 
AvailableCalendarTypes()600         private AvailableCalendarTypes() {
601             throw new RuntimeException("Stub!");
602         }
603 
604         private static final java.util.Set<java.lang.String> SET;
605 
606         static {
607             SET = null;
608         }
609     }
610 
611     @SuppressWarnings({"unchecked", "deprecation", "all"})
612     public static class Builder {
613 
Builder()614         public Builder() {
615             throw new RuntimeException("Stub!");
616         }
617 
setInstant(long instant)618         public java.util.Calendar.Builder setInstant(long instant) {
619             throw new RuntimeException("Stub!");
620         }
621 
setInstant(java.util.Date instant)622         public java.util.Calendar.Builder setInstant(java.util.Date instant) {
623             throw new RuntimeException("Stub!");
624         }
625 
set(int field, int value)626         public java.util.Calendar.Builder set(int field, int value) {
627             throw new RuntimeException("Stub!");
628         }
629 
setFields(int... fieldValuePairs)630         public java.util.Calendar.Builder setFields(int... fieldValuePairs) {
631             throw new RuntimeException("Stub!");
632         }
633 
setDate(int year, int month, int dayOfMonth)634         public java.util.Calendar.Builder setDate(int year, int month, int dayOfMonth) {
635             throw new RuntimeException("Stub!");
636         }
637 
setTimeOfDay(int hourOfDay, int minute, int second)638         public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second) {
639             throw new RuntimeException("Stub!");
640         }
641 
setTimeOfDay( int hourOfDay, int minute, int second, int millis)642         public java.util.Calendar.Builder setTimeOfDay(
643                 int hourOfDay, int minute, int second, int millis) {
644             throw new RuntimeException("Stub!");
645         }
646 
setWeekDate(int weekYear, int weekOfYear, int dayOfWeek)647         public java.util.Calendar.Builder setWeekDate(int weekYear, int weekOfYear, int dayOfWeek) {
648             throw new RuntimeException("Stub!");
649         }
650 
setTimeZone(java.util.TimeZone zone)651         public java.util.Calendar.Builder setTimeZone(java.util.TimeZone zone) {
652             throw new RuntimeException("Stub!");
653         }
654 
setLenient(boolean lenient)655         public java.util.Calendar.Builder setLenient(boolean lenient) {
656             throw new RuntimeException("Stub!");
657         }
658 
setCalendarType(java.lang.String type)659         public java.util.Calendar.Builder setCalendarType(java.lang.String type) {
660             throw new RuntimeException("Stub!");
661         }
662 
setLocale(java.util.Locale locale)663         public java.util.Calendar.Builder setLocale(java.util.Locale locale) {
664             throw new RuntimeException("Stub!");
665         }
666 
setWeekDefinition( int firstDayOfWeek, int minimalDaysInFirstWeek)667         public java.util.Calendar.Builder setWeekDefinition(
668                 int firstDayOfWeek, int minimalDaysInFirstWeek) {
669             throw new RuntimeException("Stub!");
670         }
671 
build()672         public java.util.Calendar build() {
673             throw new RuntimeException("Stub!");
674         }
675 
allocateFields()676         private void allocateFields() {
677             throw new RuntimeException("Stub!");
678         }
679 
internalSet(int field, int value)680         private void internalSet(int field, int value) {
681             throw new RuntimeException("Stub!");
682         }
683 
isInstantSet()684         private boolean isInstantSet() {
685             throw new RuntimeException("Stub!");
686         }
687 
isSet(int index)688         private boolean isSet(int index) {
689             throw new RuntimeException("Stub!");
690         }
691 
isValidWeekParameter(int value)692         private boolean isValidWeekParameter(int value) {
693             throw new RuntimeException("Stub!");
694         }
695 
696         private static final int NFIELDS = 18; // 0x12
697 
698         private static final int WEEK_YEAR = 17; // 0x11
699 
700         private int[] fields;
701 
702         private int firstDayOfWeek;
703 
704         private long instant;
705 
706         private boolean lenient = true;
707 
708         private java.util.Locale locale;
709 
710         private int maxFieldIndex;
711 
712         private int minimalDaysInFirstWeek;
713 
714         private int nextStamp;
715 
716         private java.lang.String type;
717 
718         private java.util.TimeZone zone;
719     }
720 
721     @SuppressWarnings({"unchecked", "deprecation", "all"})
722     private static class CalendarAccessControlContext {
723 
CalendarAccessControlContext()724         private CalendarAccessControlContext() {
725             throw new RuntimeException("Stub!");
726         }
727 
728         private static final java.security.AccessControlContext INSTANCE;
729 
730         static {
731             INSTANCE = null;
732         }
733     }
734 }
735