Home
last modified time | relevance | path

Searched refs:daylight (Results 1 - 25 of 39) sorted by relevance

12

/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DTimeZoneNameTest.java79 * 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 DTimeZone.java36 * <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 DTimeZone.java37 * <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 DTimeZoneNameProviderICU.java21 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.py44 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 DTimeZoneJDK.java64 //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 DTimeZoneICU.java50 //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 D35-1-buildonly.c9 Test that daylight is declared.
18 dummy = daylight; in dummyfcn()
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_daylight_test.cpp12 * @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 DTimeZoneTest.java104 * 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 DTimeZoneTest.java100 * 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 Dprivate.h666 # undef daylight macro
667 # define daylight tz_daylight macro
737 extern int daylight;
/third_party/musl/porting/uniproton/kernel/include/
H A Dtime.h122 extern int daylight;
/third_party/musl/porting/liteos_m/user/include/
H A Dtime.h121 extern int daylight;
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtime.h122 extern int daylight;
/third_party/musl/libc-test/src/api/
H A Dtime.c80 {int i = daylight;} in f()
/third_party/toybox/toys/other/
H A Dhwclock.c110 /* 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 Dtime.h137 extern int daylight;
/third_party/musl/include/
H A Dtime.h124 extern int daylight;
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py14 if _time.daylight:
/third_party/python/Lib/test/
H A Dtest_strptime.py190 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 Dtest_time.py62 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.c15 weak_alias(__daylight, daylight);
/third_party/musl/porting/uniproton/kernel/src/time/
H A D__tz.c15 weak_alias(__daylight, daylight);
/third_party/musl/porting/liteos_m/kernel/src/time/
H A D__tz.c15 weak_alias(__daylight, daylight);

Completed in 15 milliseconds

12