OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ZoneInfo
(Results
1 - 11
of
11
) sorted by null
/libcore/luni/src/test/java/libcore/util/
ZoneInfoTest.java
29
* Tests for {@link
ZoneInfo
}
34
* Checks that a {@link
ZoneInfo
} cannot be created without any offsets.
48
* Checks that a {@link
ZoneInfo
} can be created with one offset and no transitions.
55
ZoneInfo
zoneInfo
= createZoneInfo(times, offsets);
58
assertEquals(secondsInMillis(4800),
zoneInfo
.getOffset(Long.MIN_VALUE));
59
assertEquals(secondsInMillis(4800),
zoneInfo
.getOffset(0));
60
assertEquals(secondsInMillis(4800),
zoneInfo
.getOffset(Long.MAX_VALUE));
63
assertFalse("Doesn't use DST",
zoneInfo
.useDaylightTime());
64
assertEquals(0,
zoneInfo
.getDSTSavings())
[
all
...]
ZoneInfoDBTest.java
28
System.getenv("ANDROID_ROOT") + "/usr/share/
zoneinfo
/tzdata";
84
ZoneInfo
first = data.makeTimeZone(tzId);
85
ZoneInfo
second = data.makeTimeZone(tzId);
/libcore/luni/src/main/java/libcore/util/
ZoneInfoDB.java
38
new TzData(System.getenv("ANDROID_DATA") + "/misc/
zoneinfo
/current/tzdata",
39
System.getenv("ANDROID_ROOT") + "/usr/share/
zoneinfo
/tzdata");
66
*
ZoneInfo
objects are worth caching because they are expensive to create.
70
private final BasicLruCache<String,
ZoneInfo
> cache =
71
new BasicLruCache<String,
ZoneInfo
>(CACHE_SIZE) {
73
protected
ZoneInfo
create(String id) {
79
return
ZoneInfo
.makeTimeZone(id, it);
252
public
ZoneInfo
makeTimeZone(String id) throws IOException {
253
ZoneInfo
zoneInfo
= cache.get(id)
[
all
...]
ZoneInfo.java
35
* Our concrete TimeZone implementation, backed by
zoneinfo
data.
46
* implementations. See {@link
ZoneInfo
#makeTimeZone(String, BufferIterator)}.
65
public final class
ZoneInfo
extends TimeZone {
118
* future) and stored in a file from which {@link
ZoneInfo
#makeTimeZone(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
makeTimeZone(String id, BufferIterator it) {
188
public static
ZoneInfo
makeTimeZone(String id, BufferIterator it, long currentTimeMillis) {
244
return new
ZoneInfo
(id, transitions64, type, gmtOffsets, isDsts, currentTimeMillis);
247
private
ZoneInfo
(String name, long[] transitions, byte[] types, int[] gmtOffsets, byte[] isDsts
[
all
...]
/frameworks/base/core/java/android/text/format/
TimeFormatter.java
30
import libcore.util.
ZoneInfo
;
90
public String format(String pattern,
ZoneInfo
.WallTime wallTime,
ZoneInfo
zoneInfo
) {
99
formatInternal(pattern, wallTime,
zoneInfo
);
131
private void formatInternal(String pattern,
ZoneInfo
.WallTime wallTime,
ZoneInfo
zoneInfo
) {
137
outputCurrentChar = handleToken(formatBuffer, wallTime,
zoneInfo
);
146
private boolean handleToken(CharBuffer formatBuffer,
ZoneInfo
.WallTime wallTime
[
all
...]
Time.java
25
import libcore.util.
ZoneInfo
;
[
all
...]
/external/icu/icu4c/source/tools/tzcode/
tz2icu.cpp
125
int32_t type; // index into '
ZoneInfo
.types' 0..255
141
int32_t abbr; // index into
ZoneInfo
.abbrs 0..n-1
158
// with a list of the ZoneTypes. A
ZoneInfo
object may have a long
162
//
zoneinfo
file.
163
struct
ZoneInfo
{
180
ZoneInfo
() : finalYear(-1), aliasTo(-1) {}
208
void
ZoneInfo
::clearAliases() {
213
void
ZoneInfo
::addAlias(int32_t index) {
218
void
ZoneInfo
::setAliasTo(int32_t index) {
224
typedef map<string,
ZoneInfo
> ZoneMap
[
all
...]
/external/mdnsresponder/mDNSShared/
dnsextd_parser.y
48
typedef struct
ZoneInfo
55
}
ZoneInfo
;
/libcore/ojluni/src/main/java/java/util/
GregorianCalendar.java
44
import libcore.util.
ZoneInfo
;
[
all
...]
/libcore/
non_openjdk_java_files.mk
415
luni/src/main/java/libcore/util/
ZoneInfo
.java \
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 434 milliseconds