/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/chromium_org/base/third_party/nspr/ |
prtime.cc | 531 int zone_offset = -1; local 735 if (zone_offset != -1) 758 zone_offset = (((((rest[0]-'0')*10) + (rest[1]-'0')) * 60) + 762 zone_offset = (((rest[0]-'0')*10) + (rest[1]-'0')) * 60; 765 zone_offset = (rest[0]-'0') * 60; 770 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 | 321 * @deprecated Use {@code (Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / 60000} instead. 326 return -(cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / 60000;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
caltztst.cpp | 206 cal->get(Calendar::ZONE_OFFSET, status) -
|
callimts.cpp | 293 "MINUTE", "SECOND", "MILLISECOND", "ZONE_OFFSET",
|
/external/icu4c/test/intltest/ |
caltztst.cpp | 206 cal->get(Calendar::ZONE_OFFSET, status) -
|
callimts.cpp | 294 "MINUTE", "SECOND", "MILLISECOND", "ZONE_OFFSET",
|
/external/chromium_org/third_party/icu/source/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 | 225 {/*N/A*/-1,/*N/A*/-1,/*N/A*/-1,/*N/A*/-1}, // ZONE_OFFSET
|
/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
|
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 228 long utcMs = c.get(Calendar.MILLISECOND) + c.get(Calendar.ZONE_OFFSET);
|
/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/chromium_org/base/process/ |
memory_mac.mm | 235 mach_vm_size_t zone_offset = reinterpret_cast<mach_vm_size_t>(default_zone) - 237 CHECK(zone_offset + sizeof(ChromeMallocZone) <= *reprotection_length);
|
/external/chromium_org/third_party/icu/source/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...] |