OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ZoneInfo
(Results
1 - 6
of
6
) sorted by null
/libcore/luni/src/main/java/libcore/util/
ZoneInfo.java
26
* Our concrete TimeZone implementation, backed by
zoneinfo
data.
30
public final class
ZoneInfo
extends TimeZone {
55
ZoneInfo
(String name, int[] transitions, byte[] type, int[] gmtOffsets, byte[] isDsts) {
193
if (!(timeZone instanceof
ZoneInfo
)) {
196
ZoneInfo
other = (
ZoneInfo
) timeZone;
212
if (!(obj instanceof
ZoneInfo
)) {
215
ZoneInfo
other = (
ZoneInfo
) obj;
ZoneInfoDB.java
39
* '
zoneinfo
' database as the source of time zone information. However, to conserve
42
* third file indicates the version of the
zoneinfo
database used to generate the data.
51
System.getenv("ANDROID_ROOT") + "/usr/share/
zoneinfo
/";
56
private static final String ZONE_FILE_NAME = ZONE_DIRECTORY_NAME + "
zoneinfo
.dat";
60
* the
zoneinfo
.dat file.
62
private static final String INDEX_FILE_NAME = ZONE_DIRECTORY_NAME + "
zoneinfo
.idx";
80
* into "
zoneinfo
.dat" of each time zone, and 'rawUtcOffsets' gives the time zone's
98
byte[] bytes = IoUtils.readFileAsByteArray(ZONE_DIRECTORY_NAME + "
zoneinfo
.version");
229
return new
ZoneInfo
(id, transitions, type, gmtOffsets, isDsts);
/bionic/libc/tools/zoneinfo/
ZoneInfo.java
23
* Copied from
ZoneInfo
and ZoneInfoDB in dalvik.
26
public class
ZoneInfo
extends TimeZone {
53
public static
ZoneInfo
make(String name, byte[] data) {
79
return new
ZoneInfo
(name, transitions, type, gmtoff, isdst, abbrev, data, base);
89
/*package*/
ZoneInfo
(String name, int[] transitions, byte[] type,
239
if (!(obj instanceof
ZoneInfo
)) {
242
ZoneInfo
other = (
ZoneInfo
) obj;
generate
11
bionic_zoneinfo_dir=$bionic_dir/libc/
zoneinfo
12
bionic_zoneinfo_tools_dir=$bionic_dir/libc/tools/
zoneinfo
14
echo "Can't find bionic's
zoneinfo
directories!"
27
zoneinfo_version_file=$bionic_zoneinfo_dir/
zoneinfo
.version
74
$bionic_zoneinfo_tools_dir/
ZoneInfo
.java
78
mv
zoneinfo
.dat
zoneinfo
.idx $bionic_zoneinfo_dir
79
echo $latest_version | sed 's/tzdata//' > $bionic_zoneinfo_dir/
zoneinfo
.version
ZoneCompactor.java
30
// <produces
zoneinfo
.dat and
zoneinfo
.idx>
84
File zoneInfoFile = new File("
zoneinfo
.dat");
86
OutputStream
zoneInfo
= new FileOutputStream(zoneInfoFile);
108
byte[] data = copyFile(f,
zoneInfo
);
110
TimeZone tz =
ZoneInfo
.make(s, data);
116
zoneInfo
.close();
129
File idxFile = new File("
zoneinfo
.idx");
/external/icu4c/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
...]
Completed in 2568 milliseconds