Home
last modified time | relevance | path

Searched refs:isDst (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DWallTime.java70 private int isDst; field in WallTime
92 byte isDst; in localtime()
94 isDst = 0; in localtime()
103 isDst = 0; in localtime()
106 isDst = zoneInfo.mIsDsts[offsetIndex]; in localtime()
116 this.isDst = isDst; in localtime()
150 this.isDst = this.isDst > 0 ? this.isDst = 1 : this.isDst < 0 ? this.isDst = -1 : 0; in mktime()
168 if (this.isDst > 0) { in mktime()
173 this.isDst = 0; in mktime()
188 if (isDst < 0) { in mktime()
[all …]
DCountryTimeZones.java379 int totalOffsetMillis, boolean isDst) { in lookupByOffsetWithBias() argument
380 return lookupByOffsetWithBiasInternal(whenMillis, bias, totalOffsetMillis, isDst); in lookupByOffsetWithBias()
398 final Boolean isDst = null; in lookupByOffsetWithBias() local
399 return lookupByOffsetWithBiasInternal(whenMillis, bias, totalOffsetMillis, isDst); in lookupByOffsetWithBias()
467 int totalOffsetMillis, Boolean isDst) { in lookupByOffsetWithBiasInternal() argument
479 || !offsetMatchesAtTime(whenMillis, match, totalOffsetMillis, isDst)) { in lookupByOffsetWithBiasInternal()
512 int totalOffsetMillis, Boolean isDst) { in offsetMatchesAtTime() argument
520 return isDst == null || (isDst == (offsets[1] != 0)); in offsetMatchesAtTime()
DZoneInfoData.java319 byte isDst = it.readByte(); in read64BitData()
320 if (isDst != 0 && isDst != 1) { in read64BitData()
321 throw new IOException(id + " dst at " + i + " is not 0 or 1, is " + isDst); in read64BitData()
323 isDsts[i] = isDst; in read64BitData()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DCountryTimeZonesTest.java156 final Boolean isDst = true; in lookupByOffsetWithBias_oneCandidate() local
170 { LON_DST_TOTAL_OFFSET, isDst, WHEN_DST, noBias, lonMatch }, in lookupByOffsetWithBias_oneCandidate()
175 { LON_DST_TOTAL_OFFSET, isDst, WHEN_NO_DST, noBias, noMatch }, in lookupByOffsetWithBias_oneCandidate()
177 { LON_NO_DST_TOTAL_OFFSET, isDst, WHEN_DST, noBias, noMatch }, in lookupByOffsetWithBias_oneCandidate()
178 { LON_NO_DST_TOTAL_OFFSET, isDst, WHEN_NO_DST, noBias, noMatch }, in lookupByOffsetWithBias_oneCandidate()
185 { LON_DST_TOTAL_OFFSET, isDst, WHEN_DST, LON_TZ, lonMatch }, in lookupByOffsetWithBias_oneCandidate()
189 { LON_DST_TOTAL_OFFSET, isDst, WHEN_NO_DST, LON_TZ, noMatch }, in lookupByOffsetWithBias_oneCandidate()
192 { LON_DST_TOTAL_OFFSET, isDst, WHEN_DST, NY_TZ, lonMatch }, in lookupByOffsetWithBias_oneCandidate()
196 { NY_DST_TOTAL_OFFSET, isDst, WHEN_DST, NY_TZ, noMatch }, in lookupByOffsetWithBias_oneCandidate()
211 final Boolean isDst = true; in lookupByOffsetWithBias_multipleNonOverlappingCandidates() local
[all …]
/external/icu/android_icu4j/testing/src/com/android/icu/test/text/
DExtendedTimeZoneNamesTest.java97 String expectedTzId, boolean isDst, int expectedNameLength) { in assertMatchName() argument
103 assertEquals(msg, isDst, match.isDst()); in assertMatchName()
108 String expectedTzId, boolean isDst, int expectedNameLength) { in assertMatchName() argument
109 assertMatchName(locale, input, 0, currentTzId, expectedTzId, isDst, expectedNameLength); in assertMatchName()
113 String expectedTzId, boolean isDst) { in assertMatchName() argument
114 assertMatchName(locale, input, currentTzId, expectedTzId, isDst, input.length()); in assertMatchName()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/
DExtendedTimeZoneNames.java67 private final boolean isDst; field in ExtendedTimeZoneNames.Match
69 private Match(int matchLength, @NonNull String tzId, boolean isDst) { in Match() argument
72 this.isDst = isDst; in Match()
102 public boolean isDst() { in isDst() method in ExtendedTimeZoneNames.Match
103 return isDst; in isDst()
/external/icu/icu4c/source/i18n/unicode/
Dvtzone.h389 void writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
392 void writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
396 void writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
400 void writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
407 void writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
411 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule,
415 void beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
417 void endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const;
/external/icu/libicu/cts_headers/unicode/
Dvtzone.h389 void writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
392 void writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
396 void writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
400 void writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
407 void writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
411 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule,
415 void beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
417 void endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1301 boolean isDst = (tzt.getTo().getDSTSavings() != 0); in writeZone()
1309 if (isDst) { in writeZone()
1408 boolean isDst = (offset != basictz.getRawOffset()); in writeZone()
1409 writeZonePropsByTime(w, isDst, getDefaultTZName(basictz.getID(), isDst), in writeZone()
1528 private static void writeZonePropsByTime(Writer writer, boolean isDst, String tzname, in writeZonePropsByTime() argument
1530 beginZoneProps(writer, isDst, tzname, fromOffset, toOffset, time); in writeZonePropsByTime()
1537 endZoneProps(writer, isDst); in writeZonePropsByTime()
1543 …private static void writeZonePropsByDOM(Writer writer, boolean isDst, String tzname, int fromOffse… in writeZonePropsByDOM() argument
1545 beginZoneProps(writer, isDst, tzname, fromOffset, toOffset, startTime); in writeZonePropsByDOM()
1557 endZoneProps(writer, isDst); in writeZonePropsByDOM()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java1270 boolean isDst = (tzt.getTo().getDSTSavings() != 0); in writeZone()
1278 if (isDst) { in writeZone()
1377 boolean isDst = (offset != basictz.getRawOffset()); in writeZone()
1378 writeZonePropsByTime(w, isDst, getDefaultTZName(basictz.getID(), isDst), in writeZone()
1497 private static void writeZonePropsByTime(Writer writer, boolean isDst, String tzname, in writeZonePropsByTime() argument
1499 beginZoneProps(writer, isDst, tzname, fromOffset, toOffset, time); in writeZonePropsByTime()
1506 endZoneProps(writer, isDst); in writeZonePropsByTime()
1512 …private static void writeZonePropsByDOM(Writer writer, boolean isDst, String tzname, int fromOffse… in writeZonePropsByDOM() argument
1514 beginZoneProps(writer, isDst, tzname, fromOffset, toOffset, startTime); in writeZonePropsByDOM()
1526 endZoneProps(writer, isDst); in writeZonePropsByDOM()
[all …]
/external/icu/icu4c/source/i18n/
Dvtzone.cpp1993 UBool isDst; in writeZone() local
2004 isDst = (tzt.getTo()->getDSTSavings() != 0); in writeZone()
2012 if (isDst) { in writeZone()
2124 isDst = (dst != 0); in writeZone()
2127 getDefaultTZName(tzid, isDst, name); in writeZone()
2128 writeZonePropsByTime(w, isDst, name, in writeZone()
2280 VTimeZone::writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, in writeZonePropsByTime() argument
2286 beginZoneProps(writer, isDst, zonename, fromOffset, toOffset, time, status); in writeZonePropsByTime()
2297 endZoneProps(writer, isDst, status); in writeZonePropsByTime()
2307 VTimeZone::writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, in writeZonePropsByDOM() argument
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java48 time.isDst = -1; in __constructor__()
67 time.isDst = other.isDst; in set()
137 time.isDst = -1; in set()
162 time.isDst = -1; in clear()
275 time.isDst = calendar.get(Calendar.DST_OFFSET) != 0 ? 1 : 0; in parse3339()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp57 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { in format() argument
80 if (isDst) { in format()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java198 public String format(long time, int offset, boolean isDst) { in format() argument
223 buf.append(isDst ? "1" : "0"); in format()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java1054 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1055 if (isDst) { in TestJ5134()
1077 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1079 if (isDst != isDstJdk) { in TestJ5134()
1080 … errln("FAIL: Incompatible DST -> JDK:" + isDstJdk + "/ICU:" + isDst + " [" + time + "]"); in TestJ5134()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegressionTest.java1057 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1058 if (isDst) { in TestJ5134()
1080 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1082 if (isDst != isDstJdk) { in TestJ5134()
1083 … errln("FAIL: Incompatible DST -> JDK:" + isDstJdk + "/ICU:" + isDst + " [" + time + "]"); in TestJ5134()
/external/icu/android_icu4j/api/intra/
Dcurrent.txt82 method public boolean isDst();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTimeTest.java120 assertEquals(-1, t.isDst); in shouldClear()