blob: dbdb8169f23250ca12767104ab997e58490fa4f5 [file] [log] [blame]
// 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__