/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | SimpleTimeZoneTest.java | 23 import java.util.SimpleTimeZone; 28 SimpleTimeZone st1; 30 SimpleTimeZone st2; 38 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST"); in test_ConstructorILjava_lang_String() 53 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST", Calendar.NOVEMBER, in test_ConstructorILjava_lang_StringIIIIIIII() 74 SimpleTimeZone st = new SimpleTimeZone(1000, "TEST", Calendar.NOVEMBER, in test_ConstructorILjava_lang_StringIIIIIIIII() 99 assertNotNull(new SimpleTimeZone( in test_ConstructorILjava_lang_StringIIIIIIIIIII() 102 SimpleTimeZone.STANDARD_TIME, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 103 SimpleTimeZone.STANDARD_TIME, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 104 SimpleTimeZone.UTC_TIME, in test_ConstructorILjava_lang_StringIIIIIIIIIII() [all …]
|
D | TimeZoneTest.java | 27 import java.util.SimpleTimeZone; 163 TimeZone zone = new SimpleTimeZone(45, "TEST"); in test_setDefaultLjava_util_TimeZone()
|
D | GregorianCalendarTest.java | 25 import java.util.SimpleTimeZone; 145 SimpleTimeZone timezone = new SimpleTimeZone(-3600 * 24 * 1000 * 2, in test_ConstructorLjava_util_TimeZone() 158 c1.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE")); in test_ConstructorLjava_util_TimeZone()
|
/external/icu4c/i18n/ |
D | simpletz.cpp | 38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone) 50 const int8_t SimpleTimeZone::STATICMONTHLENGTH[] = {31,29,31,30,31,30,31,31,30,31,30,31}; 61 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID) in SimpleTimeZone() function in SimpleTimeZone 85 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone 104 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone 123 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone 145 void SimpleTimeZone::construct(int32_t rawOffsetGMT, in construct() 184 SimpleTimeZone::~SimpleTimeZone() in ~SimpleTimeZone() 192 SimpleTimeZone::SimpleTimeZone(const SimpleTimeZone &source) in SimpleTimeZone() function in SimpleTimeZone 201 SimpleTimeZone & [all …]
|
D | olsontz.h | 24 class SimpleTimeZone; variable 365 SimpleTimeZone *finalZone; // owned, may be NULL 393 SimpleTimeZone *finalZoneWithStartYear; // hack
|
D | olsontz.cpp | 209 finalZone = new SimpleTimeZone( in OlsonTimeZone() 214 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone() 217 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone() 290 (SimpleTimeZone*) other.finalZone->clone() : 0; in operator =() 802 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules() 823 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules()
|
D | timezone.cpp | 309 SimpleTimeZone *tmpGMT = new SimpleTimeZone(0, UnicodeString(TRUE, GMT_ID, GMT_ID_LENGTH)); in getGMT() 392 result = new SimpleTimeZone(0, UNKNOWN_ZONE_ID); in createTimeZone() 514 default_zone = new SimpleTimeZone(rawOffset, hostStrID); in initDefault() 1286 SimpleTimeZone *tz = NULL; in getDisplayName() 1303 tz = new SimpleTimeZone(rawOffset, tempID, in getDisplayName() 1321 tz = new SimpleTimeZone(rawOffset, tempID); in getDisplayName() 1350 return new SimpleTimeZone(offset, customID); in createCustomTimeZone()
|
D | ucal.cpp | 95 SimpleTimeZone* stz = dynamic_cast<SimpleTimeZone*>(zone); in ucal_getDSTSavings()
|
/external/icu4c/i18n/unicode/ |
D | simpletz.h | 61 class U_I18N_API SimpleTimeZone: public BasicTimeZone { 86 SimpleTimeZone(const SimpleTimeZone& source); 93 SimpleTimeZone& operator=(const SimpleTimeZone& right); 99 virtual ~SimpleTimeZone(); 123 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID); 160 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, 203 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, 251 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, 793 SimpleTimeZone(); // default constructor not implemented 883 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, in setStartRule() [all …]
|
/external/icu4c/test/intltest/ |
D | tzregts.cpp | 87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) { in findTransitionBinary() 108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max… in findTransitionStepwise() 130 SimpleTimeZone *z = new SimpleTimeZone(0, "GMT"); in Test4073215() 554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); in Test4154537() 555 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); in Test4154537() 557 SimpleTimeZone *tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0, status); in Test4154537() 558 SimpleTimeZone *tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0, status); in Test4154537() 560 SimpleTimeZone *tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0, status); in Test4154537() 621 SimpleTimeZone *zone = new SimpleTimeZone(0, "Z"); in Test4154542() 662 SimpleTimeZone *temp = new SimpleTimeZone(0, "Z", in Test4154542() [all …]
|
D | tzregts.h | 53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); 54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
D | tztest.cpp | 83 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); in TestGenericAPI() 97 SimpleTimeZone copy(*zone); in TestGenericAPI() 99 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI() 162 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); in TestRuleAPI() 1475 SimpleTimeZone *zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName() 1543 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName() 1575 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", in TestDSTSavings() 1628 SimpleTimeZone tz(-5 * U_MILLIS_PER_HOUR, "alternateRuleTest"); in TestAlternateRules() 1876 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() 1891 SimpleTimeZone tz2(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
|
D | tzbdtest.cpp | 382 TimeZoneBoundaryTest::testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) in testUsingBinarySearch() 425 SimpleTimeZone *tz; in TestNewRules() 428 …tz = new SimpleTimeZone(- 8 * (int32_t)ONE_HOUR, "Test_1", UCAL_AUGUST, 2, UCAL_TUESDAY, 2 * (int3… in TestNewRules() 436 …tz = new SimpleTimeZone(- 8 * (int32_t)ONE_HOUR, "Test_2", UCAL_APRIL, 14, - UCAL_WEDNESDAY, 2 *(i… in TestNewRules()
|
D | tzbdtest.h | 65 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
|
D | tzrulets.cpp | 153 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 154 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone() 155 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone() 1527 SimpleTimeZone *stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() 1777 SimpleTimeZone *simpleTZ = new SimpleTimeZone(28800000, "Asia/Singapore"); in TestVTimeZoneCoverage() 1800 SimpleTimeZone simpleTZ2(28800000, "Asia/Singapore"); in TestVTimeZoneCoverage() 2155 …SimpleTimeZone stz(0, "CustomID", UCAL_JANUARY, 1, UCAL_SUNDAY, 0, UCAL_JULY, 1, UCAL_SUNDAY, 0, s… in TestT6669()
|
D | tzoffloc.cpp | 133 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition()
|
D | astrotst.cpp | 268 TimeZone *tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); in TestSunriseTimes()
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | AndroidMockTest.java | 43 import java.util.SimpleTimeZone; 185 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingParameters() 187 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, "GMT"); in testCreateMockUsingParameters() 207 AndroidMock.createMock(Calendar.class, new SimpleTimeZone(1, "GMT"), Locale.UK); in testCreateMockUsingProtectedConstructors() 213 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingCastableParameters() 215 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 'a', "GMT"); in testCreateMockUsingCastableParameters() 225 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingUnusableParameters() 228 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, "GMT"); in testCreateMockUsingUnusableParameters() 234 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, null); in testCreateMockUsingUnusableParameters() 240 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, new Object()); in testCreateMockUsingUnusableParameters() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
D | DERGeneralizedTime.java | 7 import java.util.SimpleTimeZone; 90 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in DERGeneralizedTime() 224 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate() 238 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate() 251 dateF.setTimeZone(new SimpleTimeZone(0, TimeZone.getDefault().getID())); in getDate()
|
D | DERUTCTime.java | 7 import java.util.SimpleTimeZone; 90 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in DERUTCTime() 138 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getAdjustedDate()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
D | Time.java | 13 import java.util.SimpleTimeZone; 48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | SimpleDateFormatTest.java | 29 import java.util.SimpleTimeZone; 95 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); in verifyFormatTimezone() 480 format.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE")); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 483 format.setTimeZone(new SimpleTimeZone(5400000, "ONE HOUR, THIRTY")); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 486 .setTimeZone(new SimpleTimeZone(-5400000, in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
|
/external/icu4c/tools/tzcode/ |
D | icuzdump.cpp | 45 stz = new SimpleTimeZone(0, ""); in DumpFormatter() 85 SimpleTimeZone* stz;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | SerializationStressTest.java | 53 import java.util.SimpleTimeZone; 154 static final SimpleTimeZone TIME_ZONE = new SimpleTimeZone(3600000, 179 CALENDAR.setTimeZone(new SimpleTimeZone(0, "GMT")); in CALENDAR.setTimeZone()
|
/external/icu4c/test/perf/normperf/ |
D | dtfmtrtperf.h | 70 SimpleTimeZone unknownZone(-31415, (UnicodeString)"Etc/Unknown"); in call()
|