Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals

datetime.hpp

Go to the documentation of this file.
00001 /* 00002 * ==================================================================== 00003 * Copyright (c) 2002-2004 The RapidSvn Group. All rights reserved. 00004 * 00005 * This software is licensed as described in the file LICENSE.txt, 00006 * which you should have received as part of this distribution. 00007 * 00008 * This software consists of voluntary contributions made by many 00009 * individuals. For exact contribution history, see the revision 00010 * history and logs, available at http://rapidsvn.tigris.org/. 00011 * ==================================================================== 00012 */ 00013 00014 #ifndef _SVNCPP_DATETIME_HPP_ 00015 #define _SVNCPP_DATETIME_HPP_ 00016 00017 // subversion api 00018 #include "svn_types.h" 00019 00020 00021 namespace svn 00022 { 00028 class DateTime 00029 { 00030 private: 00031 apr_time_t m_time; 00032 00033 public: 00034 00038 DateTime (); 00039 00045 DateTime (const apr_time_t time); 00046 00052 DateTime (const DateTime & dateTime); 00053 00057 const DateTime & 00058 operator =(const DateTime & dateTime); 00059 00063 const bool 00064 operator ==(const DateTime & dateTime); 00065 00069 const bool 00070 operator !=(const DateTime & dateTime); 00071 00075 const bool 00076 IsValid () const; 00077 00081 const apr_time_t 00082 GetAPRTimeT () const; 00083 00094 const bool 00095 SetRFC822Date (const char* date); 00096 }; 00097 } 00098 00099 #endif 00100 /* ----------------------------------------------------------------- 00101 * local variables: 00102 * eval: (load-file "../../rapidsvn-dev.el") 00103 * end: 00104 */

Generated on Fri Sep 3 00:33:07 2004 for SvnCpp by doxygen 1.3.8