e1bea0c068
2007-05-31 Matthias Klose <doko@ubuntu.com> * javax/management/NotificationBroadcasterSupport.java (getNotificationInfo): Add cast. * native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include directories. * native/jni/qt-peer/Makefile.in: Regenerate. libjava/ChangeLog: 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/natFileWin32.cc (setFilePermissions): New (stub only). _access: Handle EXEC query, stub only. 2007-06-03 Matthias Klose <doko@ubuntu.com> Merged from classpath: * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. * java/lang/System.java(inheritedChannel): New. * java/lang/Character.java: Remove stray`;'. * java/net/MulticastSocket.java: Merged. * java/text/DateFormatSymbols.java(getInstance): New, comment updates. * java/text/Collator.java(getInstance): Merged. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. getDisplayName, getDisplayNames: New. * java/util/logging/Logger.java: Merged. * Regenerate .class and .h files. 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/File.java: Merge with classpath-0.95, new method setFilePermissions, new attribute EXEC. * java/io/natFilePosix.cc (setFilePermissions): New. _access: Handle EXEC query. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. 2007-06-03 Matthias Klose <doko@ubuntu.com> Imported GNU Classpath 0.95. * classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/examples/Makefile.in: Regenerate. * classpath/config.guess, classpath/config.sub, classpath/ltmain.sh : Update. * classpath/configure, classpath/depcomp, classpath/missing, classpath/aclocal.m4, classpath/install-sh: Regenerate. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. * sources.am: Regenerate. * Makefile.in: Regenerate. * Update the .class files and generated CNI header files, add new .class and generated CNI header files. * Remove generated files for removed java source files: classpath/gnu/java/net/BASE64.java, classpath/gnu/java/security/util/Base64.java, classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, classpath/gnu/java/awt/font/autofit/Scaler.java, classpath/gnu/classpath/jdwp/util/Value.java, classpath/gnu/javax/net/ssl/Base64.java. * Remove empty directories. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. * java/lang/Class.java(setAccessible): Merge from classpath. * java/util/Locale.java: Remove. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. * gcj/javaprims.h: Update class declarations. * scripts/classes.pl: Update usage. * HACKING: Mention to build all peers. From-SVN: r125302
148 lines
5.0 KiB
C++
148 lines
5.0 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __java_util_Calendar__
|
|
#define __java_util_Calendar__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
#include <gcj/array.h>
|
|
|
|
|
|
class java::util::Calendar : public ::java::lang::Object
|
|
{
|
|
|
|
static ::java::util::ResourceBundle * getBundle(::java::util::Locale *);
|
|
public: // actually protected
|
|
Calendar();
|
|
Calendar(::java::util::TimeZone *, ::java::util::Locale *);
|
|
public:
|
|
static ::java::util::Calendar * getInstance();
|
|
static ::java::util::Calendar * getInstance(::java::util::TimeZone *);
|
|
static ::java::util::Calendar * getInstance(::java::util::Locale *);
|
|
static ::java::util::Calendar * getInstance(::java::util::TimeZone *, ::java::util::Locale *);
|
|
static JArray< ::java::util::Locale * > * getAvailableLocales();
|
|
public: // actually protected
|
|
virtual void computeTime() = 0;
|
|
virtual void computeFields() = 0;
|
|
public:
|
|
virtual ::java::util::Date * getTime();
|
|
virtual void setTime(::java::util::Date *);
|
|
virtual jlong getTimeInMillis();
|
|
virtual void setTimeInMillis(jlong);
|
|
virtual jint get(jint);
|
|
public: // actually protected
|
|
virtual jint internalGet(jint);
|
|
public:
|
|
virtual void set(jint, jint);
|
|
virtual void set(jint, jint, jint);
|
|
virtual void set(jint, jint, jint, jint, jint);
|
|
virtual void set(jint, jint, jint, jint, jint, jint);
|
|
virtual void clear();
|
|
virtual void clear(jint);
|
|
virtual jboolean isSet(jint);
|
|
public: // actually protected
|
|
virtual void complete();
|
|
public:
|
|
virtual jboolean equals(::java::lang::Object *);
|
|
virtual jint hashCode();
|
|
virtual jboolean before(::java::lang::Object *);
|
|
virtual jboolean after(::java::lang::Object *);
|
|
virtual void add(jint, jint) = 0;
|
|
virtual void roll(jint, jboolean) = 0;
|
|
virtual void roll(jint, jint);
|
|
virtual void setTimeZone(::java::util::TimeZone *);
|
|
virtual ::java::util::TimeZone * getTimeZone();
|
|
virtual void setLenient(jboolean);
|
|
virtual jboolean isLenient();
|
|
virtual void setFirstDayOfWeek(jint);
|
|
virtual jint getFirstDayOfWeek();
|
|
virtual void setMinimalDaysInFirstWeek(jint);
|
|
virtual jint getMinimalDaysInFirstWeek();
|
|
virtual jint getMinimum(jint) = 0;
|
|
virtual jint getMaximum(jint) = 0;
|
|
virtual jint getGreatestMinimum(jint) = 0;
|
|
virtual jint getLeastMaximum(jint) = 0;
|
|
virtual jint getActualMinimum(jint);
|
|
virtual jint getActualMaximum(jint);
|
|
virtual jint Calendar$compareTo(::java::util::Calendar *);
|
|
virtual ::java::lang::Object * clone();
|
|
virtual ::java::lang::String * toString();
|
|
private:
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
|
void readObject(::java::io::ObjectInputStream *);
|
|
public:
|
|
virtual ::java::lang::String * getDisplayName(jint, jint, ::java::util::Locale *);
|
|
virtual ::java::util::Map * getDisplayNames(jint, jint, ::java::util::Locale *);
|
|
virtual jint compareTo(::java::lang::Object *);
|
|
static const jint ERA = 0;
|
|
static const jint YEAR = 1;
|
|
static const jint MONTH = 2;
|
|
static const jint WEEK_OF_YEAR = 3;
|
|
static const jint WEEK_OF_MONTH = 4;
|
|
static const jint DATE = 5;
|
|
static const jint DAY_OF_MONTH = 5;
|
|
static const jint DAY_OF_YEAR = 6;
|
|
static const jint DAY_OF_WEEK = 7;
|
|
static const jint DAY_OF_WEEK_IN_MONTH = 8;
|
|
static const jint AM_PM = 9;
|
|
static const jint HOUR = 10;
|
|
static const jint HOUR_OF_DAY = 11;
|
|
static const jint MINUTE = 12;
|
|
static const jint SECOND = 13;
|
|
static const jint MILLISECOND = 14;
|
|
static const jint ZONE_OFFSET = 15;
|
|
static const jint DST_OFFSET = 16;
|
|
static const jint FIELD_COUNT = 17;
|
|
static const jint SUNDAY = 1;
|
|
static const jint MONDAY = 2;
|
|
static const jint TUESDAY = 3;
|
|
static const jint WEDNESDAY = 4;
|
|
static const jint THURSDAY = 5;
|
|
static const jint FRIDAY = 6;
|
|
static const jint SATURDAY = 7;
|
|
static const jint JANUARY = 0;
|
|
static const jint FEBRUARY = 1;
|
|
static const jint MARCH = 2;
|
|
static const jint APRIL = 3;
|
|
static const jint MAY = 4;
|
|
static const jint JUNE = 5;
|
|
static const jint JULY = 6;
|
|
static const jint AUGUST = 7;
|
|
static const jint SEPTEMBER = 8;
|
|
static const jint OCTOBER = 9;
|
|
static const jint NOVEMBER = 10;
|
|
static const jint DECEMBER = 11;
|
|
static const jint UNDECIMBER = 12;
|
|
static const jint AM = 0;
|
|
static const jint PM = 1;
|
|
static const jint ALL_STYLES = 0;
|
|
static const jint SHORT = 1;
|
|
static const jint LONG = 2;
|
|
public: // actually protected
|
|
JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fields;
|
|
JArray< jboolean > * isSet__;
|
|
jlong time;
|
|
jboolean isTimeSet;
|
|
jboolean areFieldsSet;
|
|
private:
|
|
::java::util::TimeZone * zone;
|
|
jboolean lenient;
|
|
jint firstDayOfWeek;
|
|
jint minimalDaysInFirstWeek;
|
|
jboolean explicitDSTOffset;
|
|
jint serialVersionOnStream;
|
|
public: // actually package-private
|
|
static const jlong serialVersionUID = -1807547505821590642LL;
|
|
private:
|
|
static ::java::lang::String * bundleName;
|
|
static ::java::util::HashMap * cache;
|
|
static JArray< ::java::lang::Class * > * ctorArgTypes;
|
|
static JArray< ::java::lang::String * > * fieldNames;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __java_util_Calendar__
|