date_defs.hpp 701 B

1234567891011121314151617181920212223242526
  1. #ifndef DATE_TIME_DATE_DEFS_HPP
  2. #define DATE_TIME_DATE_DEFS_HPP
  3. /* Copyright (c) 2002,2003 CrystalClear Software, Inc.
  4. * Use, modification and distribution is subject to the
  5. * Boost Software License, Version 1.0. (See accompanying
  6. * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
  7. * Author: Jeff Garland
  8. * $Date$
  9. */
  10. namespace boost {
  11. namespace date_time {
  12. //! An enumeration of weekday names
  13. enum weekdays {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday};
  14. //! Simple enum to allow for nice programming with Jan, Feb, etc
  15. enum months_of_year {Jan=1,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,NotAMonth,NumMonths};
  16. } } //namespace date_time
  17. #endif