HomeSort by relevance Sort by last modified time
    Searched refs:hasSameRules (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneAdapter.java 76 public boolean hasSameRules(java.util.TimeZone other) {
78 zone.hasSameRules(((TimeZoneAdapter)other).zone);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneAdapter.java 75 public boolean hasSameRules(java.util.TimeZone other) {
77 zone.hasSameRules(((TimeZoneAdapter)other).zone);
  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 138 assertFalse(tz1.hasSameRules(tz2));
139 assertFalse(tz1.hasSameRules(null));
144 assertTrue(tz2.hasSameRules(tz1));
145 assertTrue(tz1.hasSameRules(tz1));
GregorianCalendarTest.java 447 public boolean hasSameRules(TimeZone other) {
448 return timeZone.hasSameRules(other);
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
TimeZoneICU.java 82 public boolean hasSameRules(java.util.TimeZone other) {
83 return other.hasSameRules(TimeZoneICU.wrap(fIcuTz));
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
TimeZone.java 743 public boolean hasSameRules(TimeZone other) {
744 return timeZone.hasSameRules(other.timeZone);
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
TimeZoneJDK.java 165 public boolean hasSameRules(com.ibm.icu.util.TimeZone other) {
166 return other.hasSameRules(TimeZoneJDK.wrap(fJdkTz));
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneInfo.java 189 public boolean hasSameRules(TimeZoneInfo tzi) {
190 return this.mTz.hasSameRules(tzi.mTz);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
TimeZoneTest.java 279 * @add test {@link java.util.TimeZone#hasSameRules(TimeZone)}
291 assertTrue(tz.hasSameRules(sameZone));
299 .hasSameRules(null));
SimpleTimeZoneTest.java 376 * java.util.SimpleTimeZone#hasSameRules(java.util.TimeZone)
380 // java.util.SimpleTimeZone.hasSameRules(java.util.TimeZone)
391 .hasSameRules(sameAsSt));
393 .hasSameRules(notSameAsSt));
    [all...]
  /external/icu/icu4c/source/i18n/
olsontz.h 227 virtual UBool hasSameRules(const TimeZone& other) const;
vzone.cpp 157 return ((VTimeZone*)zone)->VTimeZone::hasSameRules(*(VTimeZone*)other);
  /external/icu/icu4c/source/i18n/unicode/
rbtz.h 248 virtual UBool hasSameRules(const TimeZone& other) const;
timezone.h 18 * - Added hasSameRules()
    [all...]
vtzone.h 312 virtual UBool hasSameRules(const TimeZone& other) const;
simpletz.h 15 * Added hasSameRules()
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
TimeZoneTest.java 214 * Test method for 'com.ibm.icu.util.TimeZone.hasSameRules(TimeZone)'
219 assertTrue(tz1.hasSameRules(tz2));
  /libcore/luni/src/test/java/libcore/util/
ZoneInfoDBTest.java 88 assertTrue(first.hasSameRules(second));
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneRuleTest.java 119 // hasSameRules
120 if (rbtz1.hasSameRules(rbtz2)) {
123 if (rbtz1.hasSameRules(rbtz3)) {
127 if (!rbtz1.hasSameRules(rbtz1c)) {
287 if (ny.hasSameRules(rbtz) || rbtz.hasSameRules(ny)) {
288 errln("FAIL: hasSameRules must return false");
291 if (!rbtz.hasSameRules(rbtzc) || !rbtz.hasEquivalentTransitions(rbtzc, jan1_1950, jan1_2010)) {
292 errln("FAIL: hasSameRules/hasEquivalentTransitions must return true for cloned RBTZs");
    [all...]
TimeZoneRegression.java 431 * SimpleTimeZone.hasSameRules() doesn't work for zones with no DST
448 if (!tza.hasSameRules(tzA) || tza.hasSameRules(tzb)) {
449 errln("Fail: hasSameRules() broken for zones with rules");
451 if (!tz1.hasSameRules(tz2)) {
452 errln("Fail: hasSameRules() returns false for zones without rules");
620 // TimeZone API. Only hasSameRules() and setDefault() should
645 if (z.hasSameRules(null)) {
646 errln("FAIL: hasSameRules returned true");
649 errln("FAIL: Null NOT allowed in hasSameRules");
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneRuleTest.java 115 // hasSameRules
116 if (rbtz1.hasSameRules(rbtz2)) {
119 if (rbtz1.hasSameRules(rbtz3)) {
123 if (!rbtz1.hasSameRules(rbtz1c)) {
283 if (ny.hasSameRules(rbtz) || rbtz.hasSameRules(ny)) {
284 errln("FAIL: hasSameRules must return false");
287 if (!rbtz.hasSameRules(rbtzc) || !rbtz.hasEquivalentTransitions(rbtzc, jan1_1950, jan1_2010)) {
288 errln("FAIL: hasSameRules/hasEquivalentTransitions must return true for cloned RBTZs");
    [all...]
  /external/icu/icu4c/source/test/intltest/
tzregts.cpp 548 * SimpleTimeZone::hasSameRules() doesn't work for zones with no DST
570 if (!tza->hasSameRules(*tzA) || tza->hasSameRules(*tzb)) {
571 errln("Fail: hasSameRules() broken for zones with rules");
573 if (!tz1->hasSameRules(*tz2)) {
574 errln("Fail: hasSameRules() returns false for zones without rules");
    [all...]
  /libcore/ojluni/src/main/java/java/util/
TimeZone.java 725 public boolean hasSameRules(TimeZone other) {
SimpleTimeZone.java     [all...]
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 597 @Override public boolean hasSameRules(TimeZone timeZone) {
621 return getID().equals(other.getID()) && hasSameRules(other);
    [all...]

Completed in 596 milliseconds

1 2 3