Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/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.h25 class SimpleTimeZone; variable
366 SimpleTimeZone *finalZone; // owned, may be NULL
398 SimpleTimeZone *finalZoneWithStartYear; // hack
/external/icu/icu4c/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()
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);
/external/icu/icu4c/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
884 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, in setStartRule()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegression.java30 import android.icu.util.SimpleTimeZone;
68 SimpleTimeZone z = new SimpleTimeZone(0, "GMT"); in Test4073215()
403 SimpleTimeZone z = new SimpleTimeZone(0, "id", in Test4154525()
410 z = new SimpleTimeZone(0, "GMT"); in Test4154525()
436 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537()
437 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537()
439 SimpleTimeZone tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
440 SimpleTimeZone tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
442 SimpleTimeZone tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0); in Test4154537()
491 SimpleTimeZone zone = new SimpleTimeZone(0, "Z"); in Test4154542()
[all …]
DTimeZoneTest.java32 import android.icu.util.SimpleTimeZone;
385 SimpleTimeZone zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
434 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
494 SimpleTimeZone zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
572 SimpleTimeZone zone = new SimpleTimeZone(offset, "TestZone"); in TestRuleAPI()
644 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch()
879 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
926 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); in TestAlternateRules()
1142 SimpleTimeZone stz0 = new SimpleTimeZone(32400000, "MyTimeZone"); in TestSimpleTimeZoneSerialization()
1143 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegression.java29 import com.ibm.icu.util.SimpleTimeZone;
64 SimpleTimeZone z = new SimpleTimeZone(0, "GMT"); in Test4073215()
399 SimpleTimeZone z = new SimpleTimeZone(0, "id", in Test4154525()
406 z = new SimpleTimeZone(0, "GMT"); in Test4154525()
432 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537()
433 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537()
435 SimpleTimeZone tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
436 SimpleTimeZone tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
438 SimpleTimeZone tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0); in Test4154537()
487 SimpleTimeZone zone = new SimpleTimeZone(0, "Z"); in Test4154542()
[all …]
DTimeZoneTest.java31 import com.ibm.icu.util.SimpleTimeZone;
381 SimpleTimeZone zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
430 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
490 SimpleTimeZone zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
568 SimpleTimeZone zone = new SimpleTimeZone(offset, "TestZone"); in TestRuleAPI()
640 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch()
875 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
922 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); in TestAlternateRules()
1138 SimpleTimeZone stz0 = new SimpleTimeZone(32400000, "MyTimeZone"); in TestSimpleTimeZoneSerialization()
1139 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization()
[all …]
/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/cms/
DTime.java8 import java.util.SimpleTimeZone;
73 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
107 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DTime.java8 import java.util.SimpleTimeZone;
54 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
88 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1GeneralizedTime.java9 import java.util.SimpleTimeZone;
118 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in ASN1GeneralizedTime()
140 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in ASN1GeneralizedTime()
276 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate()
296 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate()
315 dateF.setTimeZone(new SimpleTimeZone(0, TimeZone.getDefault().getID())); in getDate()
DASN1UTCTime.java9 import java.util.SimpleTimeZone;
132 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in ASN1UTCTime()
154 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in ASN1UTCTime()
198 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getAdjustedDate()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleTimeZone.java33 public class SimpleTimeZone extends BasicTimeZone { class
61 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() method in SimpleTimeZone
127 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
173 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
218 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
1118 SimpleTimeZone that = (SimpleTimeZone) obj; in equals()
1198 if(!(othr instanceof SimpleTimeZone)){ in hasSameRules()
1201 SimpleTimeZone other = (SimpleTimeZone)othr; in hasSameRules()
1403 SimpleTimeZone tz = (SimpleTimeZone)super.cloneAsThawed(); in cloneAsThawed()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleTimeZone.java32 public class SimpleTimeZone extends BasicTimeZone { class
64 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() method in SimpleTimeZone
131 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
178 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
224 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
1143 SimpleTimeZone that = (SimpleTimeZone) obj; in equals()
1226 if(!(othr instanceof SimpleTimeZone)){ in hasSameRules()
1229 SimpleTimeZone other = (SimpleTimeZone)othr; in hasSameRules()
1437 SimpleTimeZone tz = (SimpleTimeZone)super.cloneAsThawed(); in cloneAsThawed()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DTestCase.java16 import android.icu.util.SimpleTimeZone;
242 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
DAstroTest.java22 import android.icu.util.SimpleTimeZone;
38 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude()
91 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition()
241 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); in TestSunriseTimes()
353 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java15 import com.ibm.icu.util.SimpleTimeZone;
241 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
DAstroTest.java21 import com.ibm.icu.util.SimpleTimeZone;
34 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude()
87 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition()
237 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); in TestSunriseTimes()
349 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DEpochOffsets.java17 import com.ibm.icu.util.SimpleTimeZone;
69 TimeZone utc = new SimpleTimeZone(0, "UTC"); in main()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/
DPivotDemo.java15 import com.ibm.icu.util.SimpleTimeZone;
43 TimeZone utc = new SimpleTimeZone(0, "UTC"); in main()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTest.java35 import com.ibm.icu.util.SimpleTimeZone;
157 SimpleTimeZone simpleTimeZones[] = new SimpleTimeZone[6]; in getTestObjects()
159 simpleTimeZones[0] = new SimpleTimeZone(32400000, "MyTimeZone"); in getTestObjects()
161 simpleTimeZones[1] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
163 simpleTimeZones[2] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
166 simpleTimeZones[3] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
169 simpleTimeZones[4] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
175 simpleTimeZones[5] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTest.java36 import android.icu.util.SimpleTimeZone;
161 SimpleTimeZone simpleTimeZones[] = new SimpleTimeZone[6]; in getTestObjects()
163 simpleTimeZones[0] = new SimpleTimeZone(32400000, "MyTimeZone"); in getTestObjects()
165 simpleTimeZones[1] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
167 simpleTimeZones[2] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
170 simpleTimeZones[3] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
173 simpleTimeZones[4] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
179 simpleTimeZones[5] = new SimpleTimeZone(32400000, "Asia/Tokyo"); in getTestObjects()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DZoneMeta.java23 import com.ibm.icu.util.SimpleTimeZone;
586 private static class CustomTimeZoneCache extends SoftCache<Integer, SimpleTimeZone, int[]> {
592 protected SimpleTimeZone createInstance(Integer key, int[] data) { in createInstance()
600 SimpleTimeZone tz = new SimpleTimeZone(offset, id); in createInstance()
794 return new SimpleTimeZone(offset, zid); in getCustomTimeZone()

1234