Home
last modified time | relevance | path

Searched refs:ZONE_OFFSET (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java365 if (field < 0 || field >= ZONE_OFFSET) { in add()
480 millis += fields[ZONE_OFFSET]; in fullFieldsCalc()
490 int dayOfYear = computeYearAndDay(days, time + fields[ZONE_OFFSET]); in fullFieldsCalc()
492 if (fields[YEAR] == changeYear && gregorianCutover <= time + fields[ZONE_OFFSET]){ in fullFieldsCalc()
506 dstOffset -= fields[ZONE_OFFSET]; in fullFieldsCalc()
520 dayOfYear = computeYearAndDay(days, time - fields[ZONE_OFFSET] in fullFieldsCalc()
523 … if(fields[YEAR] == changeYear && gregorianCutover <= time - fields[ZONE_OFFSET] + dstOffset){ in fullFieldsCalc()
597 fields[ZONE_OFFSET] = zoneOffset; in computeFields()
1148 if (field < 0 || field >= ZONE_OFFSET) { in roll()
DCalendar.java652 public static final int ZONE_OFFSET = 15; field in Calendar
DDate.java326 return -(cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / 60000; in getTimezoneOffset()
DFormatter.java1959 long offset = calendar.get(Calendar.ZONE_OFFSET) + calendar.get(Calendar.DST_OFFSET); in appendT()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java47 assertEquals(0, cal.get(Calendar.ZONE_OFFSET)); in test_setTimeZone()
50 assertEquals(25200000, cal.get(Calendar.ZONE_OFFSET)); in test_setTimeZone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java162 DateFormat.Field.ofCalendarField(Calendar.ZONE_OFFSET)); in test_ofCalendarFieldI()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java232 long utcMs = c.getTimeInMillis() + c.get(Calendar.ZONE_OFFSET) + c.get(Calendar.DST_OFFSET); in julianDay()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java555 cal.roll(Calendar.ZONE_OFFSET, true); in test_rollIZ()
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java756 int offsetMillis = calendar.get(Calendar.ZONE_OFFSET) + calendar.get(Calendar.DST_OFFSET);