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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_util_Calendar__
#define __java_util_Calendar__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
class java::util::Calendar : public ::java::lang::Object
{
static ::java::util::ResourceBundle * getBundle(::java::util::Locale *);
public: // actually protected
Calendar();
Calendar(::java::util::TimeZone *, ::java::util::Locale *);
public:
static ::java::util::Calendar * getInstance();
static ::java::util::Calendar * getInstance(::java::util::TimeZone *);
static ::java::util::Calendar * getInstance(::java::util::Locale *);
static ::java::util::Calendar * getInstance(::java::util::TimeZone *, ::java::util::Locale *);
static JArray< ::java::util::Locale * > * getAvailableLocales();
public: // actually protected
virtual void computeTime() = 0;
virtual void computeFields() = 0;
public:
virtual ::java::util::Date * getTime();
virtual void setTime(::java::util::Date *);
virtual jlong getTimeInMillis();
virtual void setTimeInMillis(jlong);
virtual jint get(jint);
public: // actually protected
virtual jint internalGet(jint);
public:
virtual void set(jint, jint);
virtual void set(jint, jint, jint);
virtual void set(jint, jint, jint, jint, jint);
virtual void set(jint, jint, jint, jint, jint, jint);
virtual void clear();
virtual void clear(jint);
virtual jboolean isSet(jint);
public: // actually protected
virtual void complete();
public:
virtual jboolean equals(::java::lang::Object *);
virtual jint hashCode();
virtual jboolean before(::java::lang::Object *);
virtual jboolean after(::java::lang::Object *);
virtual void add(jint, jint) = 0;
virtual void roll(jint, jboolean) = 0;
virtual void roll(jint, jint);
virtual void setTimeZone(::java::util::TimeZone *);
virtual ::java::util::TimeZone * getTimeZone();
virtual void setLenient(jboolean);
virtual jboolean isLenient();
virtual void setFirstDayOfWeek(jint);
virtual jint getFirstDayOfWeek();
virtual void setMinimalDaysInFirstWeek(jint);
virtual jint getMinimalDaysInFirstWeek();
virtual jint getMinimum(jint) = 0;
virtual jint getMaximum(jint) = 0;
virtual jint getGreatestMinimum(jint) = 0;
virtual jint getLeastMaximum(jint) = 0;
virtual jint getActualMinimum(jint);
virtual jint getActualMaximum(jint);
virtual jint Calendar$compareTo(::java::util::Calendar *);
virtual ::java::lang::Object * clone();
virtual ::java::lang::String * toString();
private:
void writeObject(::java::io::ObjectOutputStream *);
void readObject(::java::io::ObjectInputStream *);
public:
virtual ::java::lang::String * getDisplayName(jint, jint, ::java::util::Locale *);
virtual ::java::util::Map * getDisplayNames(jint, jint, ::java::util::Locale *);
virtual jint compareTo(::java::lang::Object *);
static const jint ERA = 0;
static const jint YEAR = 1;
static const jint MONTH = 2;
static const jint WEEK_OF_YEAR = 3;
static const jint WEEK_OF_MONTH = 4;
static const jint DATE = 5;
static const jint DAY_OF_MONTH = 5;
static const jint DAY_OF_YEAR = 6;
static const jint DAY_OF_WEEK = 7;
static const jint DAY_OF_WEEK_IN_MONTH = 8;
static const jint AM_PM = 9;
static const jint HOUR = 10;
static const jint HOUR_OF_DAY = 11;
static const jint MINUTE = 12;
static const jint SECOND = 13;
static const jint MILLISECOND = 14;
static const jint ZONE_OFFSET = 15;
static const jint DST_OFFSET = 16;
static const jint FIELD_COUNT = 17;
static const jint SUNDAY = 1;
static const jint MONDAY = 2;
static const jint TUESDAY = 3;
static const jint WEDNESDAY = 4;
static const jint THURSDAY = 5;
static const jint FRIDAY = 6;
static const jint SATURDAY = 7;
static const jint JANUARY = 0;
static const jint FEBRUARY = 1;
static const jint MARCH = 2;
static const jint APRIL = 3;
static const jint MAY = 4;
static const jint JUNE = 5;
static const jint JULY = 6;
static const jint AUGUST = 7;
static const jint SEPTEMBER = 8;
static const jint OCTOBER = 9;
static const jint NOVEMBER = 10;
static const jint DECEMBER = 11;
static const jint UNDECIMBER = 12;
static const jint AM = 0;
static const jint PM = 1;
static const jint ALL_STYLES = 0;
static const jint SHORT = 1;
static const jint LONG = 2;
public: // actually protected
JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fields;
JArray< jboolean > * isSet__;
jlong time;
jboolean isTimeSet;
jboolean areFieldsSet;
private:
::java::util::TimeZone * zone;
static ::java::lang::String * calendarClassName;
jboolean lenient;
jint firstDayOfWeek;
jint minimalDaysInFirstWeek;
jboolean explicitDSTOffset;
jint serialVersionOnStream;
public: // actually package-private
static const jlong serialVersionUID = -1807547505821590642LL;
private:
static ::java::lang::String * bundleName;
static ::java::util::Properties * properties;
static ::java::util::HashMap * cache;
static JArray< ::java::lang::Class * > * ctorArgTypes;
static JArray< ::java::lang::String * > * fieldNames;
public:
static ::java::lang::Class class$;
};
#endif // __java_util_Calendar__
|