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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [text/] [DateFormat.h] - Blame information for rev 774

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_text_DateFormat__
5
#define __java_text_DateFormat__
6
 
7
#pragma interface
8
 
9
#include <java/text/Format.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace text
17
    {
18
        class DateFormat;
19
        class FieldPosition;
20
        class NumberFormat;
21
        class ParsePosition;
22
    }
23
  }
24
}
25
 
26
class java::text::DateFormat : public ::java::text::Format
27
{
28
 
29
public: // actually protected
30
  DateFormat();
31
public:
32
  virtual jboolean equals(::java::lang::Object *);
33
  virtual ::java::lang::Object * clone();
34
  virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
35
  virtual ::java::lang::String * format(::java::util::Date *);
36
  virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *) = 0;
37
  static JArray< ::java::util::Locale * > * getAvailableLocales();
38
  virtual ::java::util::Calendar * getCalendar();
39
private:
40
  static ::java::text::DateFormat * computeInstance(jint, ::java::util::Locale *, jboolean, jboolean);
41
  static ::java::text::DateFormat * computeInstance(jint, jint, ::java::util::Locale *, jboolean, jboolean);
42
  static ::java::text::DateFormat * computeDefault(jint, jint, jboolean, jboolean);
43
public:
44
  static ::java::text::DateFormat * getDateInstance();
45
  static ::java::text::DateFormat * getDateInstance(jint);
46
  static ::java::text::DateFormat * getDateInstance(jint, ::java::util::Locale *);
47
  static ::java::text::DateFormat * getDateTimeInstance();
48
  static ::java::text::DateFormat * getDateTimeInstance(jint, jint);
49
  static ::java::text::DateFormat * getDateTimeInstance(jint, jint, ::java::util::Locale *);
50
  static ::java::text::DateFormat * getInstance();
51
  virtual ::java::text::NumberFormat * getNumberFormat();
52
  static ::java::text::DateFormat * getTimeInstance();
53
  static ::java::text::DateFormat * getTimeInstance(jint);
54
  static ::java::text::DateFormat * getTimeInstance(jint, ::java::util::Locale *);
55
  virtual ::java::util::TimeZone * getTimeZone();
56
  virtual jint hashCode();
57
  virtual jboolean isLenient();
58
  virtual ::java::util::Date * parse(::java::lang::String *);
59
  virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *) = 0;
60
  virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *);
61
  virtual void setCalendar(::java::util::Calendar *);
62
  virtual void setLenient(jboolean);
63
  virtual void setNumberFormat(::java::text::NumberFormat *);
64
  virtual void setTimeZone(::java::util::TimeZone *);
65
private:
66
  static const jlong serialVersionUID = 7218322306649953788LL;
67
public: // actually protected
68
  ::java::util::Calendar * __attribute__((aligned(__alignof__( ::java::text::Format)))) calendar;
69
  ::java::text::NumberFormat * numberFormat;
70
public:
71
  static const jint FULL = 0;
72
  static const jint LONG = 1;
73
  static const jint MEDIUM = 2;
74
  static const jint SHORT = 3;
75
  static const jint DEFAULT = 2;
76
  static const jint ERA_FIELD = 0;
77
  static const jint YEAR_FIELD = 1;
78
  static const jint MONTH_FIELD = 2;
79
  static const jint DATE_FIELD = 3;
80
  static const jint HOUR_OF_DAY1_FIELD = 4;
81
  static const jint HOUR_OF_DAY0_FIELD = 5;
82
  static const jint MINUTE_FIELD = 6;
83
  static const jint SECOND_FIELD = 7;
84
  static const jint MILLISECOND_FIELD = 8;
85
  static const jint DAY_OF_WEEK_FIELD = 9;
86
  static const jint DAY_OF_YEAR_FIELD = 10;
87
  static const jint DAY_OF_WEEK_IN_MONTH_FIELD = 11;
88
  static const jint WEEK_OF_YEAR_FIELD = 12;
89
  static const jint WEEK_OF_MONTH_FIELD = 13;
90
  static const jint AM_PM_FIELD = 14;
91
  static const jint HOUR1_FIELD = 15;
92
  static const jint HOUR0_FIELD = 16;
93
  static const jint TIMEZONE_FIELD = 17;
94
  static ::java::lang::Class class$;
95
};
96
 
97
#endif // __java_text_DateFormat__

powered by: WebSVN 2.1.0

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