Home
last modified time | relevance | path

Searched refs:zoneOffset (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DAbstractCalendar.java118 int zoneOffset = 0; in getCalendarDate() local
130 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() local
201 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()
213 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()
[all …]
DCalendarDate.java83 private int zoneOffset; field in CalendarDate
408 && 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()
DLocalGregorianCalendar.java213 private Date adjustYear(Date ldate, long millis, int zoneOffset) { in adjustYear() argument
219 since -= zoneOffset; in adjustYear()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java517 int zoneOffset = internalGet(ZONE_OFFSET) + internalGet(DST_OFFSET); in add() local
518 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() local
625 internalSet(ZONE_OFFSET, zoneOffset - saving); in roll()
1593 int zoneOffset = 0; in computeFields() local
1603 zoneOffset = ((libcore.util.ZoneInfo)tz).getOffsetsByUtcTime(time, zoneOffsets); in computeFields()
[all …]
DGregorianCalendar.java1234 int zoneOffset = d.getZoneOffset(); in roll() local
1236 internalSet(ZONE_OFFSET, zoneOffset - saving); in roll()
2342 int zoneOffset = 0; in computeFields() local
2353 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 …]
DDate.java1190 int zoneOffset; in getTimezoneOffset() local
1194 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()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DLocalGregorianCalendar.java63 sun.util.calendar.LocalGregorianCalendar.Date ldate, long millis, int zoneOffset) { in adjustYear() argument
DCalendarDate.java286 private int zoneOffset; field in CalendarDate