1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_TimeZone__
|
5 |
|
|
#define __java_util_TimeZone__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::util::TimeZone : public ::java::lang::Object
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public:
|
17 |
|
|
TimeZone();
|
18 |
|
|
private:
|
19 |
|
|
static ::java::util::TimeZone * defaultZone();
|
20 |
|
|
public: // actually package-private
|
21 |
|
|
static ::java::util::HashMap * timezones();
|
22 |
|
|
static ::java::util::TimeZone * getDefaultTimeZone(::java::lang::String *);
|
23 |
|
|
private:
|
24 |
|
|
static JArray< jint > * getDateParams(::java::lang::String *);
|
25 |
|
|
static jint parseTime(::java::lang::String *);
|
26 |
|
|
public:
|
27 |
|
|
virtual jint getOffset(jint, jint, jint, jint, jint, jint) = 0;
|
28 |
|
|
virtual jint getOffset(jlong);
|
29 |
|
|
virtual jint getRawOffset() = 0;
|
30 |
|
|
virtual void setRawOffset(jint) = 0;
|
31 |
|
|
virtual ::java::lang::String * getID();
|
32 |
|
|
virtual void setID(::java::lang::String *);
|
33 |
|
|
virtual ::java::lang::String * getDisplayName();
|
34 |
|
|
virtual ::java::lang::String * getDisplayName(::java::util::Locale *);
|
35 |
|
|
virtual ::java::lang::String * getDisplayName(jboolean, jint);
|
36 |
|
|
virtual ::java::lang::String * getDisplayName(jboolean, jint, ::java::util::Locale *);
|
37 |
|
|
private:
|
38 |
|
|
::java::lang::String * getDefaultDisplayName(jboolean);
|
39 |
|
|
public:
|
40 |
|
|
virtual jboolean useDaylightTime() = 0;
|
41 |
|
|
virtual jboolean inDaylightTime(::java::util::Date *) = 0;
|
42 |
|
|
virtual jint getDSTSavings();
|
43 |
|
|
private:
|
44 |
|
|
static ::java::util::TimeZone * getTimeZoneInternal(::java::lang::String *);
|
45 |
|
|
public:
|
46 |
|
|
static ::java::util::TimeZone * getTimeZone(::java::lang::String *);
|
47 |
|
|
static JArray< ::java::lang::String * > * getAvailableIDs(jint);
|
48 |
|
|
private:
|
49 |
|
|
static jint getAvailableIDs(::java::io::File *, ::java::lang::String *, ::java::util::ArrayList *);
|
50 |
|
|
public:
|
51 |
|
|
static JArray< ::java::lang::String * > * getAvailableIDs();
|
52 |
|
|
static ::java::util::TimeZone * getDefault();
|
53 |
|
|
static void setDefault(::java::util::TimeZone *);
|
54 |
|
|
virtual jboolean hasSameRules(::java::util::TimeZone *);
|
55 |
|
|
virtual ::java::lang::Object * clone();
|
56 |
|
|
static const jint SHORT = 0;
|
57 |
|
|
static const jint LONG = 1;
|
58 |
|
|
private:
|
59 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ID;
|
60 |
|
|
static ::java::util::TimeZone * defaultZone0;
|
61 |
|
|
static const jlong serialVersionUID = 3581463369166924961LL;
|
62 |
|
|
static ::java::lang::String * zoneinfo_dir;
|
63 |
|
|
static JArray< ::java::lang::String * > * availableIDs;
|
64 |
|
|
static ::java::util::HashMap * aliases0;
|
65 |
|
|
static ::java::util::HashMap * timezones0;
|
66 |
|
|
public:
|
67 |
|
|
static ::java::lang::Class class$;
|
68 |
|
|
};
|
69 |
|
|
|
70 |
|
|
#endif // __java_util_TimeZone__
|