/external/chromium/base/third_party/nspr/ |
prtime.cc | 526 int zone_offset = -1; local 730 if (zone_offset != -1) 753 zone_offset = (((((rest[0]-'0')*10) + (rest[1]-'0')) * 60) + 757 zone_offset = (((rest[0]-'0')*10) + (rest[1]-'0')) * 60; 760 zone_offset = (rest[0]-'0') * 60; 765 zone_offset *= sign; [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DataFormatFieldTest.java | 161 "ofCalendarField(Calendar.ZONE_OFFSET) returned the wrong value", 162 DateFormat.Field.ofCalendarField(Calendar.ZONE_OFFSET));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
GregorianCalendarTest.java | 561 cal.roll(Calendar.ZONE_OFFSET, true); 566 assertEquals("ZONE_OFFSET roll", 1, result); 573 assertEquals("ZONE_OFFSET roll", 1, result); 759 gc.set(GregorianCalendar.ZONE_OFFSET, -1); 760 assertEquals(-1, gc.get(GregorianCalendar.ZONE_OFFSET)); 761 gc.set(GregorianCalendar.ZONE_OFFSET, 1); 762 assertEquals(1, gc.get(GregorianCalendar.ZONE_OFFSET)); 763 gc.set(GregorianCalendar.ZONE_OFFSET, 0); 764 assertEquals(0, gc.get(GregorianCalendar.ZONE_OFFSET));
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 44 // get(Calendar.ZONE_OFFSET) returns the zone offset of the time zone passed to setTimeZone. 46 assertEquals(0, cal.get(Calendar.ZONE_OFFSET)); 49 assertEquals(25200000, cal.get(Calendar.ZONE_OFFSET));
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 105 return TimeUtils.getTimeZone(c.get(Calendar.ZONE_OFFSET) + c.get(Calendar.DST_OFFSET),
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 148 * System.out.println("ZONE_OFFSET: " 149 * + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000))); 173 * System.out.println("ZONE_OFFSET: " 174 * + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000))); // in hours 349 * if the specified field is DST_OFFSET or ZONE_OFFSET. 356 if (field < 0 || field >= ZONE_OFFSET) { 469 // Cannot add ZONE_OFFSET to time as it might overflow 571 fields[ZONE_OFFSET] = zoneOffset; [all...] |
Date.java | 324 * {@code (Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / 60000} 329 return -(cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / 60000;
|
TimeZone.java | 273 * {@link Calendar#DST_OFFSET} and {@link Calendar#ZONE_OFFSET}. Application
|
Calendar.java | 647 public static final int ZONE_OFFSET = 15; 697 "ZONE_OFFSET", "DST_OFFSET" }; 734 * ZONE_OFFSET}. [all...] |
/external/icu4c/test/intltest/ |
caltztst.cpp | 206 cal->get(Calendar::ZONE_OFFSET, status) -
|
callimts.cpp | 293 "MINUTE", "SECOND", "MILLISECOND", "ZONE_OFFSET",
|
calregts.cpp | 111 "ZONE_OFFSET", 417 logln("ZONE_OFFSET: " 418 + (Calendar::get(Calendar::ZONE_OFFSET)/(60*60*1000))); 443 logln("ZONE_OFFSET: " 444 + (Calendar::get(Calendar::ZONE_OFFSET)/(60*60*1000))); // in hours [all...] |
/external/icu4c/i18n/ |
hebrwcal.cpp | 55 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET 197 * and {@link #ZONE_OFFSET ZONE_OFFSET}. 293 * and {@link #ZONE_OFFSET ZONE_OFFSET}. Subclasses may, of course, add support for
|
cecal.cpp | 35 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET
|
indiancal.cpp | 75 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET
|
persncal.cpp | 51 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET
|
simpletz.cpp | 400 // field) with fields ZONE_OFFSET and DST_OFFSET. We can't get rid of 420 // field) with fields ZONE_OFFSET and DST_OFFSET. We can't get rid of [all...] |
islamcal.cpp | 165 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET
|
gregocal.cpp | 94 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET 124 * ZONE_OFFSET -12* -12* 12* 12* [all...] |
calendar.cpp | 601 {-12*kOneHour, -12*kOneHour, 12*kOneHour, 15*kOneHour }, // ZONE_OFFSET 623 // user sets the ZONE_OFFSET and/or DST_OFFSET fields directly. The class 639 // | Using TimeZone or user-set ZONE_OFFSET / DST_OFFSET [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 304 int offSetInMillis = date.get(Calendar.ZONE_OFFSET);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TimeUtilsTest.java | 425 return TimeUtils.getTimeZone(c.get(c.ZONE_OFFSET) + c.get(c.DST_OFFSET),
|
/external/icu4c/i18n/unicode/ |
gregocal.h | 114 * cout << "ZONE_OFFSET: " << (calendar->get( UCAL_ZONE_OFFSET, success )/(60*60*1000)) << endl; 136 * cout << "ZONE_OFFSET: " << (calendar->get( UCAL_ZONE_OFFSET, success )/(60*60*1000)) << endl; // in hours [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 585 inDate.get(Calendar.ZONE_OFFSET),
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 213 * to the {@link Calendar#ZONE_OFFSET} and {@link Calendar#DST_OFFSET}
|