Searched refs:zoneOffset (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 118 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 …]
|
D | CalendarDate.java | 83 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()
|
D | LocalGregorianCalendar.java | 213 private Date adjustYear(Date ldate, long millis, int zoneOffset) { in adjustYear() argument 219 since -= zoneOffset; in adjustYear()
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 517 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 …]
|
D | GregorianCalendar.java | 1234 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 …]
|
D | Date.java | 1190 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/ |
D | LocalGregorianCalendar.java | 63 sun.util.calendar.LocalGregorianCalendar.Date ldate, long millis, int zoneOffset) { in adjustYear() argument
|
D | CalendarDate.java | 286 private int zoneOffset; field in CalendarDate
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 4000 ZoneOffset zoneOffset = ZoneOffset.ofTotalSeconds(offset); in parseOffsetBased() local 4001 context.setParsed(ZoneId.ofOffset(prefix, zoneOffset)); in parseOffsetBased()
|