Home
last modified time | relevance | path

Searched refs:SimpleTimeZone (Results 1 – 25 of 61) sorted by relevance

123

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DSimpleTimeZoneTest.java23 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 …]
DTimeZoneTest.java27 import java.util.SimpleTimeZone;
163 TimeZone zone = new SimpleTimeZone(45, "TEST"); in test_setDefaultLjava_util_TimeZone()
/external/icu4c/i18n/
Dsimpletz.cpp39 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone)
51 const int8_t SimpleTimeZone::STATICMONTHLENGTH[] = {31,29,31,30,31,30,31,31,30,31,30,31};
62 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID) in SimpleTimeZone() function in SimpleTimeZone
86 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
105 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
124 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
146 void SimpleTimeZone::construct(int32_t rawOffsetGMT, in construct()
185 SimpleTimeZone::~SimpleTimeZone() in ~SimpleTimeZone()
193 SimpleTimeZone::SimpleTimeZone(const SimpleTimeZone &source) in SimpleTimeZone() function in SimpleTimeZone
202 SimpleTimeZone &
[all …]
Dolsontz.h24 class SimpleTimeZone; variable
365 SimpleTimeZone *finalZone; // owned, may be NULL
394 SimpleTimeZone *finalZoneWithStartYear; // hack
/external/chromium_org/third_party/icu/source/i18n/
Dsimpletz.cpp38 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 …]
Dolsontz.h24 class SimpleTimeZone; variable
357 SimpleTimeZone *finalZone; // owned, may be NULL
380 SimpleTimeZone *finalZoneWithStartYear; // hack
Dolsontz.cpp205 finalZone = new SimpleTimeZone( in OlsonTimeZone()
210 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone()
213 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone()
281 (SimpleTimeZone*) other.finalZone->clone() : 0; in operator =()
793 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules()
814 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules()
Dtimezone.cpp329 SimpleTimeZone *tmpGMT = new SimpleTimeZone(0, UnicodeString(TRUE, GMT_ID, GMT_ID_LENGTH)); in getGMT()
533 default_zone = new SimpleTimeZone(rawOffset, hostStrID); in initDefault()
1072 SimpleTimeZone *tz = NULL; in getDisplayName()
1089 tz = new SimpleTimeZone(rawOffset, tempID, in getDisplayName()
1107 tz = new SimpleTimeZone(rawOffset, tempID); in getDisplayName()
1136 return new SimpleTimeZone(offset, customID); in createCustomTimeZone()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dsimpletz.h61 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/i18n/unicode/
Dsimpletz.h61 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
884 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, in setStartRule()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzregts.cpp87 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()
550 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); in Test4154537()
551 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); in Test4154537()
553 SimpleTimeZone *tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0, status); in Test4154537()
554 SimpleTimeZone *tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0, status); in Test4154537()
556 SimpleTimeZone *tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0, status); in Test4154537()
617 SimpleTimeZone *zone = new SimpleTimeZone(0, "Z"); in Test4154542()
658 SimpleTimeZone *temp = new SimpleTimeZone(0, "Z", in Test4154542()
[all …]
Dtzregts.h53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
Dtztest.cpp81 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
95 SimpleTimeZone copy(*zone); in TestGenericAPI()
97 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI()
160 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); in TestRuleAPI()
1237 SimpleTimeZone *zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
1305 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
1337 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", in TestDSTSavings()
1390 SimpleTimeZone tz(-5 * U_MILLIS_PER_HOUR, "alternateRuleTest"); in TestAlternateRules()
1634 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1649 SimpleTimeZone tz2(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
Dtzbdtest.cpp382 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()
Dtzbdtest.h65 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
/external/icu4c/test/intltest/
Dtzregts.cpp87 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 …]
Dtzregts.h53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
Dtztest.cpp90 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
104 SimpleTimeZone copy(*zone); in TestGenericAPI()
106 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI()
169 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); in TestRuleAPI()
1450 SimpleTimeZone *zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
1518 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
1550 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", in TestDSTSavings()
1603 SimpleTimeZone tz(-5 * U_MILLIS_PER_HOUR, "alternateRuleTest"); in TestAlternateRules()
1851 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1866 SimpleTimeZone tz2(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
Dtzbdtest.cpp382 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()
Dtzbdtest.h65 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidMockTest.java43 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/bcprov/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java7 import java.util.SimpleTimeZone;
110 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in DERGeneralizedTime()
237 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate()
251 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate()
264 dateF.setTimeZone(new SimpleTimeZone(0, TimeZone.getDefault().getID())); in getDate()
DDERUTCTime.java7 import java.util.SimpleTimeZone;
110 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in DERUTCTime()
148 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getAdjustedDate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DTime.java6 import java.util.SimpleTimeZone;
48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DTime.java6 import java.util.SimpleTimeZone;
48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()

123