Searched refs:ZONE_OFFSET (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1030 Calendar.AM_PM, Calendar.HOUR, Calendar.HOUR, Calendar.ZONE_OFFSET, 1031 Calendar.ZONE_OFFSET, 1035 Calendar.ZONE_OFFSET, 1200 int offsetMillis = calendar.get(Calendar.ZONE_OFFSET) + in subFormat() 1209 value = calendar.get(Calendar.ZONE_OFFSET) + calendar.get(Calendar.DST_OFFSET); in subFormat() 1218 value = calendar.get(Calendar.ZONE_OFFSET) in subFormat() 1714 calb.clear(Calendar.ZONE_OFFSET).set(Calendar.DST_OFFSET, dstAmount); in subParseZoneString() 1778 calb.set(Calendar.ZONE_OFFSET, minutes * MILLIS_PER_MINUTE * sign) in subParseNumericZone() 2044 calb.set(Calendar.ZONE_OFFSET, 0) in subParse() 2088 calb.set(Calendar.ZONE_OFFSET, 0).set(Calendar.DST_OFFSET, 0); in subParse()
|
/libcore/ojluni/src/main/java/java/util/ |
D | GregorianCalendar.java | 892 if (field < 0 || field >= ZONE_OFFSET) { 1138 if (field < 0 || field >= ZONE_OFFSET) { in roll() 1199 internalSet(ZONE_OFFSET, zoneOffset - saving); in roll() 1944 (internalGet(ZONE_OFFSET) + internalGet(DST_OFFSET)); in getYearOffsetInMillis() 2291 if (isFieldSet(tzMask, ZONE_OFFSET)) { in computeFields() 2292 zoneOffsets[0] = internalGet(ZONE_OFFSET); in computeFields() 2406 internalSet(ZONE_OFFSET, zoneOffsets[0]); in computeFields() 2825 int gmtOffset = isFieldSet(tzMask, ZONE_OFFSET) ? in adjustForZoneAndDaylightSavingsTime() 2826 internalGet(ZONE_OFFSET) : zone.getRawOffset(); in adjustForZoneAndDaylightSavingsTime() 2853 if (isFieldSet(tzMask, ZONE_OFFSET)) { in adjustForZoneAndDaylightSavingsTime() [all …]
|
D | Calendar.java | 552 public final static int ZONE_OFFSET = 15; field in Calendar 928 final static int ZONE_OFFSET_MASK = (1 << ZONE_OFFSET); 1841 if (stamp[ZONE_OFFSET] >= MINIMUM_USER_STAMP) { in selectFields()
|
D | Date.java | 1187 zoneOffset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)); in getTimezoneOffset()
|
D | Formatter.java | 3987 int i = t.get(Calendar.ZONE_OFFSET) + t.get(Calendar.DST_OFFSET);
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 47 assertEquals(0, cal.get(Calendar.ZONE_OFFSET)); in test_setTimeZone() 50 assertEquals(25200000, cal.get(Calendar.ZONE_OFFSET)); in test_setTimeZone()
|
D | GregorianCalendarTest.java | 372 …Equals("Incorrect ZONE_OFFSET: " + description, expectedZoneOffset, cal.get(Calendar.ZONE_OFFSET)); in checkDstFields()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 162 DateFormat.Field.ofCalendarField(Calendar.ZONE_OFFSET)); in test_ofCalendarFieldI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 563 cal.roll(Calendar.ZONE_OFFSET, true); in test_rollIZ()
|