Searched refs:ZONE_OFFSET (Results 1 - 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 1013 Calendar.AM_PM, Calendar.HOUR, Calendar.HOUR, Calendar.ZONE_OFFSET, 1014 Calendar.ZONE_OFFSET, 1018 Calendar.ZONE_OFFSET, 1189 int offsetMillis = calendar.get(Calendar.ZONE_OFFSET) + 1198 value = calendar.get(Calendar.ZONE_OFFSET) + calendar.get(Calendar.DST_OFFSET); 1207 value = calendar.get(Calendar.ZONE_OFFSET) 1703 calb.clear(Calendar.ZONE_OFFSET).set(Calendar.DST_OFFSET, dstAmount); 1767 calb.set(Calendar.ZONE_OFFSET, minutes * MILLIS_PER_MINUTE * sign) 2033 calb.set(Calendar.ZONE_OFFSET, 0) 2077 calb.set(Calendar.ZONE_OFFSET, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | DataFormatFieldTest.java | 161 "ofCalendarField(Calendar.ZONE_OFFSET) returned the wrong value", 162 DateFormat.Field.ofCalendarField(Calendar.ZONE_OFFSET));
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | GregorianCalendar.java | 292 * System.out.println("ZONE_OFFSET: " 293 * + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000))); 317 * System.out.println("ZONE_OFFSET: " 318 * + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000))); // in hours 432 * ZONE_OFFSET -13:00 -13:00 14:00 14:00 453 -13*ONE_HOUR, // ZONE_OFFSET (UNIX compatibility) 472 14*ONE_HOUR, // ZONE_OFFSET 491 14*ONE_HOUR, // ZONE_OFFSET 881 * <code>ZONE_OFFSET</code>, <code>DST_OFFSET</code>, or unknown, 892 if (field < 0 || field >= ZONE_OFFSET) { [all...] |
H A D | Calendar.java | 320 // user sets the ZONE_OFFSET and/or DST_OFFSET fields directly. The class 336 // | Using TimeZone or user-set ZONE_OFFSET / DST_OFFSET 552 public final static int ZONE_OFFSET = 15; field in class:Calendar 928 final static int ZONE_OFFSET_MASK = (1 << ZONE_OFFSET); 1841 if (stamp[ZONE_OFFSET] >= MINIMUM_USER_STAMP) { 2505 "HOUR_OF_DAY", "MINUTE", "SECOND", "MILLISECOND", "ZONE_OFFSET",
|
H A D | Date.java | 1175 * @see java.util.Calendar#ZONE_OFFSET 1179 * replaced by <code>-(Calendar.get(Calendar.ZONE_OFFSET) + 1187 zoneOffset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET));
|
H A D | Formatter.java | 3987 int i = t.get(Calendar.ZONE_OFFSET) + t.get(Calendar.DST_OFFSET);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | CalendarTest.java | 45 // get(Calendar.ZONE_OFFSET) returns the zone offset of the time zone passed to setTimeZone. 47 assertEquals(0, cal.get(Calendar.ZONE_OFFSET)); 50 assertEquals(25200000, cal.get(Calendar.ZONE_OFFSET));
|
H A D | GregorianCalendarTest.java | 372 assertEquals("Incorrect ZONE_OFFSET: " + description, expectedZoneOffset, cal.get(Calendar.ZONE_OFFSET));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | GregorianCalendarTest.java | 563 cal.roll(Calendar.ZONE_OFFSET, true); 568 assertEquals("ZONE_OFFSET roll", 1, result); 575 assertEquals("ZONE_OFFSET roll", 1, result);
|
Completed in 361 milliseconds