/external/icu/icu4c/source/i18n/ |
D | simpletz.cpp | 39 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 …]
|
D | olsontz.h | 25 class SimpleTimeZone; variable 366 SimpleTimeZone *finalZone; // owned, may be NULL 398 SimpleTimeZone *finalZoneWithStartYear; // hack
|
D | olsontz.cpp | 210 finalZone = new SimpleTimeZone( in OlsonTimeZone() 215 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone() 218 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone() 291 (SimpleTimeZone*) other.finalZone->clone() : 0; in operator =() 819 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules() 840 finalZoneWithStartYear = (SimpleTimeZone*)finalZone->clone(); in initTransitionRules()
|
/external/icu/icu4c/source/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 | 91 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); in TestGenericAPI() 105 SimpleTimeZone copy(*zone); in TestGenericAPI() 107 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI() 167 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); in TestRuleAPI() 1448 SimpleTimeZone *zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName() 1516 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName() 1548 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", in TestDSTSavings() 1601 SimpleTimeZone tz(-5 * U_MILLIS_PER_HOUR, "alternateRuleTest"); in TestAlternateRules() 1849 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() 1864 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()
|
/external/icu/icu4c/source/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 884 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, in setStartRule() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 29 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 …]
|
D | TimeZoneTest.java | 31 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() 557 SimpleTimeZone zone = new SimpleTimeZone(offset, "TestZone"); in TestRuleAPI() 629 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() 864 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings() 911 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); in TestAlternateRules() 1127 SimpleTimeZone stz0 = new SimpleTimeZone(32400000, "MyTimeZone"); in TestSimpleTimeZoneSerialization() 1128 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization() [all …]
|
D | TimeZoneBoundaryTest.java | 15 import com.ibm.icu.util.SimpleTimeZone; 647 void _testUsingBinarySearch(SimpleTimeZone tz, Date d, long expectedBoundary) in _testUsingBinarySearch() 728 SimpleTimeZone tz; in TestNewRules() 734 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_1", in TestNewRules() 747 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_2", in TestNewRules()
|
/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/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | Time.java | 7 import java.util.SimpleTimeZone; 72 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time() 103 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | Time.java | 7 import java.util.SimpleTimeZone; 53 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time() 84 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 8 import java.util.SimpleTimeZone; 114 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in ASN1GeneralizedTime() 132 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in ASN1GeneralizedTime() 261 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate() 275 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getDate() 288 dateF.setTimeZone(new SimpleTimeZone(0, TimeZone.getDefault().getID())); in getDate()
|
D | ASN1UTCTime.java | 8 import java.util.SimpleTimeZone; 128 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in ASN1UTCTime() 146 dateF.setTimeZone(new SimpleTimeZone(0,"Z")); in ASN1UTCTime() 184 dateF.setTimeZone(new SimpleTimeZone(0, "Z")); in getAdjustedDate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | SimpleTimeZone.java | 32 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | TestCase.java | 15 import com.ibm.icu.util.SimpleTimeZone; 241 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
D | AstroTest.java | 21 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/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTest.java | 35 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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 23 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()
|
D | OlsonTimeZone.java | 21 import com.ibm.icu.util.SimpleTimeZone; 182 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); in setRawOffset() 595 finalZone = new SimpleTimeZone(ruleRaw, "", in construct() 874 private SimpleTimeZone finalZone = null; // owned, may be NULL 1103 private transient SimpleTimeZone finalZoneWithStartYear; // hack 1193 finalZoneWithStartYear = (SimpleTimeZone)finalZone.clone(); in initTransitionRules() 1289 tz.finalZone = (SimpleTimeZone) finalZone.clone(); in cloneAsThawed()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleDataTest.java | 16 import com.ibm.icu.util.SimpleTimeZone; 222 utc = new SimpleTimeZone(0, "UTC"); in TestDotNet()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 36 import com.ibm.icu.util.SimpleTimeZone; 84 TimeZone unknownZone = new SimpleTimeZone(-31415, "Etc/Unknown"); in TestTimeZoneRoundTrip() 757 …SimpleTimeZone tz = new SimpleTimeZone(OFFSET[i], "Zone Offset:" + String.valueOf(OFFSET[i]) + "ms… in TestISOFormat() 777 SimpleTimeZone bogusTZ = new SimpleTimeZone(-1, "Zone Offset: -1ms"); in TestISOFormat()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ISO8601Converter.java | 15 import java.util.SimpleTimeZone; 264 binValue.setTimeZone(new SimpleTimeZone(offset, "")); in parse()
|