annotate DEPENDENCIES/generic/include/boost/date_time/date_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_DATE_DEFS_HPP
|
Chris@16
|
2 #define DATE_TIME_DATE_DEFS_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 namespace boost {
|
Chris@16
|
14 namespace date_time {
|
Chris@16
|
15
|
Chris@16
|
16 //! An enumeration of weekday names
|
Chris@16
|
17 enum weekdays {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday};
|
Chris@16
|
18
|
Chris@16
|
19 //! Simple enum to allow for nice programming with Jan, Feb, etc
|
Chris@16
|
20 enum months_of_year {Jan=1,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,NotAMonth,NumMonths};
|
Chris@16
|
21
|
Chris@16
|
22 } } //namespace date_time
|
Chris@16
|
23
|
Chris@16
|
24
|
Chris@16
|
25
|
Chris@16
|
26 #endif
|