WSJT-X/boost/date_time/parse_format_base.hpp
Bill Somerville 4ebe6417a5 Squashed 'boost/' content from commit b4feb19f2
git-subtree-dir: boost
git-subtree-split: b4feb19f287ee92d87a9624b5d36b7cf46aeadeb
2018-06-09 21:48:32 +01:00

30 lines
961 B
C++

#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
* $Date$
*/
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