1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package net.wotonomy.foundation;
23
24 import java.io.ObjectStreamException;
25 import java.io.Serializable;
26 import java.util.Date;
27 import java.util.Locale;
28 import java.util.TimeZone;
29 /***
30 * A channel to the database, representing a communication
31 * stream within a context of an adaptor.
32 *
33 * @author cgruber@israfil.net
34 * @author $Author: cgruber $
35 * @version $Revision: 892 $
36 */
37
38 public class NSTimeZone extends TimeZone
39 implements Cloneable, Serializable, NSCoding {
40 protected static class __NSTZPeriodComparator extends NSComparator {
41
42 protected boolean _ascending = false;
43
44 public int compare(Object obj, Object obj1) throws NSComparator.ComparisonException {
45 throw new UnsupportedOperationException("Not Yet Implemented");
46 }
47
48 public __NSTZPeriodComparator() {
49 throw new UnsupportedOperationException("Not Yet Implemented");
50 }
51
52 public __NSTZPeriodComparator(boolean flag) {
53 throw new UnsupportedOperationException("Not Yet Implemented");
54 }
55 }
56
57 protected static class __NSTZPeriod {
58
59 protected String _abbreviation = null;
60 protected int _isdst = 0;
61 protected int _offset = 0;
62 protected double _startTime = 0;
63
64 protected boolean before(__NSTZPeriod _p_nstzperiod) {
65 throw new UnsupportedOperationException("Not Yet Implemented");
66 }
67
68 protected boolean equals(__NSTZPeriod _p_nstzperiod) {
69 throw new UnsupportedOperationException("Not Yet Implemented");
70 }
71
72 protected __NSTZPeriod() {
73 throw new UnsupportedOperationException("Not Yet Implemented");
74 }
75 }
76
77
78 public static final String SystemTimeZoneDidChangeNotification = "NSSystemTimeZoneDidChangeNotification";
79 protected NSData _data = null;
80 protected transient int _hashCode = 0;
81 protected transient boolean _initialized = false;
82 protected transient TimeZone _jdkTimeZone = null;
83 protected String _name = null;
84 protected transient int _rawOffset = 0;
85 protected transient NSMutableArray _timeZonePeriods = null;
86 protected transient int _timeZonePeriodsCount = 0;
87 protected transient boolean _useDaylightTime = false;
88
89 public NSTimeZone() {
90 throw new UnsupportedOperationException("Not Yet Implemented");
91 }
92
93 protected NSTimeZone(String s, NSData nsdata) {
94 throw new UnsupportedOperationException("Not Yet Implemented");
95 }
96
97 public static NSDictionary abbreviationDictionary() {
98 throw new UnsupportedOperationException("Not Yet Implemented");
99 }
100
101 public Class classForCoder() {
102 return getClass();
103 }
104
105 public Object clone() {
106 throw new UnsupportedOperationException("Not Yet Implemented");
107 }
108
109 public static Object decodeObject(NSCoder nscoder) {
110 throw new UnsupportedOperationException("Not Yet Implemented");
111 }
112
113 public void encodeWithCoder(NSCoder nscoder) {
114 throw new UnsupportedOperationException("Not Yet Implemented");
115 }
116
117 public static synchronized NSTimeZone defaultTimeZone() {
118 throw new UnsupportedOperationException("Not Yet Implemented");
119 }
120
121 public static String[] getAvailableIDs() {
122 throw new UnsupportedOperationException("Not Yet Implemented");
123 }
124
125 public static TimeZone getDefault() {
126 throw new UnsupportedOperationException("Not Yet Implemented");
127 }
128
129 public static NSArray knownTimeZoneNames() {
130 throw new UnsupportedOperationException("Not Yet Implemented");
131 }
132
133 public static NSTimeZone localTimeZone() {
134 throw new UnsupportedOperationException("Not Yet Implemented");
135 }
136
137 public static synchronized void resetSystemTimeZone() {
138 throw new UnsupportedOperationException("Not Yet Implemented");
139 }
140
141 public static synchronized void setDefault(TimeZone timezone) {
142 throw new UnsupportedOperationException("Not Yet Implemented");
143 }
144
145 public static synchronized void setDefaultTimeZone(NSTimeZone nstimezone) {
146 throw new UnsupportedOperationException("Not Yet Implemented");
147 }
148
149 public void setID(String s) {
150 throw new IllegalStateException(getClass().getName() + " is immutable.");
151 }
152
153 public void setRawOffset(int i) {
154 throw new IllegalStateException(getClass().getName() + " is immutable.");
155 }
156
157 public static synchronized NSTimeZone systemTimeZone() {
158 throw new UnsupportedOperationException("Not Yet Implemented");
159 }
160
161 public static synchronized NSTimeZone timeZoneForSecondsFromGMT(int i) {
162 throw new UnsupportedOperationException("Not Yet Implemented");
163 }
164
165 public static synchronized NSTimeZone timeZoneWithName(String s, boolean flag) {
166 throw new UnsupportedOperationException("Not Yet Implemented");
167 }
168
169 public static synchronized NSTimeZone timeZoneWithNameAndData(String s, NSData nsdata) {
170 throw new UnsupportedOperationException("Not Yet Implemented");
171 }
172
173 public static NSTimeZone _nstimeZoneWithTimeZone(TimeZone timezone) {
174 throw new UnsupportedOperationException("Not Yet Implemented");
175 }
176
177 public String abbreviation() {
178 throw new UnsupportedOperationException("Not Yet Implemented");
179 }
180
181 public String abbreviationForTimestamp(NSTimestamp nstimestamp) {
182 throw new UnsupportedOperationException("Not Yet Implemented");
183 }
184
185 public NSData data() {
186 throw new UnsupportedOperationException("Not Yet Implemented");
187 }
188
189 public boolean equals(Object obj) {
190 throw new UnsupportedOperationException("Not Yet Implemented");
191 }
192
193 public String getDisplayName(boolean flag, int i, Locale locale) {
194 throw new UnsupportedOperationException("Not Yet Implemented");
195 }
196
197 public String getID() {
198 throw new UnsupportedOperationException("Not Yet Implemented");
199 }
200
201 public int getOffset(int i, int j, int k, int l, int i1, int j1) {
202 throw new UnsupportedOperationException("Not Yet Implemented");
203 }
204
205 public int getRawOffset() {
206 throw new UnsupportedOperationException("Not Yet Implemented");
207 }
208
209 public synchronized int hashCode() {
210 throw new UnsupportedOperationException("Not Yet Implemented");
211 }
212
213 public boolean hasSameRules(TimeZone timezone) {
214 throw new UnsupportedOperationException("Not Yet Implemented");
215 }
216
217 public boolean inDaylightTime(Date date) {
218 throw new UnsupportedOperationException("Not Yet Implemented");
219 }
220
221 public boolean isDaylightSavingTime() {
222 throw new UnsupportedOperationException("Not Yet Implemented");
223 }
224
225 public boolean isDaylightSavingTimeForTimestamp(NSTimestamp nstimestamp) {
226 throw new UnsupportedOperationException("Not Yet Implemented");
227 }
228
229 public boolean isEqualToTimeZone(NSTimeZone nstimezone) {
230 throw new UnsupportedOperationException("Not Yet Implemented");
231 }
232
233 public String name() {
234 throw new UnsupportedOperationException("Not Yet Implemented");
235 }
236
237 public int secondsFromGMT() {
238 throw new UnsupportedOperationException("Not Yet Implemented");
239 }
240
241 public int secondsFromGMTForTimestamp(NSTimestamp nstimestamp) {
242 throw new UnsupportedOperationException("Not Yet Implemented");
243 }
244
245 public String toString() {
246 throw new UnsupportedOperationException("Not Yet Implemented");
247 }
248
249 public boolean useDaylightTime() {
250 throw new UnsupportedOperationException("Not Yet Implemented");
251 }
252
253 protected Object readResolve() throws ObjectStreamException {
254 throw new UnsupportedOperationException("Not Yet Implemented");
255 }
256
257 }
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272