source: NonGTP/Boost/boost/date_time/local_time/local_time_types.hpp @ 857

Revision 857, 1.6 KB checked in by igarcia, 18 years ago (diff)
Line 
1#ifndef LOCAL_TIME_LOCAL_TIME_TYPES_HPP__
2#define LOCAL_TIME_LOCAL_TIME_TYPES_HPP__
3
4/* Copyright (c) 2003-2004 CrystalClear Software, Inc.
5 * Subject to the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
7 * Author: Jeff Garland, Bart Garst
8 * $Date: 2005/05/11 13:01:53 $
9 */
10
11#include "boost/date_time/local_time/local_date_time.hpp"
12#include "boost/date_time/period.hpp"
13#include "boost/date_time/time_iterator.hpp"
14#include "boost/date_time/compiler_config.hpp"
15#if defined(BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES)
16#include "boost/date_time/local_time/date_duration_operators.hpp"
17#endif //BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES
18#include "boost/date_time/local_time/custom_time_zone.hpp"
19
20namespace boost {
21namespace local_time {
22
23  typedef boost::date_time::period<local_date_time,
24                                   boost::posix_time::time_duration> local_time_period;
25
26  typedef date_time::time_itr<local_date_time> local_time_iterator;
27
28  typedef date_time::second_clock<local_date_time> local_sec_clock;
29  typedef date_time::microsec_clock<local_date_time> local_microsec_clock;
30  //! Shared Pointer for time_zone and posix_time_zone objects
31  typedef boost::shared_ptr<time_zone> time_zone_ptr;
32 
33  //bring special enum values into the namespace
34  using date_time::special_values;
35  using date_time::not_special;
36  using date_time::neg_infin;
37  using date_time::pos_infin;
38  using date_time::not_a_date_time;
39  using date_time::max_date_time;
40  using date_time::min_date_time;
41
42}} // namespaces
43
44#endif // LOCAL_TIME_LOCAL_TIME_TYPES_HPP__
Note: See TracBrowser for help on using the repository browser.