Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / util / SimpleTimeZone.h
blob311e31f32b18fab52f08f4a869d7360461e7ae6b
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_SimpleTimeZone__
5 #define __java_util_SimpleTimeZone__
7 #pragma interface
9 #include <java/util/TimeZone.h>
10 #include <gcj/array.h>
13 class java::util::SimpleTimeZone : public ::java::util::TimeZone
16 public:
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);
22 private:
23 jint checkRule(jint, jint, jint);
24 public:
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();
37 private:
38 jint getDaysInMonth(jint, jint);
39 jboolean isBefore(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
40 public:
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();
46 private:
47 void readObject(::java::io::ObjectInputStream *);
48 void writeObject(::java::io::ObjectOutputStream *);
49 jint __attribute__((aligned(__alignof__( ::java::util::TimeZone)))) rawOffset;
50 jboolean useDaylight;
51 jint dstSavings;
52 jint startYear;
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;
57 jint startMode;
58 jint startMonth;
59 jint startDay;
60 jint startDayOfWeek;
61 jint startTime;
62 jint startTimeMode;
63 jint endMonth;
64 jint endMode;
65 jint endDay;
66 jint endDayOfWeek;
67 jint endTime;
68 jint endTimeMode;
69 JArray< jbyte > * monthLength;
70 static JArray< jbyte > * monthArr;
71 jint serialVersionOnStream;
72 static const jlong serialVersionUID = -403250971215465050LL;
73 public:
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__