2012-05-10 00:45:30 -04:00
|
|
|
#ifndef DATE_TIME_PARSE_FORMAT_BASE__
|
|
|
|
#define DATE_TIME_PARSE_FORMAT_BASE__
|
|
|
|
|
|
|
|
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
|
|
|
|
* Use, modification and distribution is subject to the
|
|
|
|
* Boost Software License, Version 1.0. (See accompanying
|
|
|
|
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
* Author: Jeff Garland
|
2013-01-13 17:38:19 -05:00
|
|
|
* $Date: 2008-02-27 12:00:24 -0800 (Wed, 27 Feb 2008) $
|
2012-05-10 00:45:30 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace boost {
|
|
|
|
namespace date_time {
|
|
|
|
|
|
|
|
//! Enum for distinguishing parsing and formatting options
|
|
|
|
enum month_format_spec {month_as_integer, month_as_short_string,
|
|
|
|
month_as_long_string};
|
|
|
|
|
|
|
|
//! Enum for distinguishing the order of Month, Day, & Year.
|
|
|
|
/*! Enum for distinguishing the order in which Month, Day, & Year
|
|
|
|
* will appear in a date string */
|
|
|
|
enum ymd_order_spec {ymd_order_iso, //order is year-month-day
|
|
|
|
ymd_order_dmy, //day-month-year
|
|
|
|
ymd_order_us}; //order is month-day-year
|
|
|
|
|
|
|
|
|
|
|
|
} }//namespace date_time
|
|
|
|
|
|
|
|
#endif
|