Date.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_DATE_H
00002 #define JAVA_UTIL_DATE_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_H */
00007 
00008 namespace java {
00009   namespace util {
00010 
00100     class JAVA_UTIL_SPEC Date : virtual public Object, virtual public Comparable {
00101 
00102     public:
00103 
00111       Date();
00112 
00122       Date(jlong date);
00123 
00131       virtual jlong getTime() const;
00132 
00139       virtual void setTime(jlong time);
00140 
00150       virtual jboolean before(Date when) const;
00151 
00161       virtual jboolean after(Date when) const;
00162 
00178       virtual jboolean equals(const Object& obj) const;
00179 
00196       virtual jint compareTo(const Object& o) const;
00197 
00208       virtual jint hashCode() const;
00209 
00218       virtual String toString() const;
00219 
00220     protected:
00221 
00222     private:
00223 
00224       jlong fastTime;
00225 
00226       REGISTER_MEMBERS;
00227 
00228     };
00229 
00230   } // namespace util
00231 } // namespace java
00232 
00233 #endif /* JAVA_UTIL_DATE_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3