/libcore/luni/src/test/java/tests/api/java/util/ |
SimpleTimeZoneTest.java | 57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 114 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 117 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 397 * java.util.SimpleTimeZone#inDaylightTime(java.util.Date) 401 // java.util.SimpleTimeZone.inDaylightTime(java.util.Date) 407 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc 411 .inDaylightTime(gc.getTime()))); 415 .inDaylightTime(gc.getTime()))); 418 .inDaylightTime(date)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleTimeZoneTest.java | 57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 78 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 81 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 256 * @tests java.util.SimpleTimeZone#inDaylightTime(java.util.Date) 260 // java.util.SimpleTimeZone.inDaylightTime(java.util.Date) 263 assertFalse("Returned incorrect daylight value1", zone.inDaylightTime(gc 266 assertFalse("Returned incorrect daylight value1", zone.inDaylightTime(gc 271 .inDaylightTime(gc.getTime()))); 274 .inDaylightTime(date)) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tzbdtest.cpp | 122 if (tz->inDaylightTime(d, status) != startsInDST) { 123 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false")); 126 if (failure(status, "TimeZone::inDaylightTime", TRUE)) return; 127 if (tz->inDaylightTime(max, status) == startsInDST) { 128 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true")); 131 if (failure(status, "TimeZone::inDaylightTime")) return; 134 UBool isIn = tz->inDaylightTime(mid, status); 135 if (failure(status, "TimeZone::inDaylightTime")) return; 194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) 195 logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false")) [all...] |
tzregts.cpp | 89 UBool startsInDST = tz.inDaylightTime(min, status); 90 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 91 if (tz.inDaylightTime(max, status) == startsInDST) { 92 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); 95 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 98 if (tz.inDaylightTime(mid, status) == startsInDST) { 103 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 110 UBool startsInDST = tz.inDaylightTime(min, status); 111 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 113 if (tz.inDaylightTime(min, status) != startsInDST) [all...] |
tzbdtest.h | 51 * Given a date, a TimeZone, and expected values for inDaylightTime,
|
tztest.cpp | 210 if (zone->inDaylightTime(marchOne - 1000, status) || 211 !zone->inDaylightTime(marchOne, status)) 213 if (!zone->inDaylightTime(julyOne - 1000, status) || 214 zone->inDaylightTime(julyOne, status)) 218 if (zone->inDaylightTime(marchOne, status) || 219 zone->inDaylightTime(julyOne - 1000, status)) 232 UBool startsInDST = tz.inDaylightTime(min, ec); 233 if (failure(ec, "TimeZone::inDaylightTime")) return; 234 if (tz.inDaylightTime(max, ec) == startsInDST) { 235 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE") [all...] |
dtfmtrtts.cpp | 408 else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDaylightTime") && 413 fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) 423 && (fmt->getTimeZone().inDaylightTime(d[0], status) 424 == fmt->getTimeZone().inDaylightTime(d[dmatch], status)
|
tzrulets.cpp | 311 dst = rbtz1->inDaylightTime(time, status); 313 errln("FAIL: inDaylightTime failed."); 350 dst = rbtz1->inDaylightTime(time, status); 352 errln("FAIL: inDaylightTime failed."); 583 // Check inDaylightTime 584 if (rbtz->inDaylightTime(times[i], status) != ny->inDaylightTime(times[i], status)) { 588 errln("FAIL: inDaylightTime failed"); [all...] |
/external/icu4c/test/intltest/ |
tzbdtest.cpp | 122 if (tz->inDaylightTime(d, status) != startsInDST) { 123 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false")); 126 if (failure(status, "TimeZone::inDaylightTime", TRUE)) return; 127 if (tz->inDaylightTime(max, status) == startsInDST) { 128 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true")); 131 if (failure(status, "TimeZone::inDaylightTime")) return; 134 UBool isIn = tz->inDaylightTime(mid, status); 135 if (failure(status, "TimeZone::inDaylightTime")) return; 194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) 195 logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false")) [all...] |
tzregts.cpp | 89 UBool startsInDST = tz.inDaylightTime(min, status); 90 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 91 if (tz.inDaylightTime(max, status) == startsInDST) { 92 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); 95 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 98 if (tz.inDaylightTime(mid, status) == startsInDST) { 103 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 110 UBool startsInDST = tz.inDaylightTime(min, status); 111 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 113 if (tz.inDaylightTime(min, status) != startsInDST) [all...] |
tzbdtest.h | 51 * Given a date, a TimeZone, and expected values for inDaylightTime,
|
tztest.cpp | 219 if (zone->inDaylightTime(marchOne - 1000, status) || 220 !zone->inDaylightTime(marchOne, status)) 222 if (!zone->inDaylightTime(julyOne - 1000, status) || 223 zone->inDaylightTime(julyOne, status)) 227 if (zone->inDaylightTime(marchOne, status) || 228 zone->inDaylightTime(julyOne - 1000, status)) 241 UBool startsInDST = tz.inDaylightTime(min, ec); 242 if (failure(ec, "TimeZone::inDaylightTime")) return; 243 if (tz.inDaylightTime(max, ec) == startsInDST) { 244 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE") [all...] |
dtfmtrtts.cpp | 408 else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDaylightTime") && 413 fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) 423 && (fmt->getTimeZone().inDaylightTime(d[0], status) 424 == fmt->getTimeZone().inDaylightTime(d[dmatch], status)
|
tzrulets.cpp | 312 dst = rbtz1->inDaylightTime(time, status); 314 errln("FAIL: inDaylightTime failed."); 351 dst = rbtz1->inDaylightTime(time, status); 353 errln("FAIL: inDaylightTime failed."); 584 // Check inDaylightTime 585 if (rbtz->inDaylightTime(times[i], status) != ny->inDaylightTime(times[i], status)) { 589 errln("FAIL: inDaylightTime failed"); [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TimeZone.java | 51 public boolean inDaylightTime(java.util.Date p1) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 44 stz.inDaylightTime(new Date()); 66 assertFalse(tz.inDaylightTime(date)); 72 assertFalse(tz.inDaylightTime(date)); 119 assertFalse(tz.inDaylightTime(new Date(epochSeconds * 1000))); 128 assertFalse(tz.inDaylightTime(new Date(Integer.MIN_VALUE))); 129 assertFalse(tz.inDaylightTime(new Date(0))); 130 assertFalse(tz.inDaylightTime(new Date(Integer.MAX_VALUE)));
|
OldTimeZoneTest.java | 40 public boolean inDaylightTime(Date date) {
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 48 * The {@link #useDaylightTime} method will always return true, and {@link #inDaylightTime} 53 * point in time is {@link #inDaylightTime in daylight time}) the applicable 56 * The {@link #useDaylightTime} and {@link #inDaylightTime} methods both always return false, 256 * offset: you need to call {@code inDaylightTime} for the specific time 280 if (inDaylightTime(new Date(time))) { 409 public abstract boolean inDaylightTime(Date time); 454 * <p>Use {@link #inDaylightTime} to find out whether daylight savings is
|
/external/chromium_org/third_party/icu/source/i18n/ |
cecal.h | 86 virtual UBool inDaylightTime(UErrorCode&) const;
|
vzone.cpp | 152 return ((VTimeZone*)zone)->VTimeZone::inDaylightTime(date, status);
|
/external/icu4c/i18n/ |
cecal.h | 86 virtual UBool inDaylightTime(UErrorCode&) const;
|
vzone.cpp | 152 return ((VTimeZone*)zone)->VTimeZone::inDaylightTime(date, status);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
rbtz.h | 236 * @deprecated ICU 2.4. Use Calendar::inDaylightTime() instead. 238 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const;
|
/external/icu4c/i18n/unicode/ |
rbtz.h | 236 * @deprecated ICU 2.4. Use Calendar::inDaylightTime() instead. 238 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const;
|
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 73 boolean currentDst = current.inDaylightTime(d); 93 tz.inDaylightTime(d) == dst) {
|