SvnCpp
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
include
svncpp
datetime.hpp
Go to the documentation of this file.
1
/*
2
* ====================================================================
3
* Copyright (c) 2002-2009 The RapidSvn Group. All rights reserved.
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program (in the file GPL.txt.
17
* If not, see <http://www.gnu.org/licenses/>.
18
*
19
* This software consists of voluntary contributions made by many
20
* individuals. For exact contribution history, see the revision
21
* history and logs, available at http://rapidsvn.tigris.org/.
22
* ====================================================================
23
*/
24
25
#ifndef _SVNCPP_DATETIME_HPP_
26
#define _SVNCPP_DATETIME_HPP_
27
28
// subversion api
29
#include "svn_types.h"
30
31
32
namespace
svn
33
{
39
class
DateTime
40
{
41
private
:
42
apr_time_t m_time;
43
44
public
:
45
49
DateTime
();
50
56
DateTime
(
const
apr_time_t time);
57
63
DateTime
(
const
DateTime
& dateTime);
64
68
const
DateTime
&
69
operator =
(
const
DateTime
& dateTime);
70
74
bool
75
operator ==
(
const
DateTime
& dateTime);
76
80
bool
81
operator !=
(
const
DateTime
& dateTime);
82
86
bool
87
IsValid
()
const
;
88
92
apr_time_t
93
GetAPRTimeT
()
const
;
94
105
bool
106
SetRFC822Date
(
const
char
* date);
107
};
108
}
109
110
#endif
111
/* -----------------------------------------------------------------
112
* local variables:
113
* eval: (load-file "../../rapidsvn-dev.el")
114
* end:
115
*/
Generated on Sat Mar 15 2014 19:01:32 for SvnCpp by
1.8.1.2