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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_Calendar__
5
#define __java_util_Calendar__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::Calendar : public ::java::lang::Object
14
{
15
 
16
  static ::java::util::ResourceBundle * getBundle(::java::util::Locale *);
17
public: // actually protected
18
  Calendar();
19
  Calendar(::java::util::TimeZone *, ::java::util::Locale *);
20
public:
21
  static ::java::util::Calendar * getInstance();
22
  static ::java::util::Calendar * getInstance(::java::util::TimeZone *);
23
  static ::java::util::Calendar * getInstance(::java::util::Locale *);
24
  static ::java::util::Calendar * getInstance(::java::util::TimeZone *, ::java::util::Locale *);
25
  static JArray< ::java::util::Locale * > * getAvailableLocales();
26
public: // actually protected
27
  virtual void computeTime() = 0;
28
  virtual void computeFields() = 0;
29
public:
30
  virtual ::java::util::Date * getTime();
31
  virtual void setTime(::java::util::Date *);
32
  virtual jlong getTimeInMillis();
33
  virtual void setTimeInMillis(jlong);
34
  virtual jint get(jint);
35
public: // actually protected
36
  virtual jint internalGet(jint);
37
public:
38
  virtual void set(jint, jint);
39
  virtual void set(jint, jint, jint);
40
  virtual void set(jint, jint, jint, jint, jint);
41
  virtual void set(jint, jint, jint, jint, jint, jint);
42
  virtual void clear();
43
  virtual void clear(jint);
44
  virtual jboolean isSet(jint);
45
public: // actually protected
46
  virtual void complete();
47
public:
48
  virtual jboolean equals(::java::lang::Object *);
49
  virtual jint hashCode();
50
  virtual jboolean before(::java::lang::Object *);
51
  virtual jboolean after(::java::lang::Object *);
52
  virtual void add(jint, jint) = 0;
53
  virtual void roll(jint, jboolean) = 0;
54
  virtual void roll(jint, jint);
55
  virtual void setTimeZone(::java::util::TimeZone *);
56
  virtual ::java::util::TimeZone * getTimeZone();
57
  virtual void setLenient(jboolean);
58
  virtual jboolean isLenient();
59
  virtual void setFirstDayOfWeek(jint);
60
  virtual jint getFirstDayOfWeek();
61
  virtual void setMinimalDaysInFirstWeek(jint);
62
  virtual jint getMinimalDaysInFirstWeek();
63
  virtual jint getMinimum(jint) = 0;
64
  virtual jint getMaximum(jint) = 0;
65
  virtual jint getGreatestMinimum(jint) = 0;
66
  virtual jint getLeastMaximum(jint) = 0;
67
  virtual jint getActualMinimum(jint);
68
  virtual jint getActualMaximum(jint);
69
  virtual jint Calendar$compareTo(::java::util::Calendar *);
70
  virtual ::java::lang::Object * clone();
71
  virtual ::java::lang::String * toString();
72
private:
73
  void writeObject(::java::io::ObjectOutputStream *);
74
  void readObject(::java::io::ObjectInputStream *);
75
public:
76
  virtual ::java::lang::String * getDisplayName(jint, jint, ::java::util::Locale *);
77
  virtual ::java::util::Map * getDisplayNames(jint, jint, ::java::util::Locale *);
78
  virtual jint compareTo(::java::lang::Object *);
79
  static const jint ERA = 0;
80
  static const jint YEAR = 1;
81
  static const jint MONTH = 2;
82
  static const jint WEEK_OF_YEAR = 3;
83
  static const jint WEEK_OF_MONTH = 4;
84
  static const jint DATE = 5;
85
  static const jint DAY_OF_MONTH = 5;
86
  static const jint DAY_OF_YEAR = 6;
87
  static const jint DAY_OF_WEEK = 7;
88
  static const jint DAY_OF_WEEK_IN_MONTH = 8;
89
  static const jint AM_PM = 9;
90
  static const jint HOUR = 10;
91
  static const jint HOUR_OF_DAY = 11;
92
  static const jint MINUTE = 12;
93
  static const jint SECOND = 13;
94
  static const jint MILLISECOND = 14;
95
  static const jint ZONE_OFFSET = 15;
96
  static const jint DST_OFFSET = 16;
97
  static const jint FIELD_COUNT = 17;
98
  static const jint SUNDAY = 1;
99
  static const jint MONDAY = 2;
100
  static const jint TUESDAY = 3;
101
  static const jint WEDNESDAY = 4;
102
  static const jint THURSDAY = 5;
103
  static const jint FRIDAY = 6;
104
  static const jint SATURDAY = 7;
105
  static const jint JANUARY = 0;
106
  static const jint FEBRUARY = 1;
107
  static const jint MARCH = 2;
108
  static const jint APRIL = 3;
109
  static const jint MAY = 4;
110
  static const jint JUNE = 5;
111
  static const jint JULY = 6;
112
  static const jint AUGUST = 7;
113
  static const jint SEPTEMBER = 8;
114
  static const jint OCTOBER = 9;
115
  static const jint NOVEMBER = 10;
116
  static const jint DECEMBER = 11;
117
  static const jint UNDECIMBER = 12;
118
  static const jint AM = 0;
119
  static const jint PM = 1;
120
  static const jint ALL_STYLES = 0;
121
  static const jint SHORT = 1;
122
  static const jint LONG = 2;
123
public: // actually protected
124
  JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fields;
125
  JArray< jboolean > * isSet__;
126
  jlong time;
127
  jboolean isTimeSet;
128
  jboolean areFieldsSet;
129
private:
130
  ::java::util::TimeZone * zone;
131
  static ::java::lang::String * calendarClassName;
132
  jboolean lenient;
133
  jint firstDayOfWeek;
134
  jint minimalDaysInFirstWeek;
135
  jboolean explicitDSTOffset;
136
  jint serialVersionOnStream;
137
public: // actually package-private
138
  static const jlong serialVersionUID = -1807547505821590642LL;
139
private:
140
  static ::java::lang::String * bundleName;
141
  static ::java::util::Properties * properties;
142
  static ::java::util::HashMap * cache;
143
  static JArray< ::java::lang::Class * > * ctorArgTypes;
144
  static JArray< ::java::lang::String * > * fieldNames;
145
public:
146
  static ::java::lang::Class class$;
147
};
148
 
149
#endif // __java_util_Calendar__

powered by: WebSVN 2.1.0

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