/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
H A D | TimeZoneNameTest.java | 79 * It looks Java 6 requires a TimeZoneNameProvider to return both standard name and daylight name in checkDisplayNamePair() 81 * the other. In ICU, there are zones which do not have daylight names, especially zones which in checkDisplayNamePair() 82 * do not use daylight time. This test case does not check a standard name if its daylight name in checkDisplayNamePair() 85 * Another problem is that ICU always use a standard name for a zone which does not use daylight in checkDisplayNamePair() 86 * saving time even daylight name is requested. in checkDisplayNamePair() 97 private String getIcuDisplayName(String tzid, boolean daylight, int style, Locale loc) { in getIcuDisplayName() argument 106 icuName = daylight ? in getIcuDisplayName() 111 icuName = daylight ? in getIcuDisplayName() 120 private void checkDisplayName(boolean daylight, in argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | TimeZone.java | 36 * <p><code>TimeZone</code> represents a time zone offset, and also computes daylight 71 * offset from GMT(=UTC) and does not observe daylight saving 74 * of GMT (with no daylight saving time). In addition, 213 * a short name derived from the timezone's short standard or daylight 289 * daylight savings. This is the offset to add *to* UTC to get local time. 307 * date, the offset value is adjusted with the amount of daylight 387 * Gets unmodified offset, NOT modified in case of daylight savings. 451 * This method returns the long name, not including daylight savings. 469 * @param daylight if true, return the daylight saving 478 getDisplayName(boolean daylight, int style) getDisplayName() argument 499 getDisplayName(boolean daylight, int style, Locale locale) getDisplayName() argument 520 getDisplayName(boolean daylight, int style, ULocale locale) getDisplayName() argument 533 _getDisplayName(int style, boolean daylight, ULocale locale) _getDisplayName() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | TimeZone.java | 37 * <p><code>TimeZone</code> represents a time zone offset, and also computes daylight 72 * offset from GMT(=UTC) and does not observe daylight saving 75 * of GMT (with no daylight saving time). In addition, 205 * a short name derived from the timezone's short standard or daylight 268 * daylight savings. This is the offset to add *to* UTC to get local time. 285 * date, the offset value is adjusted with the amount of daylight 361 * Gets unmodified offset, NOT modified in case of daylight savings. 420 * This method returns the long name, not including daylight savings. 437 * @param daylight if true, return the daylight saving 445 getDisplayName(boolean daylight, int style) getDisplayName() argument 465 getDisplayName(boolean daylight, int style, Locale locale) getDisplayName() argument 485 getDisplayName(boolean daylight, int style, ULocale locale) getDisplayName() argument 498 _getDisplayName(int style, boolean daylight, ULocale locale) _getDisplayName() argument [all...] |
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
H A D | TimeZoneNameProviderICU.java | 21 public String getDisplayName(String ID, boolean daylight, int style, Locale locale) { in getDisplayName() argument 40 dispName = daylight ? ldst : lstd; in getDisplayName() 43 dispName = daylight ? sdst : sstd; in getDisplayName() 52 // dispName = daylight ? in getDisplayName() 57 // dispName = daylight ? in getDisplayName()
|
/third_party/python/Lib/ |
H A D | _strptime.py | 44 timezone -- daylight- and non-daylight-savings timezone representation 77 if time.tzname != self.tzname or time.daylight != self.daylight: 155 # and time.daylight; handle that in strptime. 161 self.daylight = time.daylight 163 if self.daylight: 324 time.daylight != locale_time.daylight) [all...] |
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
H A D | TimeZoneJDK.java | 64 //public String getDisplayName(boolean daylight, int style) 68 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() argument 69 return fJdkTz.getDisplayName(daylight, style, locale); in getDisplayName() 73 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() argument 74 return fJdkTz.getDisplayName(daylight, style, locale.toLocale()); in getDisplayName()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | TimeZoneICU.java | 50 //public String getDisplayName(boolean daylight, int style) 54 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() argument 55 return fIcuTz.getDisplayName(daylight, style, locale); in getDisplayName()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 35-1-buildonly.c | 9 Test that daylight is declared. 18 dummy = daylight; in dummyfcn()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | time_daylight_test.cpp | 12 * @tc.desc: Test daylight exists 17 EXPECT_GE(0, daylight); in HWTEST_F()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneTest.java | 104 * from MST with daylight savings. 222 boolean daylight; field in TimeZoneTest.ZoneDescriptor 227 this.daylight = zone.useDaylightTime(); in ZoneDescriptor() 230 ZoneDescriptor(String id, int offset, boolean daylight) { in ZoneDescriptor() argument 233 this.daylight = daylight; in ZoneDescriptor() 244 daylight == that.daylight; in equals() 255 (daylight ? "Daylight" : "Standard") + "]"; in toString() 263 if (i1.daylight in compare() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneTest.java | 100 * from MST with daylight savings. 218 boolean daylight; field in TimeZoneTest.ZoneDescriptor 223 this.daylight = zone.useDaylightTime(); in ZoneDescriptor() 226 ZoneDescriptor(String id, int offset, boolean daylight) { in ZoneDescriptor() argument 229 this.daylight = daylight; in ZoneDescriptor() 240 daylight == that.daylight; in equals() 251 (daylight ? "Daylight" : "Standard") + "]"; in toString() 259 if (i1.daylight in compare() [all...] |
/third_party/tzdata/ |
H A D | private.h | 666 # undef daylight macro 667 # define daylight tz_daylight macro 737 extern int daylight;
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 122 extern int daylight;
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | time.h | 121 extern int daylight;
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | time.h | 122 extern int daylight;
|
/third_party/musl/libc-test/src/api/ |
H A D | time.c | 80 {int i = daylight;} in f()
|
/third_party/toybox/toys/other/ |
H A D | hwclock.c | 110 /* The value of tm_isdst is positive if daylight saving time is in effect, in hwclock_main() 116 tzone.tz_minuteswest = timezone / 60 - 60 * daylight; in hwclock_main() 120 // Adjust seconds for timezone and daylight saving time in hwclock_main()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 137 extern int daylight;
|
/third_party/musl/include/ |
H A D | time.h | 124 extern int daylight;
|
/third_party/python/Doc/includes/ |
H A D | tzinfo_examples.py | 14 if _time.daylight:
|
/third_party/python/Lib/test/ |
H A D | test_strptime.py | 190 frozenset("Tokyo (daylight time)")) 390 if time.tzname[0] != time.tzname[1] or not time.daylight: 397 "time.daylight but timezone value not set to -1") 404 # when time.tzname[0] == time.tzname[1] and time.daylight 410 support.swap_attr(time, 'daylight', 1), \ 413 time.daylight = 1 417 "time.daylight set to %s and passing in %s" % 418 (time.tzname, tz_value, time.daylight, tz_name))
|
H A D | test_time.py | 62 time.daylight 259 # values. No test for daylight savings since strftime() does 365 self.assertEqual(time.daylight, 0) 375 self.assertEqual(time.daylight, 1) 395 self.assertEqual(time.daylight, 1)
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | __tz.c | 15 weak_alias(__daylight, daylight);
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
H A D | __tz.c | 15 weak_alias(__daylight, daylight);
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
H A D | __tz.c | 15 weak_alias(__daylight, daylight);
|