New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
local_time_types.hpp in vendors/XIOS/current/extern/boost/include/boost/date_time/local_time – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/date_time/local_time/local_time_types.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 2.0 KB
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.txt or http://www.boost.org/LICENSE_1_0.txt)
7 * Author: Jeff Garland, Bart Garst
8 * $Date: 2008-02-27 15:00:24 -0500 (Wed, 27 Feb 2008) $
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 
31  typedef date_time::time_zone_base<posix_time::ptime, char> time_zone;
32  typedef date_time::time_zone_base<posix_time::ptime, wchar_t> wtime_zone;
33
34  //! Shared Pointer for custom_time_zone and posix_time_zone objects
35  typedef boost::shared_ptr<time_zone> time_zone_ptr;
36  typedef boost::shared_ptr<wtime_zone> wtime_zone_ptr;
37 
38  typedef date_time::time_zone_names_base<char> time_zone_names;
39  typedef date_time::time_zone_names_base<wchar_t> wtime_zone_names;
40
41  //bring special enum values into the namespace
42  using date_time::special_values;
43  using date_time::not_special;
44  using date_time::neg_infin;
45  using date_time::pos_infin;
46  using date_time::not_a_date_time;
47  using date_time::max_date_time;
48  using date_time::min_date_time;
49
50}} // namespaces
51
52#endif // LOCAL_TIME_LOCAL_TIME_TYPES_HPP__
Note: See TracBrowser for help on using the repository browser.