summaryrefslogtreecommitdiff
path: root/libjava/javax/xml/datatype/Duration.h
blob: 84f9782b254f47c5f5c35cf4270857f879468876 (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
63
64
65
66
67
68
69
70
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_xml_datatype_Duration__
#define __javax_xml_datatype_Duration__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigDecimal;
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace datatype
      {
          class DatatypeConstants$Field;
          class Duration;
      }
      namespace namespace$
      {
          class QName;
      }
    }
  }
}

class javax::xml::datatype::Duration : public ::java::lang::Object
{

public:
  Duration();
  virtual ::javax::xml::namespace$::QName * getXMLSchemaType();
  virtual jint getSign() = 0;
  virtual jint getYears();
  virtual jint getMonths();
  virtual jint getDays();
  virtual jint getHours();
  virtual jint getMinutes();
  virtual jint getSeconds();
  virtual jlong getTimeInMillis(::java::util::Calendar *);
  virtual jlong getTimeInMillis(::java::util::Date *);
  virtual ::java::lang::Number * getField(::javax::xml::datatype::DatatypeConstants$Field *) = 0;
  virtual jboolean isSet(::javax::xml::datatype::DatatypeConstants$Field *) = 0;
  virtual ::javax::xml::datatype::Duration * add(::javax::xml::datatype::Duration *) = 0;
  virtual void addTo(::java::util::Calendar *) = 0;
  virtual void addTo(::java::util::Date *);
  virtual ::javax::xml::datatype::Duration * subtract(::javax::xml::datatype::Duration *);
  virtual ::javax::xml::datatype::Duration * multiply(jint);
  virtual ::javax::xml::datatype::Duration * multiply(::java::math::BigDecimal *) = 0;
  virtual ::javax::xml::datatype::Duration * negate() = 0;
  virtual ::javax::xml::datatype::Duration * normalizeWith(::java::util::Calendar *) = 0;
  virtual jint compare(::javax::xml::datatype::Duration *) = 0;
  virtual jboolean isLongerThan(::javax::xml::datatype::Duration *);
  virtual jboolean isShorterThan(::javax::xml::datatype::Duration *);
  virtual jboolean equals(::java::lang::Object *);
  virtual jint hashCode() = 0;
  virtual ::java::lang::String * toString();
  static ::java::lang::Class class$;
};

#endif // __javax_xml_datatype_Duration__