summaryrefslogtreecommitdiff
path: root/libjava/java/util/Date.h
blob: 0f801d87aa005bede32bb82db5417745d5703bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_Date__
#define __java_util_Date__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>


class java::util::Date : public ::java::lang::Object
{

public:
  Date();
  Date(jlong);
  Date(jint, jint, jint);
  Date(jint, jint, jint, jint, jint);
  Date(jint, jint, jint, jint, jint, jint);
  Date(::java::lang::String *);
  virtual ::java::lang::Object * clone();
  static jlong UTC(jint, jint, jint, jint, jint, jint);
  virtual jlong getTime();
  virtual jint getTimezoneOffset();
  virtual void setTime(jlong);
  virtual jboolean after(::java::util::Date *);
  virtual jboolean before(::java::util::Date *);
  virtual jboolean equals(::java::lang::Object *);
  virtual jint Date$compareTo(::java::util::Date *);
  virtual jint hashCode();
  virtual ::java::lang::String * toString();
  virtual ::java::lang::String * toLocaleString();
  virtual ::java::lang::String * toGMTString();
private:
  static jint parseTz(::java::lang::String *, jchar);
  static jint parseMonth(::java::lang::String *);
  static jboolean parseDayOfWeek(::java::lang::String *);
public:
  static jlong parse(::java::lang::String *);
  virtual jint getYear();
  virtual void setYear(jint);
  virtual jint getMonth();
  virtual void setMonth(jint);
  virtual jint getDate();
  virtual void setDate(jint);
  virtual jint getDay();
  virtual jint getHours();
  virtual void setHours(jint);
  virtual jint getMinutes();
  virtual void setMinutes(jint);
  virtual jint getSeconds();
  virtual void setSeconds(jint);
private:
  void readObject(::java::io::ObjectInputStream *);
  void writeObject(::java::io::ObjectOutputStream *);
public:
  virtual jint compareTo(::java::lang::Object *);
private:
  static const jlong serialVersionUID = 7523967970034938905LL;
  jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) time;
  static JArray< ::java::lang::String * > * weekNames;
  static JArray< ::java::lang::String * > * monthNames;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_Date__