Chris@16: #ifndef DATE_TIME_PARSE_FORMAT_BASE__ Chris@16: #define DATE_TIME_PARSE_FORMAT_BASE__ 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: namespace boost { Chris@16: namespace date_time { Chris@16: Chris@16: //! Enum for distinguishing parsing and formatting options Chris@16: enum month_format_spec {month_as_integer, month_as_short_string, Chris@16: month_as_long_string}; Chris@16: Chris@16: //! Enum for distinguishing the order of Month, Day, & Year. Chris@16: /*! Enum for distinguishing the order in which Month, Day, & Year Chris@16: * will appear in a date string */ Chris@16: enum ymd_order_spec {ymd_order_iso, //order is year-month-day Chris@16: ymd_order_dmy, //day-month-year Chris@16: ymd_order_us}; //order is month-day-year Chris@16: Chris@16: Chris@16: } }//namespace date_time Chris@16: Chris@16: #endif