/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...] |
/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/support/src/test/java/tests/support/ |
Support_TimeZone.java | 51 public boolean inDaylightTime(java.util.Date p1) {
|
/external/icu4c/i18n/ |
cecal.h | 86 virtual UBool inDaylightTime(UErrorCode&) const;
|
indiancal.h | 300 virtual UBool inDaylightTime(UErrorCode& status) const;
|
persncal.h | 293 virtual UBool inDaylightTime(UErrorCode& status) const;
|
cecal.cpp | 88 CECalendar::inDaylightTime(UErrorCode& status) const
|
chnsecal.h | 220 virtual UBool inDaylightTime(UErrorCode& status) const;
|
hebrwcal.h | 377 virtual UBool inDaylightTime(UErrorCode& status) const;
|
islamcal.h | 391 virtual UBool inDaylightTime(UErrorCode& status) const;
|
olsontz.h | 216 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const;
|
persncal.cpp | 235 PersianCalendar::inDaylightTime(UErrorCode& status) const
|
/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...] |
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)
|
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...] |
/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 | 41 public boolean inDaylightTime(Date date) {
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 44 * The {@link #useDaylightTime} method will always return true, and {@link #inDaylightTime} 49 * point in time is {@link #inDaylightTime in daylight time}) the applicable 52 * The {@link #useDaylightTime} and {@link #inDaylightTime} methods both always return false, 237 * offset: you need to call {@code inDaylightTime} for the specific time 261 if (inDaylightTime(new Date(time))) { 390 public abstract boolean inDaylightTime(Date time); 435 * <p>Use {@link #inDaylightTime} to find out whether daylight savings is
|
/external/icu4c/i18n/unicode/ |
gregocal.h | 442 virtual UBool inDaylightTime(UErrorCode& status) const; [all...] |
rbtz.h | 236 * @deprecated ICU 2.4. Use Calendar::inDaylightTime() instead. 238 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const;
|
timezone.h | 654 * @deprecated ICU 2.4. Use Calendar::inDaylightTime() instead. 656 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const = 0; [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 73 boolean currentDst = current.inDaylightTime(d); 93 tz.inDaylightTime(d) == dst) {
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
CalendarUtilities.java | 360 boolean inDaylightTime = tz.inDaylightTime(date); 361 if (inDaylightTime != startInDaylightTime) { 565 boolean startInDaylightTime = tz.inDaylightTime(date); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERGeneralizedTime.java | 196 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate()))
|