2016-06-16 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / libjava / java / sql / Timestamp.h
blob90333692e72d5c246860d1b2f437d6f1a8f77543
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_sql_Timestamp__
5 #define __java_sql_Timestamp__
7 #pragma interface
9 #include <java/util/Date.h>
10 extern "Java"
12 namespace java
14 namespace sql
16 class Timestamp;
18 namespace text
20 class DecimalFormat;
21 class SimpleDateFormat;
26 class java::sql::Timestamp : public ::java::util::Date
29 public:
30 static ::java::sql::Timestamp * valueOf(::java::lang::String *);
31 Timestamp(jint, jint, jint, jint, jint, jint, jint);
32 Timestamp(jlong);
33 virtual jlong getTime();
34 virtual ::java::lang::String * toString();
35 virtual jint getNanos();
36 virtual void setNanos(jint);
37 virtual jboolean before(::java::sql::Timestamp *);
38 virtual jboolean after(::java::sql::Timestamp *);
39 virtual jboolean equals(::java::lang::Object *);
40 virtual jboolean equals(::java::sql::Timestamp *);
41 virtual jint compareTo(::java::sql::Timestamp *);
42 virtual jint Date$compareTo(::java::util::Date *);
43 public: // actually package-private
44 static const jlong serialVersionUID = 2745179027874758501LL;
45 private:
46 static ::java::text::SimpleDateFormat * dateFormat;
47 static ::java::text::DecimalFormat * decimalFormat;
48 static ::java::lang::StringBuffer * sbuf;
49 jint __attribute__((aligned(__alignof__( ::java::util::Date)))) nanos;
50 public:
51 static ::java::lang::Class class$;
54 #endif // __java_sql_Timestamp__