Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/external/icu/android_icu4j/api/legacy_platform/
Dcurrent.txt55 package com.android.i18n.timezone {
61 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getEffect…
62 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getTimeZo…
65 …method public com.android.i18n.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long,…
66 …method public com.android.i18n.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long,…
76 …method public static com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping createForTests(Str…
86 method public com.android.i18n.timezone.CountryTimeZones lookupCountryTimeZones(String);
87 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones> lookupCountryTimeZonesFor…
92 method public com.android.i18n.timezone.DebugInfo addStringEntry(String, String);
93 method public com.android.i18n.timezone.DebugInfo addStringEntry(String, int);
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java41 protected void __constructor__(String timezone) { in __constructor__() argument
42 if (timezone == null) { in __constructor__()
45 time.timezone = timezone; in __constructor__()
58 time.timezone = other.timezone; in set()
147 protected void clear(String timezone) { in clear() argument
148 if (timezone == null) { in clear()
151 time.timezone = timezone; in clear()
171 protected void switchTimezone(String timezone) { in switchTimezone() argument
173 long gmtoff = TimeZone.getTimeZone(timezone).getOffset(date); in switchTimezone()
175 time.timezone = timezone; in switchTimezone()
[all …]
/external/timezone-boundary-builder/
DCHANGELOG.md9 * Include JSON list of timezone names in each release ([#69](https://github.com/evansiroky/timezone
10 …o video on fixing broken relations ([#68](https://github.com/evansiroky/timezone-boundary-builder/…
16 * Split Vietnam into 2 zones ([#66](https://github.com/evansiroky/timezone-boundary-builder/issues/…
24 * Add standard linter ([#67](https://github.com/evansiroky/timezone-boundary-builder/issues/67))
30 …rlap Chinese-claimed territories. ([#52](https://github.com/evansiroky/timezone-boundary-builder/…
31 * Add Oslo Accords Area B and C to `Asia/Jerusalem`. ([#53](https://github.com/evansiroky/timezone
32 …aking area from `Asia/Qyzylorda`. ([#59](https://github.com/evansiroky/timezone-boundary-builder/…
33 * Change timezone for Antarctic Station Neumayer III Station from `Europe/Berlin` to `Etc/UTC`. ([…
40 * Update to use Node 10 ([#56](https://github.com/evansiroky/timezone-boundary-builder/issues/56))
46 …kshavn` and `America/Scoresbysund` ([#40](https://github.com/evansiroky/timezone-boundary-builder/…
[all …]
DREADME.md7timezone-boundary-builder/total.svg)](https://www.somsubhra.com/github-release-stats/?username=eva…
12timezone-boundary-builder/releases). As of release 2018d shapefiles are available with or without …
14 …-date with all of the currently valid timezones that are defined in the timezone database. This p…
18timezone database, this project will only create a new release after the timezone database creates…
22 …be used to lookup the timezone name at a particular GPS coordinate. Here are some libraries that …
35 | [Geo-Timezone](https://github.com/minube/geo-timezone) | php |
43 …. Please see the [troubleshooting guide](https://github.com/evansiroky/timezone-boundary-builder/…
77 ### Changes to timezone boundary configuration
79timezone boundary please link to them when making your case. All changes involving an administrat…
81 …here aren't any unneeded overpass downloads. If an operation to make a timezone boundary requires…
[all …]
DMETADATA1 name: "timezone-boundary-builder"
9 value: "https://github.com/evansiroky/timezone-boundary-builder"
13 value: "https://github.com/evansiroky/timezone-boundary-builder.git"
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTimeTest.java46 assertNotNull(t.timezone); in shouldHaveNoArgsConstructor()
54 assertEquals(t.timezone, t2.timezone); in shouldHaveCopyConstructor()
69 assertEquals(t.timezone, t2.timezone); in shouldHaveSetTime()
102 assertEquals(t.timezone, "UTC"); in shouldHaveTimeZoneConstructor()
110 assertEquals("UTC", t.timezone); in shouldClear()
140 assertThat(t.timezone).isEqualTo("UTC"); in shouldSwitchTimeZones()
146 assertThat(t.timezone).isEqualTo("America/New_York"); in shouldSwitchTimeZones()
205 assertEquals(desc, "UTC", t.timezone); in shouldParseRfc3339()
216 assertEquals(desc, "UTC", t.timezone); in shouldParseRfc3339()
227 assertEquals(desc, "Europe/Berlin", t.timezone); in shouldParseRfc3339()
[all …]
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DTimeZoneFinder.java17 package com.android.i18n.timezone;
19 import static com.android.i18n.timezone.XmlUtils.checkOnEndTag;
20 import static com.android.i18n.timezone.XmlUtils.consumeText;
21 import static com.android.i18n.timezone.XmlUtils.consumeUntilEndTag;
22 import static com.android.i18n.timezone.XmlUtils.findNextStartTagOrEndTagNoRecurse;
23 import static com.android.i18n.timezone.XmlUtils.findNextStartTagOrThrowNoRecurse;
24 import static com.android.i18n.timezone.XmlUtils.normalizeCountryIso;
25 import static com.android.i18n.timezone.XmlUtils.parseBooleanAttribute;
26 import static com.android.i18n.timezone.XmlUtils.parseLongAttribute;
27 import static com.android.i18n.timezone.XmlUtils.parseStringListAttribute;
[all …]
DTelephonyLookup.java17 package com.android.i18n.timezone;
19 import static com.android.i18n.timezone.XmlUtils.checkOnEndTag;
20 import static com.android.i18n.timezone.XmlUtils.consumeUntilEndTag;
21 import static com.android.i18n.timezone.XmlUtils.findNextStartTagOrEndTagNoRecurse;
22 import static com.android.i18n.timezone.XmlUtils.findNextStartTagOrThrowNoRecurse;
23 import static com.android.i18n.timezone.XmlUtils.normalizeCountryIso;
25 import com.android.i18n.timezone.TelephonyNetwork.MccMnc;
26 import com.android.i18n.timezone.XmlUtils.ReaderSupplier;
DTelephonyNetworkFinder.java17 package com.android.i18n.timezone;
19 import static com.android.i18n.timezone.XmlUtils.normalizeCountryIso;
21 import com.android.i18n.timezone.TelephonyNetwork.MccMnc;
/external/iptables/extensions/
Dlibxt_time.man38 Use the kernel timezone instead of UTC to determine whether a packet meets the
43 time source has no timezone information, such as the x86 CMOS RTC, UTC will be
45 correct system time and timezone to the kernel once it has the information.
47 Local time is a feature on top of the (timezone independent) system time. Each
49 variable. The kernel also has its own timezone offset variable. The TZ
54 kernel's timezone offset variable is used when it has to convert between
58 The caveat with the kernel timezone is that Linux distributions may ignore to
59 set the kernel timezone, and instead only set the system time. Even if a
60 particular distribution does set the timezone at boot, it is usually does not
61 keep the kernel timezone offset - which is what changes on DST - up to date.
[all …]
/external/libtextclassifier/native/annotator/datetime/testing/
Dbase-parser-test.cc34 const std::string& timezone, in HasNoResult() argument
38 text, 0, timezone, LocaleList::ParseFrom(/*locale_tags=*/""), in HasNoResult()
51 bool anchor_start_end, const std::string& timezone, in ParsesCorrectly() argument
71 text, 0, timezone, LocaleList::ParseFrom(locales), in ParsesCorrectly()
124 bool anchor_start_end, const std::string& timezone, in ParsesCorrectly() argument
128 anchor_start_end, timezone, locales, in ParsesCorrectly()
Dbase-parser-test.h34 const std::string& timezone = "Europe/Zurich",
44 const std::string& timezone = "Europe/Zurich",
54 const std::string& timezone = "Europe/Zurich",
/external/python/cpython3/Lib/test/test_email/
Dtest_utils.py15 tz = datetime.timezone(utcoffset)
29 tzinfo=datetime.timezone.utc)
97 t0 = datetime.datetime(1990, 1, 1, tzinfo = datetime.timezone.utc)
100 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5)))
106 t0 = datetime.datetime(1990, 1, 1, tzinfo = datetime.timezone.utc)
109 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5)))
134 t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
137 t0 = datetime.datetime(1994, 1, 1, tzinfo=datetime.timezone.utc)
/external/python/cpython3/Lib/email/
Dutils.py147 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc)
164 if dt.tzinfo is None or dt.tzinfo != datetime.timezone.utc:
202 tzinfo=datetime.timezone(datetime.timedelta(seconds=tz)))
346 return datetime.datetime.now(datetime.timezone.utc).astimezone()
357 tz = datetime.timezone(delta, localtm.tm_zone)
363 gmtoff = -(time.altzone if dst else time.timezone)
365 tz = datetime.timezone(delta, time.tzname[dst])
367 tz = datetime.timezone(delta)
/external/python/cpython3/Doc/library/
Demail.utils.rst118 :func:`time.mktime`, and the tenth is the offset of the date's timezone from UTC
120 has no timezone, the last element of the tuple returned is ``0``, which represents
128 the input date has a timezone of ``-0000``, the ``datetime`` will be a naive
130 time in UTC but with no indication of the actual source timezone of the
131 message the date comes from. If the input date has any other valid timezone
133 corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`.
141 timestamp (seconds since the Epoch). If the timezone item in the
156 returns a date relative to the local timezone instead of UTC, properly taking
161 timezone as an ascii string ``GMT``, rather than a numeric ``-0000``. This is
170 source timezone", and the conventional ``-0000`` is used for the timezone.
[all …]
/external/python/cpython3/Lib/test/
Ddatetimetester.py30 from datetime import timezone
202 (timezone, (offset,)),
203 (timezone, (offset, "EST"))]:
244 self.ACDT = timezone(timedelta(hours=9.5), 'ACDT')
245 self.EST = timezone(-timedelta(hours=5), 'EST')
249 for tz in [self.ACDT, self.EST, timezone.utc,
250 timezone.min, timezone.max]:
255 for tz in [self.ACDT, self.EST, timezone.utc,
256 timezone.min, timezone.max]:
263 self.assertEqual(timezone.utc.utcoffset(None), ZERO)
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DISO8601Utils.java196 TimeZone timezone = null; in parse() local
200 timezone = TIMEZONE_Z; in parse()
207 timezone = TIMEZONE_Z; in parse()
216 timezone = TimeZone.getTimeZone(timezoneId); in parse()
218 String act = timezone.getID(); in parse()
228 +timezone.getID()); in parse()
236 Calendar calendar = new GregorianCalendar(timezone); in parse()
/external/python/asn1crypto/tests/
Dtest_util.py28 utc = util.timezone.utc
88 util.timezone(delta_plus_5_42 * 5)
92 util.timezone(delta_minus_5_42 * 5)
97 util.timezone(timedelta(hours=5, minutes=42, seconds=13))
100 util.timezone(timedelta(hours=5, minutes=42, microseconds=13))
103 tz0 = util.timezone(delta_plus_5_42)
104 tz1 = util.timezone(delta_minus_5_42)
111 self.assertEqual('5_42', util.timezone(delta_plus_5_42, '5_42').tzname(None))
112 self.assertEqual('UTC+05:42', util.timezone(delta_plus_5_42).tzname(None))
113 self.assertEqual('UTC-05:42', util.timezone(delta_minus_5_42).tzname(None))
[all …]
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DTelephonyNetworkFinderTest.java17 package com.android.i18n.test.timezone;
22 import com.android.i18n.timezone.TelephonyNetwork;
23 import com.android.i18n.timezone.TelephonyNetworkFinder;
/external/linux-kselftest/tools/testing/selftests/timers/
Dset-tz.c30 struct timezone tz; in set_tz()
40 struct timezone tz; in get_tz_min()
50 struct timezone tz; in get_tz_dst()
/external/autotest/client/site_tests/policy_SystemTimezone/
Dcontrol17 - The proper timezone is set
18 - The timezone reported by the DATE function is correct
19 - When the timezone is not set, it is user adjustable
/external/toybox/toys/other/
Dhwclock.c36 struct timezone tzone;
71 tzone.tz_minuteswest = timezone / 60 - 60 * daylight;
75 tzone.tz_minuteswest = timezone / 60;
/external/icu/android_icu4j/api/intra/
Dcurrent.txt15 package com.android.i18n.timezone {
18 method @NonNull public com.android.i18n.timezone.ZoneInfoData createCopyWithRawOffset(int);
19 …method @NonNull public static com.android.i18n.timezone.ZoneInfoData createFromSerializationFields…
20 …method @NonNull public static com.android.i18n.timezone.ZoneInfoData createInstance(@NonNull Strin…
27 method public boolean hasSameRules(@NonNull com.android.i18n.timezone.ZoneInfoData);
36 method @NonNull public static com.android.i18n.timezone.ZoneInfoDb getInstance();
37 … method @Nullable public com.android.i18n.timezone.ZoneInfoData makeZoneInfoData(@NonNull String);
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/util/
DExtendedTimeZone.java57 private final TimeZone timezone; field in ExtendedTimeZone
60 timezone = TimeZone.getTimeZone(id); in ExtendedTimeZone()
98 return timezone; in getTimeZone()
115 if (!(timezone instanceof BasicTimeZone)) { in createZoneRules()
117 + timezone.getClass().getCanonicalName() in createZoneRules()
121 BasicTimeZone basicTimeZone = (BasicTimeZone) timezone; in createZoneRules()
421 return new ZoneRulesException("Failed to build ZoneRules for " + timezone.getID() + in zoneRulesException()
/external/python/cpython2/Lib/test/
Dtest_strptime.py74 timezone = time.strftime("%Z", self.time_tuple).lower()
75 if timezone:
76 self.assertTrue(timezone in self.LT_ins.timezone[0] or
77 timezone in self.LT_ins.timezone[1],
79 (timezone, self.LT_ins.timezone))
168 test_locale.timezone = (frozenset(), frozenset())
183 locale_time.timezone = (frozenset(("utc", "gmt",

12345678910>>...22