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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_text_SimpleDateFormat__
#define __java_text_SimpleDateFormat__
#pragma interface
#include <java/text/DateFormat.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace text
{
class FormatBuffer;
}
}
}
namespace java
{
namespace text
{
class AttributedCharacterIterator;
class DateFormatSymbols;
class FieldPosition;
class ParsePosition;
class SimpleDateFormat;
}
}
}
class java::text::SimpleDateFormat : public ::java::text::DateFormat
{
void readObject(::java::io::ObjectInputStream *);
void compileFormat(::java::lang::String *);
public:
virtual ::java::lang::String * toString();
SimpleDateFormat();
SimpleDateFormat(::java::lang::String *);
SimpleDateFormat(::java::lang::String *, ::java::util::Locale *);
SimpleDateFormat(::java::lang::String *, ::java::text::DateFormatSymbols *);
virtual ::java::lang::String * toPattern();
virtual ::java::lang::String * toLocalizedPattern();
virtual void applyPattern(::java::lang::String *);
virtual void applyLocalizedPattern(::java::lang::String *);
private:
::java::lang::String * translateLocalizedPattern(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
public:
virtual ::java::util::Date * get2DigitYearStart();
virtual void set2DigitYearStart(::java::util::Date *);
virtual ::java::text::DateFormatSymbols * getDateFormatSymbols();
virtual void setDateFormatSymbols(::java::text::DateFormatSymbols *);
virtual jboolean equals(::java::lang::Object *);
virtual jint hashCode();
private:
void formatWithAttribute(::java::util::Date *, ::gnu::java::text::FormatBuffer *, ::java::text::FieldPosition *);
public:
virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
private:
void withLeadingZeros(jint, jint, ::gnu::java::text::FormatBuffer *);
jboolean expect(::java::lang::String *, ::java::text::ParsePosition *, jchar);
public:
virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *);
private:
::java::lang::Integer * computeOffset(::java::lang::String *, ::java::text::ParsePosition *);
void computeCenturyStart();
public:
virtual ::java::lang::Object * clone();
private:
::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::text::DateFormat)))) tokens;
::java::text::DateFormatSymbols * formatData;
::java::util::Date * defaultCenturyStart;
jint defaultCentury;
::java::lang::String * pattern;
jint serialVersionOnStream;
static const jlong serialVersionUID = 4774881970558875024LL;
static ::java::lang::String * standardChars;
static const jint RFC822_TIMEZONE_FIELD = 23;
public:
static ::java::lang::Class class$;
};
#endif // __java_text_SimpleDateFormat__
|