/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 33 t.normalize(false /* use isDst */); 38 // + "( " + t.isDst + ',' + t.gmtoff 186 // call normalize() to make sure that isDst is set 187 local.normalize(false /* use isDst */); 189 local.normalize(true /* ignore isDst */); 203 // call normalize() to make sure that isDst is set 204 local.normalize(false /* use isDst */); 206 long millis = local.toMillis(true /* ignore isDst */); 225 local.isDst = test.dst1; 226 // call normalize() to make sure that isDst is se [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 98 assertEquals(time.isDst, anotherTime.isDst); 331 // call normalize() to make sure that isDst is set 332 local.normalize(false /* use isDst */); 334 local.normalize(true /* ignore isDst */); 348 // call normalize() to make sure that isDst is set 349 local.normalize(false /* use isDst */); 351 long millis = local.toMillis(true /* ignore isDst */); 370 local.isDst = test.dst1; 371 // call normalize() to make sure that isDst is se [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
GregorianDateTime.h | 61 inline int isDST() const { return m_isDST; } 72 inline void setIsDST(int isDST) { m_isDST = isDST; }
|
/frameworks/base/core/jni/ |
TimeUtils.h | 70 int isdst) 78 this->t.tm_isdst = isdst;
|
Time.cpp | 58 int64_t am = a.toMillis(false /* use isDst */); 59 int64_t bm = b.toMillis(false /* use isDst */); 166 (int)(((Time*)this)->toMillis(false /* use isDst */)/1000));
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 106 public int isDst; 174 this.isDst = -1; 198 * to April 1. It also fills in weekDay, yearDay, isDst and gmtoff. 201 * If "ignoreDst" is true, then this method sets the "isDst" field to -1 203 * correct value for "isDst". 266 * Clears all values, setting the timezone to the given timezone. Sets isDst 285 this.isDst = -1; 396 * and the field <code>isDst</code> is set to -1 (unknown). To set those 495 * "isDst" field and will adjust the returned time if the "isDst" field i [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
vtzone.cpp | 359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { 361 if (isDST) { [all...] |
/external/icu4c/i18n/ |
vtzone.cpp | 358 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { 360 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()));
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 278 mDtstart = time.toMillis(false /* use isDst */); 280 mDtend = time.toMillis(false /* use isDst */); 310 mDtstart = time.toMillis(false /* use isDst */); 313 mDtend = time.toMillis(false /* use isDst */); 342 mOriginalInstance = time.toMillis(false /* use isDst */);
|
CalendarProvider2Test.java | 301 begin = time.toMillis(false /* use isDst */); 303 end = time.toMillis(false /* use isDst */); 325 begin = time.toMillis(false /* use isDst */); 327 end = time.toMillis(false /* use isDst */); 353 begin = time.toMillis(false /* use isDst */); 355 end = time.toMillis(false /* use isDst */); 367 this.instances[index++] = time.toMillis(false /* use isDst */); 448 begin = time.toMillis(false /* use isDst */); 450 end = time.toMillis(false /* use isDst */); 455 instance = time.toMillis(false /* use isDst */); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 80 // 0 : time=-2005974400 Fri Jun 08 16:53:20 1906 GMT+00:00 = Fri Jun 08 23:59:40 1906 ICT isDst=0 offset= 380 gmtOffset=25580 81 // 1 : time=-1855983920 Fri Mar 10 16:54:40 1911 GMT+00:00 = Fri Mar 10 23:54:40 1911 ICT isDst=0 offset= 0 gmtOffset=25200 82 // 2 : time=-1819954800 Tue Apr 30 17:00:00 1912 GMT+00:00 = Wed May 01 01:00:00 1912 ICT isDst=0 offset= 3600 gmtOffset=28800 83 // 3 : time=-1220428800 Thu Apr 30 16:00:00 1931 GMT+00:00 = Thu Apr 30 23:00:00 1931 ICT isDst=0 offset= 0 gmtOffset=25200 107 // 0 : time=-1849388260 Fri May 26 01:02:20 1911 GMT+00:00 = Fri May 26 00:02:20 1911 GMT isDst=0 offset=-3600 gmtOffset=-3600 108 // 1 : time= 157770000 Wed Jan 01 01:00:00 1975 GMT+00:00 = Wed Jan 01 01:00:00 1975 GMT isDst=0 offset= 0 gmtOffset=0
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
vtzone.h | 383 void writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 386 void writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 390 void writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 394 void writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 401 void writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 405 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule, 409 void beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 411 void endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const;
|
/external/icu4c/i18n/unicode/ |
vtzone.h | 383 void writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 386 void writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 390 void writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 394 void writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 401 void writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 405 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule, 409 void beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, 411 void endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const;
|
/external/robolectric/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;
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
icuzdump.cpp | 53 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { 76 if (isDst) {
|
zic.c | 125 const char * abbr, int isdst, 128 static int addtype(long gmtoff, const char * abbr, int isdst, 139 const char * letters, int isdst, int doquotes); [all...] |
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 53 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { 76 if (isDst) {
|
zic.c | 125 const char * abbr, int isdst, 128 static int addtype(long gmtoff, const char * abbr, int isdst, 139 const char * letters, int isdst, int doquotes); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
Time_Delegate.java | 141 time.isDst = c.getTimeZone().inDaylightTime(c.getTime()) ? 1 : 0;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 173 dates[i] = time.toMillis(false /* use isDst */); 231 long millis = start.toMillis(false /* use isDst */); 489 long durationMillis = end.toMillis(false /* use isDst */) 490 - start.toMillis(false /* use isDst */);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZonePickerUtils.java | 88 String displayName = getDisplayName(tz, time.isDst != 0);
|