Home
last modified time | relevance | path

Searched refs:stz (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSTZInfo.java55 void applyTo(com.ibm.icu.util.SimpleTimeZone stz) { in applyTo() argument
57 stz.setStartYear(sy); in applyTo()
61 stz.setStartRule(sm, sdwm, sdw, st); in applyTo()
63 stz.setStartRule(sm, sdm, st); in applyTo()
65 stz.setStartRule(sm, sdm, sdw, st, sa); in applyTo()
70 stz.setEndRule(em, edwm, edw, et); in applyTo()
72 stz.setEndRule(em, edm, et); in applyTo()
74 stz.setEndRule(em, edm, edw, et, ea); in applyTo()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSTZInfo.java56 void applyTo(android.icu.util.SimpleTimeZone stz) { in applyTo() argument
58 stz.setStartYear(sy); in applyTo()
62 stz.setStartRule(sm, sdwm, sdw, st); in applyTo()
64 stz.setStartRule(sm, sdm, st); in applyTo()
66 stz.setStartRule(sm, sdm, sdw, st, sa); in applyTo()
71 stz.setEndRule(em, edwm, edw, et); in applyTo()
73 stz.setEndRule(em, edm, et); in applyTo()
75 stz.setEndRule(em, edm, edw, et, ea); in applyTo()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegression.java1118 SimpleTimeZone stz; in TestT5432() local
1121 stz = new SimpleTimeZone(0, tzid); in TestT5432()
1122 if (!tzid.equals(stz.getID())) { in TestT5432()
1123 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
1128 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000); in TestT5432()
1129 if (!tzid.equals(stz.getID())) { in TestT5432()
1130 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
1135 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000, 3600000); in TestT5432()
1136 if (!tzid.equals(stz.getID())) { in TestT5432()
1137 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
[all …]
DTimeZoneTest.java1156 SimpleTimeZone stz = stzs[i]; in TestSimpleTimeZoneSerialization() local
1160 oos.writeObject(stz); in TestSimpleTimeZoneSerialization()
1163 logln("id: " + stz.getID() + " length: " + bytes.length); in TestSimpleTimeZoneSerialization()
1171 assertEquals("time zones", stz, stzDeserialized); in TestSimpleTimeZoneSerialization()
1979 SimpleTimeZone stz = (SimpleTimeZone)thawedZones[i]; in checkThawed() local
1983 stz.setDSTSavings(newDSTSavings); in checkThawed()
1984 if (stz.getDSTSavings() != newDSTSavings) { in checkThawed()
1992 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
1998 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2004 stz.setStartYear(2000); in checkThawed()
[all …]
DTimeZoneRuleTest.java49 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() local
105 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
108 if (!(stz.hasEquivalentTransitions(rbtz2, start, until))) { in TestSimpleRuleBasedTimeZone()
111 if (!(stz.hasEquivalentTransitions(rbtz3, start, until))) { in TestSimpleRuleBasedTimeZone()
1421 SimpleTimeZone stz = new SimpleTimeZone(0, "CustomID", in TestT6669() local
1429 TimeZoneTransition tzt = stz.getNextTransition(t, false); in TestT6669()
1437 tzt = stz.getPreviousTransition(t, true); in TestT6669()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegression.java1122 SimpleTimeZone stz; in TestT5432() local
1125 stz = new SimpleTimeZone(0, tzid); in TestT5432()
1126 if (!tzid.equals(stz.getID())) { in TestT5432()
1127 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
1132 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000); in TestT5432()
1133 if (!tzid.equals(stz.getID())) { in TestT5432()
1134 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
1139 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000, 3600000); in TestT5432()
1140 if (!tzid.equals(stz.getID())) { in TestT5432()
1141 errln("FAIL: Bad zone id (" + stz.getID() + ") is returned - expected (" in TestT5432()
[all …]
DTimeZoneTest.java1160 SimpleTimeZone stz = stzs[i]; in TestSimpleTimeZoneSerialization() local
1164 oos.writeObject(stz); in TestSimpleTimeZoneSerialization()
1167 logln("id: " + stz.getID() + " length: " + bytes.length); in TestSimpleTimeZoneSerialization()
1175 assertEquals("time zones", stz, stzDeserialized); in TestSimpleTimeZoneSerialization()
1983 SimpleTimeZone stz = (SimpleTimeZone)thawedZones[i]; in checkThawed() local
1987 stz.setDSTSavings(newDSTSavings); in checkThawed()
1988 if (stz.getDSTSavings() != newDSTSavings) { in checkThawed()
1996 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
2002 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2008 stz.setStartYear(2000); in checkThawed()
[all …]
DTimeZoneRuleTest.java53 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() local
109 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
112 if (!(stz.hasEquivalentTransitions(rbtz2, start, until))) { in TestSimpleRuleBasedTimeZone()
115 if (!(stz.hasEquivalentTransitions(rbtz3, start, until))) { in TestSimpleRuleBasedTimeZone()
1425 SimpleTimeZone stz = new SimpleTimeZone(0, "CustomID", in TestT6669() local
1433 TimeZoneTransition tzt = stz.getNextTransition(t, false); in TestT6669()
1441 tzt = stz.getPreviousTransition(t, true); in TestT6669()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp45 stz = new SimpleTimeZone(0, ""); in DumpFormatter()
54 stz->setRawOffset(offset); in format()
55 sdf->setTimeZone(*stz); in format()
85 SimpleTimeZone* stz; member in DumpFormatter
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java184 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); in setRawOffset() local
219stz.setStartRule(start.getRuleMonth(), start.getRuleWeekInMonth(), start.getRuleDayOfWeek(), in setRawOffset()
221stz.setEndRule(end.getRuleMonth(), end.getRuleWeekInMonth(), end.getRuleDayOfWeek(), in setRawOffset()
224 stz.setDSTSavings(sav); in setRawOffset()
232 stz.setStartRule(0, 1, 0); in setRawOffset()
233 stz.setEndRule(11, 31, Grego.MILLIS_PER_DAY - 1); in setRawOffset()
245 stz.setStartYear(finalStartYear); in setRawOffset()
248 finalZone = stz; in setRawOffset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java182 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); in setRawOffset() local
217stz.setStartRule(start.getRuleMonth(), start.getRuleWeekInMonth(), start.getRuleDayOfWeek(), in setRawOffset()
219stz.setEndRule(end.getRuleMonth(), end.getRuleWeekInMonth(), end.getRuleDayOfWeek(), in setRawOffset()
222 stz.setDSTSavings(sav); in setRawOffset()
230 stz.setStartRule(0, 1, 0); in setRawOffset()
231 stz.setEndRule(11, 31, Grego.MILLIS_PER_DAY - 1); in setRawOffset()
243 stz.setStartYear(finalStartYear); in setRawOffset()
246 finalZone = stz; in setRawOffset()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java187 private SimpleTimeZone stz = new SimpleTimeZone(0, ""); field in ICUZDump.DumpFormatter
198 stz.setRawOffset(offset); in format()
199 sdf.setTimeZone(stz); in format()
/external/icu/icu4c/source/i18n/
Ducal.cpp96 SimpleTimeZone* stz = dynamic_cast<SimpleTimeZone*>(zone); in ucal_getDSTSavings() local
97 if (stz != NULL) { in ucal_getDSTSavings()
98 result = stz->getDSTSavings(); in ucal_getDSTSavings()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp152 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() local
240 if (!(stz.hasEquivalentTransitions(*rbtz1, start, until, TRUE, status))) { in TestSimpleRuleBasedTimeZone()
246 if (!(stz.hasEquivalentTransitions(*rbtz2, start, until, TRUE, status))) { in TestSimpleRuleBasedTimeZone()
252 if (!(stz.hasEquivalentTransitions(*rbtz3, start, until, TRUE, status))) { in TestSimpleRuleBasedTimeZone()
2154 …SimpleTimeZone stz(0, "CustomID", UCAL_JANUARY, 1, UCAL_SUNDAY, 0, UCAL_JULY, 1, UCAL_SUNDAY, 0, s… in TestT6669() local
2165 UBool avail = stz.getNextTransition(t, FALSE, tzt); in TestT6669()
2173 avail = stz.getPreviousTransition(t, TRUE, tzt); in TestT6669()
/external/ImageMagick/PerlMagick/t/
Dinput.mat43 …XXWXXWWWVX[ZXXZ]YSMLY��ͽ������}sor{������������������������������ŅG0/0127>BHPTTXULMa����stz~mhqO