summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/http/HTTPDateFormat.h
blob: 2a305bac87ca26326bfb0583cc9f7f7bb08b1e2d (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_net_protocol_http_HTTPDateFormat__
#define __gnu_java_net_protocol_http_HTTPDateFormat__

#pragma interface

#include <java/text/DateFormat.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace net
      {
        namespace protocol
        {
          namespace http
          {
              class HTTPDateFormat;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace text
    {
        class FieldPosition;
        class NumberFormat;
        class ParsePosition;
    }
  }
}

class gnu::java::net::protocol::http::HTTPDateFormat : public ::java::text::DateFormat
{

public:
  HTTPDateFormat();
  virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
  virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *);
private:
  jint skipWhitespace(::java::lang::String *, jint);
  jint skipNonWhitespace(::java::lang::String *, jint);
  jint skipTo(::java::lang::String *, jint, jchar);
public:
  virtual void setCalendar(::java::util::Calendar *);
  virtual void setNumberFormat(::java::text::NumberFormat *);
public: // actually package-private
  static JArray< ::java::lang::String * > * DAYS_OF_WEEK;
  static JArray< ::java::lang::String * > * MONTHS;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_net_protocol_http_HTTPDateFormat__