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

Subversion Repositories openrisc

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

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_GregorianCalendar__
5
#define __java_util_GregorianCalendar__
6
 
7
#pragma interface
8
 
9
#include <java/util/Calendar.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::GregorianCalendar : public ::java::util::Calendar
14
{
15
 
16
public:
17
  GregorianCalendar();
18
  GregorianCalendar(::java::util::TimeZone *);
19
  GregorianCalendar(::java::util::Locale *);
20
  GregorianCalendar(::java::util::TimeZone *, ::java::util::Locale *);
21
private:
22
  GregorianCalendar(::java::util::TimeZone *, ::java::util::Locale *, jboolean);
23
public:
24
  GregorianCalendar(jint, jint, jint);
25
  GregorianCalendar(jint, jint, jint, jint, jint);
26
  GregorianCalendar(jint, jint, jint, jint, jint, jint);
27
  virtual void setGregorianChange(::java::util::Date *);
28
  virtual ::java::util::Date * getGregorianChange();
29
  virtual jboolean isLeapYear(jint);
30
private:
31
  jint getWeekDay(jint, jint);
32
  jint getFirstDayOfMonth(jint, jint);
33
  jboolean isGregorian(jint, jint);
34
  void nonLeniencyCheck();
35
public: // actually protected
36
  virtual void computeTime();
37
private:
38
  jlong getLinearDay(jint, jint, jboolean);
39
  void calculateDay(JArray< jint > *, jlong, jboolean);
40
public: // actually protected
41
  virtual void computeFields();
42
public:
43
  virtual jint hashCode();
44
  virtual jboolean equals(::java::lang::Object *);
45
  virtual void add(jint, jint);
46
  virtual void roll(jint, jboolean);
47
private:
48
  void cleanUpAfterRoll(jint, jint);
49
public:
50
  virtual void roll(jint, jint);
51
  virtual jint getMinimum(jint);
52
  virtual jint getMaximum(jint);
53
  virtual jint getGreatestMinimum(jint);
54
  virtual jint getLeastMaximum(jint);
55
  virtual jint getActualMinimum(jint);
56
  virtual jint getActualMaximum(jint);
57
  static const jint BC = 0;
58
  static const jint AD = 1;
59
private:
60
  jlong __attribute__((aligned(__alignof__( ::java::util::Calendar)))) gregorianCutover;
61
public: // actually package-private
62
  static const jlong serialVersionUID = -8125100834729963327LL;
63
private:
64
  static const jint EPOCH_DAYS = 719162;
65
  static JArray< jint > * minimums;
66
  static JArray< jint > * maximums;
67
public:
68
  static ::java::lang::Class class$;
69
};
70
 
71
#endif // __java_util_GregorianCalendar__

powered by: WebSVN 2.1.0

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