annotate DEPENDENCIES/generic/include/boost/date_time/time_defs.hpp @ 133:4acb5d8d80b6
tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author |
Chris Cannam |
date |
Tue, 30 Jul 2019 12:25:44 +0100 |
parents |
c530137014c0 |
children |
|
rev |
line source |
Chris@16
|
1 #ifndef DATE_TIME_TIME_PRECISION_LIMITS_HPP
|
Chris@16
|
2 #define DATE_TIME_TIME_PRECISION_LIMITS_HPP
|
Chris@16
|
3
|
Chris@16
|
4 /* Copyright (c) 2002,2003 CrystalClear Software, Inc.
|
Chris@16
|
5 * Use, modification and distribution is subject to the
|
Chris@16
|
6 * Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
7 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
8 * Author: Jeff Garland
|
Chris@101
|
9 * $Date$
|
Chris@16
|
10 */
|
Chris@16
|
11
|
Chris@16
|
12
|
Chris@16
|
13
|
Chris@16
|
14 /*! \file time_defs.hpp
|
Chris@16
|
15 This file contains nice definitions for handling the resoluion of various time
|
Chris@16
|
16 reprsentations.
|
Chris@16
|
17 */
|
Chris@16
|
18
|
Chris@16
|
19 namespace boost {
|
Chris@16
|
20 namespace date_time {
|
Chris@16
|
21
|
Chris@16
|
22 //!Defines some nice types for handling time level resolutions
|
Chris@16
|
23 enum time_resolutions {
|
Chris@16
|
24 sec,
|
Chris@16
|
25 tenth,
|
Chris@16
|
26 hundreth, // deprecated misspelled version of hundredth
|
Chris@16
|
27 hundredth = hundreth,
|
Chris@16
|
28 milli,
|
Chris@16
|
29 ten_thousandth,
|
Chris@16
|
30 micro,
|
Chris@16
|
31 nano,
|
Chris@16
|
32 NumResolutions
|
Chris@16
|
33 };
|
Chris@16
|
34
|
Chris@16
|
35 //! Flags for daylight savings or summer time
|
Chris@16
|
36 enum dst_flags {not_dst, is_dst, calculate};
|
Chris@16
|
37
|
Chris@16
|
38
|
Chris@16
|
39 } } //namespace date_time
|
Chris@16
|
40
|
Chris@16
|
41
|
Chris@16
|
42
|
Chris@16
|
43 #endif
|