/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | TimeZoneTest.java | 16 import com.ibm.icu.util.TimeZone; 25 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHashCode() 26 TimeZone tz2 = TimeZone.getTimeZone("PST"); in testHashCode() 27 TimeZone tzn = TimeZone.getTimeZone("CST"); in testHashCode() 42 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetOffset() 51 TimeZone tz = TimeZone.getTimeZone("PST"); in testSetRawOffset() 64 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetRawOffset() 73 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetID() 81 TimeZone tz = TimeZone.getTimeZone("PST"); in testSetID() 94 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetDisplayName() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | TimeZone.java | 98 public class TimeZone implements Serializable, Cloneable, Freezable<TimeZone> { class 104 public final java.util.TimeZone timeZone; 110 public TimeZone(java.util.TimeZone delegate) { in TimeZone() method in TimeZone 127 public TimeZone() { in TimeZone() method in TimeZone 128 this.timeZone = java.util.TimeZone.getDefault(); in TimeZone() 456 return timeZone.getDisplayName(daylight, java.util.TimeZone.SHORT, locale.toLocale()); in getDisplayName() 458 return timeZone.getDisplayName(daylight, java.util.TimeZone.LONG, locale.toLocale()); in getDisplayName() 545 public static synchronized TimeZone getTimeZone(String ID) { in getTimeZone() 546 return new TimeZone(java.util.TimeZone.getTimeZone(ID)); in getTimeZone() 565 public static TimeZone getFrozenTimeZone(String ID) { in getFrozenTimeZone() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 41 import android.icu.util.TimeZone; 42 import android.icu.util.TimeZone.SystemTimeZoneType; 140 boolean isJDKTimeZone = (TimeZone.getDefaultTimeZoneType() == TimeZone.TIMEZONE_JDK); in TestShortZoneIDs() 198 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 222 ZoneDescriptor(TimeZone zone) { in ZoneDescriptor() 280 "GMT-YOUR.AD.HERE", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 285 "GMT+15:99", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 286 "GMT+", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 287 "GMT-", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 288 "GMT+0:", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() [all …]
|
D | TimeZoneRegressionTest.java | 37 import android.icu.util.TimeZone; 47 String id = TimeZone.getDefault().getID(); in Test4052967() 65 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 66 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 111 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 153 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 167 TimeZone frankenZone = (TimeZone) istream.readObject(); in Test4096952() 191 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 208 testCal.setTimeZone((TimeZone) testData[i]); in Test4109314() 213 if (!checkCalendar314(testCal, (TimeZone) testData[i])) in Test4109314() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 40 import com.ibm.icu.util.TimeZone; 41 import com.ibm.icu.util.TimeZone.SystemTimeZoneType; 137 boolean isJDKTimeZone = (TimeZone.getDefaultTimeZoneType() == TimeZone.TIMEZONE_JDK); in TestShortZoneIDs() 195 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 219 ZoneDescriptor(TimeZone zone) { in ZoneDescriptor() 277 "GMT-YOUR.AD.HERE", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 282 "GMT+15:99", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 283 "GMT+", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 284 "GMT-", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() 285 "GMT+0:", "0", TimeZone.UNKNOWN_ZONE_ID, in TestCustomParse() [all …]
|
D | TimeZoneRegressionTest.java | 36 import com.ibm.icu.util.TimeZone; 44 String id = TimeZone.getDefault().getID(); in Test4052967() 62 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 63 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 108 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 150 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 164 TimeZone frankenZone = (TimeZone) istream.readObject(); in Test4096952() 188 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 205 testCal.setTimeZone((TimeZone) testData[i]); in Test4109314() 210 if (!checkCalendar314(testCal, (TimeZone) testData[i])) in Test4109314() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 96 TimeZone* zoneclone = zone->clone(); in TestGenericAPI() 112 TimeZone* saveDefault = TimeZone::createDefault(); in TestGenericAPI() 115 TimeZone::adoptDefault(zone); in TestGenericAPI() 116 TimeZone* defaultzone = TimeZone::createDefault(); in TestGenericAPI() 120 TimeZone::adoptDefault(saveDefault); in TestGenericAPI() 140 TimeZone* hostZone = TimeZone::detectHostTimeZone(); in TestGenericAPI() 151 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() 240 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition() 270 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch() 316 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset() [all …]
|
D | tzbdtest.cpp | 110 TimeZone *zone = TimeZone::createDefault(); in findDaylightBoundaryUsingTimeZone() 118 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() 191 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() 280 TimeZone* pst = TimeZone::createTimeZone("PST"); in TestBoundaries() 293 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() 300 TimeZone* save = TimeZone::createDefault(); in TestBoundaries() 301 TimeZone::setDefault(*pst); in TestBoundaries() 318 TimeZone::setDefault(*save); in TestBoundaries() 327 TimeZone *z = TimeZone::createTimeZone("PST"); in TestBoundaries() 339 TimeZone *tz; in TestBoundaries() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | CalendarHandler.java | 28 import com.ibm.icu.util.TimeZone; 44 TimeZone tz_a = cal_a.getTimeZone(); in hasSameBehavior() 45 TimeZone tz_b = cal_b.getTimeZone(); in hasSameBehavior() 73 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 90 TimeZone tst = TimeZone.getTimeZone("Asia/Bangkok"); in getTestObjects() 107 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() 124 TimeZone ast = TimeZone.getTimeZone("Europe/Athens"); in getTestObjects() 141 TimeZone kst = TimeZone.getTimeZone("Asia/Seoul"); in getTestObjects() 158 TimeZone ast = TimeZone.getTimeZone("Africa/Addis_Ababa"); in getTestObjects() 175 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CalendarHandler.java | 29 import android.icu.util.TimeZone; 45 TimeZone tz_a = cal_a.getTimeZone(); in hasSameBehavior() 46 TimeZone tz_b = cal_b.getTimeZone(); in hasSameBehavior() 74 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 91 TimeZone tst = TimeZone.getTimeZone("Asia/Bangkok"); in getTestObjects() 108 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() 125 TimeZone ast = TimeZone.getTimeZone("Europe/Athens"); in getTestObjects() 142 TimeZone kst = TimeZone.getTimeZone("Asia/Seoul"); in getTestObjects() 159 TimeZone ast = TimeZone.getTimeZone("Africa/Addis_Ababa"); in getTestObjects() 176 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | timezone.h | 131 class U_I18N_API TimeZone : public UObject { 136 virtual ~TimeZone(); 150 static const TimeZone& U_EXPORT2 getUnknown(); 164 static const TimeZone* U_EXPORT2 getGMT(void); 177 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID); 293 static TimeZone* U_EXPORT2 detectHostTimeZone(); 307 static TimeZone* U_EXPORT2 createDefault(void); 322 static void U_EXPORT2 adoptDefault(TimeZone* zone); 335 static void U_EXPORT2 setDefault(const TimeZone& zone); 443 virtual UBool operator==(const TimeZone& that) const; [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 117 abstract public class TimeZone implements Serializable, Cloneable, Freezable<TimeZone> { class 131 public TimeZone() { in TimeZone() method in TimeZone 141 protected TimeZone(String ID) { in TimeZone() method in TimeZone 252 public static final TimeZone UNKNOWN_ZONE = new ConstantZone(0, UNKNOWN_ZONE_ID).freeze(); 259 public static final TimeZone GMT_ZONE = new ConstantZone(0, GMT_ZONE_ID).freeze(); 702 public static TimeZone getTimeZone(String ID) { in getTimeZone() 721 public static TimeZone getFrozenTimeZone(String ID) { in getFrozenTimeZone() 737 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() 749 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() 750 TimeZone result; in getTimeZone() [all …]
|
D | CECalendar.java | 59 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 68 protected CECalendar(TimeZone zone) { in CECalendar() 79 this(TimeZone.getDefault(), aLocale); in CECalendar() 89 this(TimeZone.getDefault(), locale); in CECalendar() 100 protected CECalendar(TimeZone zone, Locale aLocale) { in CECalendar() 113 protected CECalendar(TimeZone zone, ULocale locale) { in CECalendar() 130 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 141 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 160 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 90 abstract public class TimeZone implements Serializable, Cloneable, Freezable<TimeZone> { class 103 public TimeZone() { in TimeZone() method in TimeZone 114 protected TimeZone(String ID) { in TimeZone() method in TimeZone 209 public static final TimeZone UNKNOWN_ZONE = new ConstantZone(0, UNKNOWN_ZONE_ID).freeze(); 214 public static final TimeZone GMT_ZONE = new ConstantZone(0, GMT_ZONE_ID).freeze(); 633 public static TimeZone getTimeZone(String ID) { in getTimeZone() 651 public static TimeZone getFrozenTimeZone(String ID) { in getFrozenTimeZone() 666 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() 678 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() 679 TimeZone result; in getTimeZone() [all …]
|
D | CECalendar.java | 60 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 69 protected CECalendar(TimeZone zone) { in CECalendar() 80 this(TimeZone.getDefault(), aLocale); in CECalendar() 90 this(TimeZone.getDefault(), locale); in CECalendar() 101 protected CECalendar(TimeZone zone, Locale aLocale) { in CECalendar() 114 protected CECalendar(TimeZone zone, ULocale locale) { in CECalendar() 131 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 142 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar() 161 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); in CECalendar()
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/ |
D | TimeZone.java.patch | 1 --- android_icu4j/src/main/java/android/icu/util/TimeZone.java 2017-08-25 08:53:44.093865959 +0100 2 +++ android_icu4j/src/main/java/android/icu/util/TimeZone.java 2017-08-25 08:54:12.489921270 +0100 8 - * JDK <code>TimeZone</code> as the time zone implementation. The TimeZone factory 9 - * method <code>getTimeZone</code> creates an instance of ICU's own <code>TimeZone</code> 18 - * # The default TimeZone implementation type used by the ICU TimeZone 21 - * android.icu.util.TimeZone.DefaultTimeZoneType = ICU 26 - * <code>TimeZone</code> class is loaded, the initialization code checks if the property 27 - * <code>android.icu.util.TimeZone.DefaultTimeZoneType=xxx</code> is defined by the system 39 * <strong>[icu]</strong> A time zone implementation type indicating ICU's own TimeZone used by 46 … * <strong>[icu]</strong> A time zone implementation type indicating the {@link java.util.TimeZone} [all …]
|
/external/icu/icu4c/source/i18n/ |
D | timezone.cpp | 115 static icu::TimeZone* DEFAULT_ZONE = NULL; 118 static icu::TimeZone* _GMT = NULL; 119 static icu::TimeZone* _UNKNOWN_ZONE = NULL; 252 UResourceBundle* TimeZone::loadRule(const UResourceBundle* top, const UnicodeString& ruleid, UResou… in loadRule() 313 const TimeZone& U_EXPORT2 314 TimeZone::getUnknown() in getUnknown() 320 const TimeZone* U_EXPORT2 321 TimeZone::getGMT(void) in getGMT() 331 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(TimeZone) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() argument 333 TimeZone::TimeZone() in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneAdapter.java | 18 import android.icu.util.TimeZone; 34 public class TimeZoneAdapter extends java.util.TimeZone { 43 private TimeZone zone; 50 public static java.util.TimeZone wrap(android.icu.util.TimeZone tz) { in wrap() 57 public android.icu.util.TimeZone unwrap() { in unwrap() 64 public TimeZoneAdapter(TimeZone zone) { in TimeZoneAdapter() 82 public boolean hasSameRules(java.util.TimeZone other) { in hasSameRules() 133 return new TimeZoneAdapter((TimeZone)zone.clone()); in clone() 153 TimeZone anotherZone = ((TimeZoneAdapter) obj).zone; in equals()
|
D | JavaTimeZone.java | 19 import android.icu.util.TimeZone; 32 public class JavaTimeZone extends TimeZone { 38 private java.util.TimeZone javatz; 44 String[] availableIds = java.util.TimeZone.getAvailableIDs(); 50 …mObservesDaylightTime = java.util.TimeZone.class.getMethod("observesDaylightTime", (Class[]) null); 62 this(java.util.TimeZone.getDefault(), null); in JavaTimeZone() 71 public JavaTimeZone(java.util.TimeZone jtz, String id) { in JavaTimeZone() 87 java.util.TimeZone jtz = null; in createTimeZone() 90 jtz = java.util.TimeZone.getTimeZone(id); in createTimeZone() 96 String canonicalID = TimeZone.getCanonicalID(id, isSystemID); in createTimeZone() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneAdapter.java | 17 import com.ibm.icu.util.TimeZone; 32 public class TimeZoneAdapter extends java.util.TimeZone { 41 private TimeZone zone; 47 public static java.util.TimeZone wrap(com.ibm.icu.util.TimeZone tz) { in wrap() 54 public com.ibm.icu.util.TimeZone unwrap() { in unwrap() 61 public TimeZoneAdapter(TimeZone zone) { in TimeZoneAdapter() 79 public boolean hasSameRules(java.util.TimeZone other) { in hasSameRules() 130 return new TimeZoneAdapter((TimeZone)zone.clone()); in clone() 150 TimeZone anotherZone = ((TimeZoneAdapter) obj).zone; in equals()
|
D | JavaTimeZone.java | 18 import com.ibm.icu.util.TimeZone; 30 public class JavaTimeZone extends TimeZone { 36 private java.util.TimeZone javatz; 42 String[] availableIds = java.util.TimeZone.getAvailableIDs(); 48 …mObservesDaylightTime = java.util.TimeZone.class.getMethod("observesDaylightTime", (Class[]) null); 60 this(java.util.TimeZone.getDefault(), null); in JavaTimeZone() 69 public JavaTimeZone(java.util.TimeZone jtz, String id) { in JavaTimeZone() 85 java.util.TimeZone jtz = null; in createTimeZone() 88 jtz = java.util.TimeZone.getTimeZone(id); in createTimeZone() 94 String canonicalID = TimeZone.getCanonicalID(id, isSystemID); in createTimeZone() [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 17 import com.ibm.icu.util.TimeZone; 38 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in nextTransitionExample() 65 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in previousTransitionExample() 92 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in timeZoneRulesExample() 107 …BasicTimeZone tzNewYork = (BasicTimeZone)TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZON… in equivalentTransitionsExample() 108 …BasicTimeZone tzDetroit = (BasicTimeZone)TimeZone.getTimeZone("America/Detroit", TimeZone.TIMEZONE… in equivalentTransitionsExample() 110 GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/GMT")); in equivalentTransitionsExample()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 22 import java.util.TimeZone; 198 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong() 216 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime() 254 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate() 267 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours() 280 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes() 293 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds() 307 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 330 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1() 401 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | TimeZoneICU.java | 15 import com.ibm.icu.util.TimeZone; 21 public class TimeZoneICU extends java.util.TimeZone { 25 private TimeZone fIcuTz; 27 private TimeZoneICU(TimeZone icuTz) { in TimeZoneICU() 31 public static java.util.TimeZone wrap(TimeZone icuTz) { in wrap() 38 public TimeZone unwrap() { in unwrap() 45 other.fIcuTz = (TimeZone)fIcuTz.clone(); in clone() 84 public boolean hasSameRules(java.util.TimeZone other) { in hasSameRules()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | TimeZoneJDK.java | 15 import java.util.TimeZone; 25 public class TimeZoneJDK extends com.ibm.icu.util.TimeZone { 29 private TimeZone fJdkTz; 32 private TimeZoneJDK(TimeZone jdkTz) { in TimeZoneJDK() 33 fJdkTz = (TimeZone)jdkTz.clone(); in TimeZoneJDK() 36 public static com.ibm.icu.util.TimeZone wrap(TimeZone jdkTz) { in wrap() 43 public TimeZone unwrap() { in unwrap() 44 return (TimeZone)fJdkTz.clone(); in unwrap() 154 public boolean hasSameRules(com.ibm.icu.util.TimeZone other) { in hasSameRules() 198 public com.ibm.icu.util.TimeZone freeze() { in freeze() [all …]
|