2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_SimpleTimeZone__
5 #define __java_util_SimpleTimeZone__
9 #include <java/util/TimeZone.h>
10 #include <gcj/array.h>
13 class java::util::SimpleTimeZone
: public ::java::util::TimeZone
17 SimpleTimeZone(jint
, ::java::lang::String
*);
18 SimpleTimeZone(jint
, ::java::lang::String
*, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
);
19 SimpleTimeZone(jint
, ::java::lang::String
*, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
);
20 SimpleTimeZone(jint
, ::java::lang::String
*, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
);
21 virtual void setStartYear(jint
);
23 jint
checkRule(jint
, jint
, jint
);
25 virtual void setStartRule(jint
, jint
, jint
, jint
);
26 virtual void setStartRule(jint
, jint
, jint
, jint
, jboolean
);
27 virtual void setStartRule(jint
, jint
, jint
);
28 virtual void setEndRule(jint
, jint
, jint
, jint
);
29 virtual void setEndRule(jint
, jint
, jint
, jint
, jboolean
);
30 virtual void setEndRule(jint
, jint
, jint
);
31 virtual jint
getOffset(jint
, jint
, jint
, jint
, jint
, jint
);
32 virtual jint
getRawOffset();
33 virtual void setRawOffset(jint
);
34 virtual jint
getDSTSavings();
35 virtual void setDSTSavings(jint
);
36 virtual jboolean
useDaylightTime();
38 jint
getDaysInMonth(jint
, jint
);
39 jboolean
isBefore(jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
);
41 virtual jboolean
inDaylightTime(::java::util::Date
*);
42 virtual jint
hashCode();
43 virtual jboolean
equals(::java::lang::Object
*);
44 virtual jboolean
hasSameRules(::java::util::TimeZone
*);
45 virtual ::java::lang::String
* toString();
47 void readObject(::java::io::ObjectInputStream
*);
48 void writeObject(::java::io::ObjectOutputStream
*);
49 jint
__attribute__((aligned(__alignof__( ::java::util::TimeZone
)))) rawOffset
;
53 static const jint DOM_MODE
= 1;
54 static const jint DOW_IN_MONTH_MODE
= 2;
55 static const jint DOW_GE_DOM_MODE
= 3;
56 static const jint DOW_LE_DOM_MODE
= 4;
69 JArray
< jbyte
> * monthLength
;
70 static JArray
< jbyte
> * monthArr
;
71 jint serialVersionOnStream
;
72 static const jlong serialVersionUID
= -403250971215465050LL;
74 static const jint STANDARD_TIME
= 1;
75 static const jint WALL_TIME
= 0;
76 static const jint UTC_TIME
= 2;
77 static ::java::lang::Class
class$
;
80 #endif // __java_util_SimpleTimeZone__