/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 138 assertEquals(time.isDst, anotherTime.isDst); 375 // call normalize() to make sure that isDst is set 376 local.normalize(false /* use isDst */); 378 local.normalize(true /* ignore isDst */); 387 // call normalize() to make sure that isDst is set 388 local.normalize(false /* use isDst */); 390 long millis = local.toMillis(true /* ignore isDst */); 404 local.isDst = test.dst1; 405 // call normalize() to make sure that isDst is se [all...] |
/libcore/luni/src/test/java/libcore/util/ |
TimeZoneFinderTest.java | 413 true /* isDst */, WHEN_DST, null /* bias */)); 418 LONDON_DST_OFFSET_MILLIS, true /* isDst */, WHEN_DST, null /* bias */)); 421 LONDON_DST_OFFSET_MILLIS, true /* isDst */, WHEN_DST, LONDON_TZ /* bias */)); 434 // The three parameters match the configured zone: offset, isDst and when. 437 true /* isDst */, WHEN_DST, null /* bias */)); 440 false /* isDst */, WHEN_NO_DST, null /* bias */)); 442 // Some lookup failure cases where the offset, isDst and when do not match the configured 445 LONDON_DST_OFFSET_MILLIS, true /* isDst */, WHEN_NO_DST, null /* bias */); 449 LONDON_DST_OFFSET_MILLIS, false /* isDst */, WHEN_NO_DST, null /* bias */); 453 LONDON_NO_DST_OFFSET_MILLIS, true /* isDst */, WHEN_DST, null /* bias */) [all...] |
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo.go | 40 isDST bool // is this zone Daylight Savings Time? 110 func (l *Location) lookup(sec int64) (name string, offset int, isDST bool, start, end int64) { 116 isDST = false 125 isDST = zone.isDST 135 isDST = zone.isDST 164 isDST = zone.isDST 192 if len(l.tx) > 0 && l.zone[l.tx[0].index].isDST { [all...] |
zoneinfo_plan9.go | 68 zones[0] = zone{name: f[0], offset: o, isDST: false} 75 zones[1] = zone{name: f[2], offset: o, isDST: true}
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo.go | 40 isDST bool // is this zone Daylight Savings Time? 110 func (l *Location) lookup(sec int64) (name string, offset int, isDST bool, start, end int64) { 116 isDST = false 125 isDST = zone.isDST 135 isDST = zone.isDST 164 isDST = zone.isDST 192 if len(l.tx) > 0 && l.zone[l.tx[0].index].isDST { [all...] |
zoneinfo_plan9.go | 68 zones[0] = zone{name: f[0], offset: o, isDST: false} 75 zones[1] = zone{name: f[2], offset: o, isDST: true}
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 40 t.normalize(false /* use isDst */); 45 // + "( " + t.isDst + ',' + t.gmtoff 193 // call normalize() to make sure that isDst is set 194 local.normalize(false /* use isDst */); 196 local.normalize(true /* ignore isDst */); 210 // call normalize() to make sure that isDst is set 211 local.normalize(false /* use isDst */); 213 long millis = local.toMillis(true /* ignore isDst */); 232 local.isDst = test.dst1; 233 // call normalize() to make sure that isDst is se [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 249 byte isDst = it.readByte(); 250 if (isDst != 0 && isDst != 1) { 251 throw new IOException(id + " dst at " + i + " is not 0 or 1, is " + isDst); 253 isDsts[i] = isDst; 716 private int isDst; 736 byte isDst; 738 isDst = 0; 746 isDst = 0; [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
1-1.c | 96 printf("isdst %02d\n", tm_ptr->tm_isdst); 98 puts("Test FAILED: isdst");
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 129 public int isDst; 205 this.isDst = -1; 214 * to April 1. It also fills in weekDay, yearDay, isDst and gmtoff. 217 * If "ignoreDst" is true, then this method sets the "isDst" field to -1 219 * time in milliseconds and sets the correct value for "isDst" if the 296 * Clears all values, setting the timezone to the given timezone. Sets isDst 315 this.isDst = -1; 391 * and the field <code>isDst</code> is set to -1 (unknown). To set those 488 isDst = -1; 676 this.isDst = -1 [all...] |
/external/icu/icu4c/source/i18n/ |
vtzone.cpp | 361 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { 363 if (isDST) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VTimeZone.java | 579 boolean isDST = value.equals(ICAL_DAYLIGHT); 580 if (value.equals(ICAL_STANDARD) || isDST) { 592 dst = isDST; 822 private static String getDefaultTZName(String tzid, boolean isDST) { 823 if (isDST) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VTimeZone.java | 610 boolean isDST = value.equals(ICAL_DAYLIGHT); 611 if (value.equals(ICAL_STANDARD) || isDST) { 623 dst = isDST; 853 private static String getDefaultTZName(String tzid, boolean isDST) { 854 if (isDST) { [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 42 date.normalize(true /* ignore isDst */); 45 allDayDate.normalize(true /* ignore isDst */); 211 long millis = test.date.toMillis(false /* use isDst */); 223 long millis = test.date.toMillis(false /* use isDst */);
|
FormatDateRangeTest.java | 56 date1.normalize(true /* ignore isDst */); 59 date2.normalize(true /* ignore isDst */); 185 long startMillis = dateTest.date1.toMillis(false /* use isDst */); 186 long endMillis = dateTest.date2.toMillis(false /* use isDst */);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 129 boolean isDST = time.isDst != 0; 134 isDST, TimeZone.SHORT, Locale.getDefault()));
|
AlertUtils.java | 183 boolean isDST = time.isDst != 0; 185 isDST, TimeZone.SHORT, Locale.getDefault()));
|
/external/icu/icu4c/source/i18n/unicode/ |
vtzone.h | 385 void writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 388 void writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 392 void writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 396 void writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 403 void writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 407 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule, 411 void beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 413 void endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 37 time.isDst = -1; 55 time.isDst = other.isDst; 132 time.isDst = -1; 157 time.isDst = -1;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
loslib.c | 132 ** wday=%w+1, yday=%j, isdst=? }
217 setboolfield(L, "isdst", stm->tm_isdst);
255 ts.tm_isdst = getboolfield(L, "isdst");
|
/external/skia/third_party/lua/src/ |
loslib.c | 132 ** wday=%w+1, yday=%j, isdst=? } 217 setboolfield(L, "isdst", stm->tm_isdst); 255 ts.tm_isdst = getboolfield(L, "isdst");
|
/external/syslinux/com32/lua/src/ |
loslib.c | 137 ** wday=%w+1, yday=%j, isdst=? } 222 setboolfield(L, "isdst", stm->tm_isdst); 260 ts.tm_isdst = getboolfield(L, "isdst");
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestZoneTextPrinterParser.java | 103 boolean isDST = tz.inDaylightTime(new Date(zdt.toInstant().toEpochMilli())); 105 tz.getDisplayName(isDST, TimeZone.LONG, locale)); 107 tz.getDisplayName(isDST, TimeZone.SHORT, locale));
|
/prebuilts/go/darwin-x86/pkg/darwin_amd64/cmd/pprof/internal/ |
tempfile.a | 41 nsec loc
Location zone
t offset isDST tx
zoneTrans when 51
name·1 offset·2 isDST·3 57
unix·6 offset·1 isDST·2 ok·3 V AddFt·2?
Duration
|
/prebuilts/go/darwin-x86/pkg/darwin_amd64/runtime/ |
debug.a | 22 nsec loc
Location name zone
offset isDST tx
zoneTrans when 34
name·1 offset·2 isDST·3 40
unix·6 offset·1 isDST·2 ok·3 V Add>t·2>
Duration
|