Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:35:24

0001 #ifndef DATE_TIME_TIME_PRECISION_LIMITS_HPP
0002 #define DATE_TIME_TIME_PRECISION_LIMITS_HPP
0003 
0004 /* Copyright (c) 2002,2003 CrystalClear Software, Inc.
0005  * Use, modification and distribution is subject to the 
0006  * Boost Software License, Version 1.0. (See accompanying
0007  * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
0008  * Author: Jeff Garland 
0009  * $Date$
0010  */
0011 
0012 
0013 
0014 /*! \file time_defs.hpp 
0015   This file contains nice definitions for handling the resoluion of various time
0016   reprsentations.
0017 */
0018 
0019 namespace boost {
0020 namespace date_time {
0021 
0022   //!Defines some nice types for handling time level resolutions
0023   enum time_resolutions {
0024     sec,
0025     tenth,
0026     hundreth, // deprecated misspelled version of hundredth
0027     hundredth = hundreth,
0028     milli,
0029     ten_thousandth,
0030     micro,
0031     nano,
0032     NumResolutions
0033   };
0034 
0035   //! Flags for daylight savings or summer time
0036   enum dst_flags {not_dst, is_dst, calculate};
0037 
0038 
0039 } } //namespace date_time
0040 
0041 
0042 
0043 #endif