~ubuntu-branches/ubuntu/saucy/deal.ii/saucy

« back to all changes in this revision

Viewing changes to contrib/boost/include/boost/date_time/gregorian/greg_duration.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-05-08 23:13:50 UTC
  • Revision ID: james.westby@ubuntu.com-20090508231350-rrh1ltgi0tifabwc
Tags: upstream-6.2.0
ImportĀ upstreamĀ versionĀ 6.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.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) $
 
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
 
 
19
namespace boost {
 
20
namespace 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