| 1 | #ifndef DATE_TIME_PARSE_FORMAT_BASE__ |
| 2 | #define DATE_TIME_PARSE_FORMAT_BASE__ |
| 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 | namespace boost { |
| 13 | namespace date_time { |
| 14 | |
| 15 | //! Enum for distinguishing parsing and formatting options |
| 16 | enum month_format_spec {month_as_integer, month_as_short_string, |
| 17 | month_as_long_string}; |
| 18 | |
| 19 | //! Enum for distinguishing the order of Month, Day, & Year. |
| 20 | /*! Enum for distinguishing the order in which Month, Day, & Year |
| 21 | * will appear in a date string */ |
| 22 | enum ymd_order_spec {ymd_order_iso, //order is year-month-day |
| 23 | ymd_order_dmy, //day-month-year |
| 24 | ymd_order_us}; //order is month-day-year |
| 25 | |
| 26 | |
| 27 | } }//namespace date_time |
| 28 | |
| 29 | #endif |
| 30 | |