source: NonGTP/Boost/boost/date_time/gregorian/greg_duration.hpp @ 857

Revision 857, 1.0 KB checked in by igarcia, 19 years ago (diff)
Line 
1#ifndef GREG_DURATION_HPP___
2#define GREG_DURATION_HPP___
3
4/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
5 * Use, modification and distribution is subject to the
6 * Boost Software License, Version 1.0. (See accompanying
7 * file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
8 * Author: Jeff Garland, Bart Garst
9 * $Date: 2004/06/30 00:01:20 $
10 */
11
12#include "boost/date_time/date_duration.hpp"
13#if defined(BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES)
14#include "boost/date_time/date_duration_types.hpp"
15#endif
16#include "boost/date_time/int_adapter.hpp"
17
18
19namespace boost {
20namespace gregorian {
21
22
23  //!An internal date representation that includes infinities, not a date
24  typedef boost::date_time::duration_traits_adapted date_duration_rep;
25
26  //! Durations in days for gregorian system
27  /*! \ingroup date_basics
28   */
29  typedef date_time::date_duration<date_duration_rep> date_duration;
30
31  //! Shorthand for date_duration
32  typedef date_duration days;
33
34} } //namespace gregorian
35
36
37
38#endif
Note: See TracBrowser for help on using the repository browser.