Lines Matching refs:offsets

43  * java.util.TimeZone TimeZone} that represents GMT offsets and
99 * Negative offsets are to the west of Greenwich. To obtain local
131 * This array describes transitions of GMT offsets of this time
140 * <li>The next 4-bit field is an index value to {@link #offsets
141 * offsets[]} for the amount of daylight saving at the
145 * {@link #offsets offsets[]} for <em>total</em> GMT offset at the
149 * never changed any GMT offsets in the past, this value is null.
160 private int[] offsets;
212 * @param offsets offset value table
222 int[] offsets,
230 this.offsets = offsets;
247 public int getOffsets(long utc, int[] offsets) {
248 return getOffsets(utc, offsets, UTC_TIME);
251 public int getOffsetsByStandard(long standard, int[] offsets) {
252 return getOffsets(standard, offsets, STANDARD_TIME);
255 public int getOffsetsByWall(long wall, int[] offsets) {
256 return getOffsets(wall, offsets, WALL_TIME);
259 private int getOffsets(long date, int[] offsets, int type) {
263 if (offsets != null) {
264 offsets[0] = offset;
265 offsets[1] = 0;
277 if (offsets != null) {
278 offsets[0] = offset;
279 offsets[1] = 0;
286 int offset = this.offsets[(int)(val & OFFSET_MASK)] + rawOffsetDiff;
287 if (offsets != null) {
289 int save = (dst == 0) ? 0 : this.offsets[dst];
290 offsets[0] = offset - save;
291 offsets[1] = save;
312 if (offsets != null) {
313 offsets[0] = rawoffset;
314 offsets[1] = dstoffset;
319 if (offsets != null) {
320 offsets[0] = offset;
321 offsets[1] = 0;
335 midVal += offsets[(int)(val & OFFSET_MASK)]; // wall time
340 midVal -= offsets[dstIndex]; // make it standard time
446 int[] offsets = new int[2];
447 getOffsets(System.currentTimeMillis(), offsets, UTC_TIME);
448 return offsets[0];
549 // int offset = this.offsets[(int)(val & OFFSET_MASK)] + rawOffsetDiff;