1
#ifndef GREG_DURATION_HPP___
2
#define GREG_DURATION_HPP___
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.txt or http://www.boost.org/LICENSE_1_0.txt)
8
* Author: Jeff Garland, Bart Garst
9
* $Date: 2008-02-27 15:00:24 -0500 (Wed, 27 Feb 2008) $
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"
16
#include "boost/date_time/int_adapter.hpp"
23
//!An internal date representation that includes infinities, not a date
24
typedef boost::date_time::duration_traits_adapted date_duration_rep;
26
//! Durations in days for gregorian system
27
/*! \ingroup date_basics
29
typedef date_time::date_duration<date_duration_rep> date_duration;
31
//! Shorthand for date_duration
32
typedef date_duration days;
34
} } //namespace gregorian