• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (c) 2002-2004 CrystalClear Software, Inc.
2  * Use, modification and distribution is subject to the
3  * Boost Software License, Version 1.0. (See accompanying
4  * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
5  * Author: Jeff Garland, Bart Garst
6  * $Date$
7  */
8 
9 
10 
11 #ifndef DATE_TIME_SRC_GREG_NAMES_HPP___
12 #define DATE_TIME_SRC_GREG_NAMES_HPP___
13 
14 #include "boost/date_time/gregorian/greg_month.hpp"
15 #include "boost/date_time/special_defs.hpp"
16 namespace boost {
17 namespace gregorian {
18 
19 
20   const char* const short_month_names[NumMonths]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec", "NAM"};
21   const char* const long_month_names[NumMonths]={"January","February","March","April","May","June","July","August","September","October","November","December","NotAMonth"};
22   const char* const special_value_names[date_time::NumSpecialValues]={"not-a-date-time","-infinity","+infinity","min_date_time","max_date_time","not_special"};
23 
24 
25   const char* const short_weekday_names[]={"Sun", "Mon", "Tue",
26                                            "Wed", "Thu", "Fri", "Sat"};
27   const char* const long_weekday_names[]= {"Sunday","Monday","Tuesday",
28                                            "Wednesday", "Thursday",
29                                            "Friday", "Saturday"};
30 
31 #ifndef BOOST_NO_STD_WSTRING
32   const wchar_t* const w_short_month_names[NumMonths]={L"Jan",L"Feb",L"Mar",L"Apr",L"May",L"Jun",L"Jul",L"Aug",L"Sep",L"Oct",L"Nov",L"Dec",L"NAM"};
33   const wchar_t* const w_long_month_names[NumMonths]={L"January",L"February",L"March",L"April",L"May",L"June",L"July",L"August",L"September",L"October",L"November",L"December",L"NotAMonth"};
34   const wchar_t* const w_special_value_names[date_time::NumSpecialValues]={L"not-a-date-time",L"-infinity",L"+infinity",L"min_date_time",L"max_date_time",L"not_special"};
35 
36   const wchar_t* const w_short_weekday_names[]={L"Sun", L"Mon", L"Tue",
37                                            L"Wed", L"Thu", L"Fri", L"Sat"};
38   const wchar_t* const w_long_weekday_names[]= {L"Sunday",L"Monday",L"Tuesday",
39                                            L"Wednesday", L"Thursday",
40                                            L"Friday", L"Saturday"};
41 #endif // BOOST_NO_STD_WSTRING
42 } } // boost::gregorian
43 #endif // DATE_TIME_SRC_GREG_NAMES_HPP___
44