Chris@16: #ifndef DATE_TIME_TIME_PRECISION_LIMITS_HPP Chris@16: #define DATE_TIME_TIME_PRECISION_LIMITS_HPP Chris@16: Chris@16: /* Copyright (c) 2002,2003 CrystalClear Software, Inc. Chris@16: * Use, modification and distribution is subject to the Chris@16: * Boost Software License, Version 1.0. (See accompanying Chris@16: * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) Chris@16: * Author: Jeff Garland Chris@101: * $Date$ Chris@16: */ Chris@16: Chris@16: Chris@16: Chris@16: /*! \file time_defs.hpp Chris@16: This file contains nice definitions for handling the resoluion of various time Chris@16: reprsentations. Chris@16: */ Chris@16: Chris@16: namespace boost { Chris@16: namespace date_time { Chris@16: Chris@16: //!Defines some nice types for handling time level resolutions Chris@16: enum time_resolutions { Chris@16: sec, Chris@16: tenth, Chris@16: hundreth, // deprecated misspelled version of hundredth Chris@16: hundredth = hundreth, Chris@16: milli, Chris@16: ten_thousandth, Chris@16: micro, Chris@16: nano, Chris@16: NumResolutions Chris@16: }; Chris@16: Chris@16: //! Flags for daylight savings or summer time Chris@16: enum dst_flags {not_dst, is_dst, calculate}; Chris@16: Chris@16: Chris@16: } } //namespace date_time Chris@16: Chris@16: Chris@16: Chris@16: #endif