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