Home
last modified time | relevance | path

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

12345678910>>...22

/external/icu/android_icu4j/api/legacy_platform/
Dcurrent.txt21 package com.android.i18n.timezone {
27 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getEffect…
28 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping> getTimeZo…
31 …method public com.android.i18n.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long,…
32 …method public com.android.i18n.timezone.CountryTimeZones.OffsetResult lookupByOffsetWithBias(long,…
42 …method public static com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping createForTests(Str…
52 method public com.android.i18n.timezone.CountryTimeZones lookupCountryTimeZones(String);
53 …method public java.util.List<com.android.i18n.timezone.CountryTimeZones> lookupCountryTimeZonesFor…
58 method public com.android.i18n.timezone.DebugInfo addStringEntry(String, String);
59 method public com.android.i18n.timezone.DebugInfo addStringEntry(String, int);
[all …]
/external/python/python-api-core/tests/unit/
Dtest_datetime_helpers.py33 dt = datetime.datetime(1970, 1, 1, 0, 0, 1, tzinfo=datetime.timezone.utc)
44 zone = datetime.timezone(datetime.timedelta(minutes=-1))
58 1970, 1, 1, 0, 5, 0, tzinfo=datetime.timezone.utc
80 2009, 12, 17, 12, 44, 32, 123456, datetime.timezone.utc
87 2009, 12, 17, 12, 44, 32, 123456, datetime.timezone.utc
94 2009, 12, 17, 12, 44, 32, 0, datetime.timezone.utc
101 2009, 12, 17, 12, 44, 32, 0, datetime.timezone.utc
121 2009, 12, 17, 12, 44, 32, micros, datetime.timezone.utc
150 2009, 12, 17, 12, 44, 32, micros, datetime.timezone.utc
173 value = datetime.datetime(2016, 4, 5, 13, 30, 0, tzinfo=datetime.timezone.utc)
[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.md5 * Update some Canadian zones as follows ([#90](https://github.com/evansiroky/timezone-boundary-buil…
6 …* Use OSM timezone relations in entirety for the following zones: `America/Blanc_Sablon`, `America…
8 …ungholz Village to `Europe/Vienna` ([#93](https://github.com/evansiroky/timezone-boundary-builder/…
15 …before creating input data zipfile ([#82](https://github.com/evansiroky/timezone-boundary-builder/…
17 …ent config and the latest release. ([#83](https://github.com/evansiroky/timezone-boundary-builder/…
24 * Rename `America/Godthab` to `America/Nuuk` ([#77](https://github.com/evansiroky/timezone-boundary…
25 * Update some Canadian zones as follows ([#76](https://github.com/evansiroky/timezone-boundary-buil…
37 * Include input data in release files ([#78](https://github.com/evansiroky/timezone-boundary-builde…
47 * Include JSON list of timezone names in each release ([#69](https://github.com/evansiroky/timezone
48 …o video on fixing broken relations ([#68](https://github.com/evansiroky/timezone-boundary-builder/…
[all …]
DREADME.md7timezone-boundary-builder/total.svg)](https://tooomm.github.io/github-release-stats/?username=evan…
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 |
44 …. Please see the [troubleshooting guide](https://github.com/evansiroky/timezone-boundary-builder/…
66 timezone-boundary-builder downloads boundaries from OpenStreetMap and places them in the `./downloa…
95 …un the script with the underlying input data that was used to build the timezone geometries at the…
109 ### Changes to timezone boundary configuration
[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/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()
146 protected void clear(String timezone) { in clear() argument
147 if (timezone == null) { in clear()
150 time.timezone = timezone; in clear()
170 protected void switchTimezone(String timezone) { in switchTimezone() argument
172 long gmtoff = TimeZone.getTimeZone(timezone).getOffset(date); in switchTimezone()
174 time.timezone = timezone; in switchTimezone()
[all …]
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/text/format/
DTimeTest.java39 assertEquals(desc, "UTC", t.timezone); in shouldParseRfc3339()
50 assertEquals(desc, "UTC", t.timezone); in shouldParseRfc3339()
61 assertEquals(desc, "Europe/Berlin", t.timezone); in shouldParseRfc3339()
79 assertNotNull(t.timezone); in shouldHaveNoArgsConstructor()
87 assertEquals(t.timezone, t2.timezone); in shouldHaveCopyConstructor()
102 assertEquals(t.timezone, t2.timezone); in shouldHaveSetTime()
135 assertEquals(t.timezone, "UTC"); in shouldHaveTimeZoneConstructor()
143 assertEquals("UTC", t.timezone); in shouldClear()
173 assertThat(t.timezone).isEqualTo("UTC"); in shouldSwitchTimeZones()
179 assertThat(t.timezone).isEqualTo("America/New_York"); in shouldSwitchTimeZones()
[all …]
/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;
/external/python/python-api-core/google/api_core/
Ddatetime_helpers.py24 _UTC_EPOCH = datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc)
84 value = value.replace(tzinfo=datetime.timezone.utc)
86 value = value.astimezone(datetime.timezone.utc)
157 return bare_seconds.replace(microsecond=micros, tzinfo=datetime.timezone.utc)
257 tzinfo=datetime.timezone.utc,
269 else self.replace(tzinfo=datetime.timezone.utc)
297 tzinfo=datetime.timezone.utc,
/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
129 as an hour greater than 23 or a timezone offset not between -24 and 24 hours.
130 If the input date has a timezone of ``-0000``, the ``datetime`` will be a naive
132 time in UTC but with no indication of the actual source timezone of the
133 message the date comes from. If the input date has any other valid timezone
135 corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`.
143 timestamp (seconds since the Epoch). If the timezone item in the
158 returns a date relative to the local timezone instead of UTC, properly taking
163 timezone as an ascii string ``GMT``, rather than a numeric ``-0000``. This is
[all …]
/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()
/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:
205 tzinfo=datetime.timezone(datetime.timedelta(seconds=tz)))
349 return datetime.datetime.now(datetime.timezone.utc).astimezone()
360 tz = datetime.timezone(delta, localtm.tm_zone)
366 gmtoff = -(time.altzone if dst else time.timezone)
368 tz = datetime.timezone(delta, time.tzname[dst])
370 tz = datetime.timezone(delta)
/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/python/cpython3/Lib/test/test_email/
Dtest_utils.py15 tz = datetime.timezone(utcoffset)
29 tzinfo=datetime.timezone.utc)
107 t0 = datetime.datetime(1990, 1, 1, tzinfo = datetime.timezone.utc)
110 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5)))
116 t0 = datetime.datetime(1990, 1, 1, tzinfo = datetime.timezone.utc)
119 t2 = t2.replace(tzinfo = datetime.timezone(datetime.timedelta(hours=-5)))
144 t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
147 t0 = datetime.datetime(1994, 1, 1, tzinfo=datetime.timezone.utc)
/external/musl/compat/time32/
Dftime32.c9 short timezone, dstflag; member
22 tp->timezone = tb.timezone; in __ftime32()
/external/python/setuptools/setuptools/_vendor/tomli/
D_re.py7 from datetime import date, datetime, time, timedelta, timezone, tzinfo
81 tz = timezone.utc
88 def cached_tz(hour_str: str, minute_str: str, sign_str: str) -> timezone:
90 return timezone(
/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

12345678910>>...22