Searched refs:zoneOffset (Results 1 – 8 of 8) sorted by relevance
118 int zoneOffset = 0; in getCalendarDate() local130 zoneOffset = ((libcore.util.ZoneInfo) zi).getOffsetsByUtcTime(millis, offsets); in getCalendarDate()133 zoneOffset = zi.getOffset(millis); in getCalendarDate()135 offsets[1] = zoneOffset - offsets[0]; in getCalendarDate()144 days = zoneOffset / DAY_IN_MILLIS; in getCalendarDate()145 ms = zoneOffset % DAY_IN_MILLIS; in getCalendarDate()148 date.setZoneOffset(zoneOffset); in getCalendarDate()182 int zoneOffset = 0; in getTime() local201 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()213 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()[all …]
83 private int zoneOffset; field in CalendarDate408 && zoneOffset == that.zoneOffset); in equals()416 hash -= zoneOffset; in hashCode()460 if (zoneOffset == 0) { in toString()462 } else if (zoneOffset != FIELD_UNDEFINED) { in toString()465 if (zoneOffset > 0) { in toString()466 offset = zoneOffset; in toString()469 offset = -zoneOffset; in toString()491 return zoneOffset; in getZoneOffset()495 zoneOffset = offset; in setZoneOffset()
213 private Date adjustYear(Date ldate, long millis, int zoneOffset) { in adjustYear() argument219 since -= zoneOffset; in adjustYear()
517 int zoneOffset = internalGet(ZONE_OFFSET) + internalGet(DST_OFFSET); in add() local518 setTimeInMillis((fd - EPOCH_OFFSET) * ONE_DAY + timeOfDay - zoneOffset); in add()519 zoneOffset -= internalGet(ZONE_OFFSET) + internalGet(DST_OFFSET); in add()521 if (zoneOffset != 0) { in add()522 setTimeInMillis(time + zoneOffset); in add()527 setTimeInMillis(time - zoneOffset); in add()623 int zoneOffset = d.getZoneOffset(); in roll() local625 internalSet(ZONE_OFFSET, zoneOffset - saving); in roll()1593 int zoneOffset = 0; in computeFields() local1603 zoneOffset = ((libcore.util.ZoneInfo)tz).getOffsetsByUtcTime(time, zoneOffsets); in computeFields()[all …]
1234 int zoneOffset = d.getZoneOffset(); in roll() local1236 internalSet(ZONE_OFFSET, zoneOffset - saving); in roll()2342 int zoneOffset = 0; in computeFields() local2353 zoneOffset = zoneInfo.getOffsetsByUtcTime(time, zoneOffsets); in computeFields()2356 zoneOffset = tz.getOffset(time); in computeFields()2358 zoneOffsets[1] = zoneOffset - zoneOffsets[0]; in computeFields()2368 zoneOffset = zoneOffsets[0] + zoneOffsets[1]; in computeFields()2374 long fixedDate = zoneOffset / ONE_DAY; in computeFields()2375 int timeOfDay = zoneOffset % (int)ONE_DAY; in computeFields()2890 int zoneOffset = 0; in adjustForZoneAndDaylightSavingsTime() local[all …]
1190 int zoneOffset; in getTimezoneOffset() local1194 zoneOffset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)); in getTimezoneOffset()1197 zoneOffset = cdate.getZoneOffset(); in getTimezoneOffset()1199 return -zoneOffset/60000; // convert to minutes in getTimezoneOffset()
63 sun.util.calendar.LocalGregorianCalendar.Date ldate, long millis, int zoneOffset) { in adjustYear() argument
286 private int zoneOffset; field in CalendarDate