OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ZoneInfo
(Results
1 - 14
of
14
) sorted by null
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
ZoneInfo.java
29
final class
ZoneInfo
{
45
private
ZoneInfo
(String zoneId, int priority, List<ZoneOffsetPeriod> zoneOffsetPeriods) {
55
* Creates a
ZoneInfo
using the supplied ICU data and metadata.
59
* <p>The returned {@link
ZoneInfo
} will be populated with {@link ZoneOffsetPeriod}s using
62
public static
ZoneInfo
create(TimeZoneNames timeZoneNames, BasicTimeZone timeZone, int priority,
75
return new
ZoneInfo
(timeZone.getID(), priority, zoneOffsetPeriods);
84
TimeZoneNames timeZoneNames,
ZoneInfo
zoneInfo
, int index, Instant partitionInstant) {
85
ZoneOffsetPeriod oldZoneOffsetPeriod =
zoneInfo
.zoneOffsetPeriods.get(index);
86
BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(
zoneInfo
.getZoneId())
[
all
...]
CountryZoneTree.java
50
private final List<
ZoneInfo
> zoneInfos;
53
private
ZoneInfo
primaryZoneInfo;
56
ZoneNode(String id, List<
ZoneInfo
> zoneInfos, int periodOffset, int periodCount) {
65
ZoneInfo
priorityCandidate = null;
67
for (
ZoneInfo
zoneInfo
: zoneInfos) {
69
|| priorityCandidate.getPriority() <
zoneInfo
.getPriority()) {
70
priorityCandidate =
zoneInfo
;
72
} else if (priorityCandidate.getPriority() ==
zoneInfo
.getPriority()) {
77
// If more than one
ZoneInfo
has the same priority as the primaryZoneInfo then w
[
all
...]
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
ZoneInfoTest.java
46
ZoneInfo
zoneInfo
=
ZoneInfo
.create(timeZoneNames, londonTz, 5, START_INSTANT, END_INSTANT);
48
assertEquals(londonTz.getID(),
zoneInfo
.getZoneId());
49
assertEquals(5,
zoneInfo
.getPriority());
51
assertEquals(expectedPeriodCount,
zoneInfo
.getZoneOffsetPeriodCount());
59
assertEquals(expectedPeriod0,
zoneInfo
.getZoneOffsetPeriod(0));
66
assertEquals(expectedPeriod1,
zoneInfo
.getZoneOffsetPeriod(1));
72
assertEquals(expectedPeriod37,
zoneInfo
.getZoneOffsetPeriod(37));
82
ZoneInfo
denverZoneInfo
[
all
...]
/libcore/luni/src/main/java/libcore/util/
ZoneInfo.java
35
* Our concrete TimeZone implementation, backed by
zoneinfo
data.
46
* implementations. See {@link
ZoneInfo
#readTimeZone(String, BufferIterator, long)}.
65
public final class
ZoneInfo
extends TimeZone {
118
* future) and stored in a file from which {@link
ZoneInfo
#readTimeZone(String, BufferIterator,
124
* <p>In terms of {@link
ZoneInfo
tzfile} structure this array is of length {@code tzh_timecnt}
144
* <p>In the {@link
ZoneInfo
tzfile} structure the type array only contains unique instances of
181
public static
ZoneInfo
readTimeZone(String id, BufferIterator it, long currentTimeMillis)
207
throw new IOException("
ZoneInfo
requires at least one type "
264
return new
ZoneInfo
(id, transitions64, type, gmtOffsets, isDsts, currentTimeMillis);
267
private
ZoneInfo
(String name, long[] transitions, byte[] types, int[] gmtOffsets, byte[] isDsts
[
all
...]
/external/icu/icu4c/source/tools/tzcode/
tz2icu.cpp
126
int32_t type; // index into '
ZoneInfo
.types' 0..255
142
int32_t abbr; // index into
ZoneInfo
.abbrs 0..n-1
159
// with a list of the ZoneTypes. A
ZoneInfo
object may have a long
163
//
zoneinfo
file.
164
struct
ZoneInfo
{
181
ZoneInfo
() : finalYear(-1), aliasTo(-1) {}
209
void
ZoneInfo
::clearAliases() {
214
void
ZoneInfo
::addAlias(int32_t index) {
219
void
ZoneInfo
::setAliasTo(int32_t index) {
225
typedef map<string,
ZoneInfo
> ZoneMap
[
all
...]
/external/python/cpython3/Lib/test/
datetimetester.py
[
all
...]
/prebuilts/misc/common/robolectric/android-all/
android-all-6.0.1_r3-robolectric-0.jar
android-all-7.0.0_r1-robolectric-r1.jar
android-all-7.1.0_r7-robolectric-0.jar
android-all-7.1.0_r7-robolectric-r1.jar
android-all-8.0.0_r4-robolectric-0.jar
android-all-8.0.0_r4-robolectric-r1.jar
android-all-8.1.0-robolectric-r4458339.jar
android-all-o-preview-4-robolectric-0.jar
Completed in 268 milliseconds