OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [util/] [ZoneInfo.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_util_ZoneInfo__
5
#define __gnu_java_util_ZoneInfo__
6
 
7
#pragma interface
8
 
9
#include <java/util/TimeZone.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace util
19
      {
20
          class ZoneInfo;
21
      }
22
    }
23
  }
24
}
25
 
26
class gnu::java::util::ZoneInfo : public ::java::util::TimeZone
27
{
28
 
29
public:
30
  ZoneInfo(jint, ::java::lang::String *, JArray< jlong > *, ::java::util::SimpleTimeZone *);
31
  virtual jint getOffset(jint, jint, jint, jint, jint, jint);
32
private:
33
  jlong findTransition(jlong);
34
public:
35
  virtual jint getOffset(jlong);
36
  virtual jint getRawOffset();
37
  virtual void setRawOffset(jint);
38
private:
39
  void computeDSTSavings();
40
public:
41
  virtual jint getDSTSavings();
42
  virtual jboolean useDaylightTime();
43
  virtual jboolean inDaylightTime(::java::util::Date *);
44
  virtual jint hashCode();
45
  virtual jboolean equals(::java::lang::Object *);
46
  virtual jboolean hasSameRules(::java::util::TimeZone *);
47
  virtual ::java::lang::String * toString();
48
  static ::java::util::TimeZone * readTZFile(::java::lang::String *, ::java::lang::String *);
49
private:
50
  static void skipFully(::java::io::InputStream *, jlong);
51
  static ::java::util::SimpleTimeZone * createLastRule(::java::lang::String *);
52
  static JArray< jint > * getDateParams(::java::lang::String *);
53
  static jint parseTime(::java::lang::String *);
54
  static const jint SECS_SHIFT = 22;
55
  static const jlong OFFSET_MASK = 2097151LL;
56
  static const jint OFFSET_SHIFT = 43;
57
  static const jlong IS_DST = 2097152LL;
58
  jint __attribute__((aligned(__alignof__( ::java::util::TimeZone)))) rawOffset;
59
  jint dstSavings;
60
  jboolean useDaylight;
61
  JArray< jlong > * transitions;
62
  ::java::util::SimpleTimeZone * lastRule;
63
  static ::java::util::SimpleTimeZone * gmtZone;
64
public: // actually package-private
65
  static const jlong serialVersionUID = -3740626706860383657LL;
66
public:
67
  static ::java::lang::Class class$;
68
};
69
 
70
#endif // __gnu_java_util_ZoneInfo__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.