1*5af32e75SAxel Dörfler /* Copyright (C) 1995-2000, 2001 Free Software Foundation, Inc. 2*5af32e75SAxel Dörfler This file is part of the GNU C Library. 3*5af32e75SAxel Dörfler Contributed by Ulrich Drepper <drepper@gnu.org>, 1995. 4*5af32e75SAxel Dörfler 5*5af32e75SAxel Dörfler The GNU C Library is free software; you can redistribute it and/or 6*5af32e75SAxel Dörfler modify it under the terms of the GNU Lesser General Public 7*5af32e75SAxel Dörfler License as published by the Free Software Foundation; either 8*5af32e75SAxel Dörfler version 2.1 of the License, or (at your option) any later version. 9*5af32e75SAxel Dörfler 10*5af32e75SAxel Dörfler The GNU C Library is distributed in the hope that it will be useful, 11*5af32e75SAxel Dörfler but WITHOUT ANY WARRANTY; without even the implied warranty of 12*5af32e75SAxel Dörfler MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13*5af32e75SAxel Dörfler Lesser General Public License for more details. 14*5af32e75SAxel Dörfler 15*5af32e75SAxel Dörfler You should have received a copy of the GNU Lesser General Public 16*5af32e75SAxel Dörfler License along with the GNU C Library; if not, write to the Free 17*5af32e75SAxel Dörfler Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 18*5af32e75SAxel Dörfler 02111-1307 USA. */ 19*5af32e75SAxel Dörfler 20*5af32e75SAxel Dörfler #include "localeinfo.h" 21*5af32e75SAxel Dörfler 22*5af32e75SAxel Dörfler /* This table's entries are taken from POSIX.2 Table 2-11 23*5af32e75SAxel Dörfler ``LC_TIME Category Definition in the POSIX Locale'', 24*5af32e75SAxel Dörfler with additions from ISO 14652, section 4.6. */ 25*5af32e75SAxel Dörfler 26*5af32e75SAxel Dörfler const struct locale_data _nl_C_LC_TIME = 27*5af32e75SAxel Dörfler { 28*5af32e75SAxel Dörfler _nl_C_name, 29*5af32e75SAxel Dörfler NULL, 0, 0, /* no file mapped */ 30*5af32e75SAxel Dörfler UNDELETABLE, 31*5af32e75SAxel Dörfler 0, 32*5af32e75SAxel Dörfler NULL, 33*5af32e75SAxel Dörfler 111, 34*5af32e75SAxel Dörfler { 35*5af32e75SAxel Dörfler { string: "Sun" }, 36*5af32e75SAxel Dörfler { string: "Mon" }, 37*5af32e75SAxel Dörfler { string: "Tue" }, 38*5af32e75SAxel Dörfler { string: "Wed" }, 39*5af32e75SAxel Dörfler { string: "Thu" }, 40*5af32e75SAxel Dörfler { string: "Fri" }, 41*5af32e75SAxel Dörfler { string: "Sat" }, 42*5af32e75SAxel Dörfler { string: "Sunday" }, 43*5af32e75SAxel Dörfler { string: "Monday" }, 44*5af32e75SAxel Dörfler { string: "Tuesday" }, 45*5af32e75SAxel Dörfler { string: "Wednesday" }, 46*5af32e75SAxel Dörfler { string: "Thursday" }, 47*5af32e75SAxel Dörfler { string: "Friday" }, 48*5af32e75SAxel Dörfler { string: "Saturday" }, 49*5af32e75SAxel Dörfler { string: "Jan" }, 50*5af32e75SAxel Dörfler { string: "Feb" }, 51*5af32e75SAxel Dörfler { string: "Mar" }, 52*5af32e75SAxel Dörfler { string: "Apr" }, 53*5af32e75SAxel Dörfler { string: "May" }, 54*5af32e75SAxel Dörfler { string: "Jun" }, 55*5af32e75SAxel Dörfler { string: "Jul" }, 56*5af32e75SAxel Dörfler { string: "Aug" }, 57*5af32e75SAxel Dörfler { string: "Sep" }, 58*5af32e75SAxel Dörfler { string: "Oct" }, 59*5af32e75SAxel Dörfler { string: "Nov" }, 60*5af32e75SAxel Dörfler { string: "Dec" }, 61*5af32e75SAxel Dörfler { string: "January" }, 62*5af32e75SAxel Dörfler { string: "February" }, 63*5af32e75SAxel Dörfler { string: "March" }, 64*5af32e75SAxel Dörfler { string: "April" }, 65*5af32e75SAxel Dörfler { string: "May" }, 66*5af32e75SAxel Dörfler { string: "June" }, 67*5af32e75SAxel Dörfler { string: "July" }, 68*5af32e75SAxel Dörfler { string: "August" }, 69*5af32e75SAxel Dörfler { string: "September" }, 70*5af32e75SAxel Dörfler { string: "October" }, 71*5af32e75SAxel Dörfler { string: "November" }, 72*5af32e75SAxel Dörfler { string: "December" }, 73*5af32e75SAxel Dörfler { string: "AM" }, 74*5af32e75SAxel Dörfler { string: "PM" }, 75*5af32e75SAxel Dörfler { string: "%a %b %e %H:%M:%S %Y" }, 76*5af32e75SAxel Dörfler { string: "%m/%d/%y" }, 77*5af32e75SAxel Dörfler { string: "%H:%M:%S" }, 78*5af32e75SAxel Dörfler { string: "%I:%M:%S %p" }, 79*5af32e75SAxel Dörfler { string: NULL }, 80*5af32e75SAxel Dörfler { string: "" }, 81*5af32e75SAxel Dörfler { string: "" }, 82*5af32e75SAxel Dörfler { string: "" }, 83*5af32e75SAxel Dörfler { string: "" }, 84*5af32e75SAxel Dörfler { string: "" }, 85*5af32e75SAxel Dörfler { word: 0 }, 86*5af32e75SAxel Dörfler { string: "" }, 87*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Sun" }, 88*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Mon" }, 89*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Tue" }, 90*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Wed" }, 91*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Thu" }, 92*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Fri" }, 93*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Sat" }, 94*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Sunday" }, 95*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Monday" }, 96*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Tuesday" }, 97*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Wednesday" }, 98*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Thursday" }, 99*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Friday" }, 100*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Saturday" }, 101*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Jan" }, 102*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Feb" }, 103*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Mar" }, 104*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Apr" }, 105*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"May" }, 106*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Jun" }, 107*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Jul" }, 108*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Aug" }, 109*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Sep" }, 110*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Oct" }, 111*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Nov" }, 112*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"Dec" }, 113*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"January" }, 114*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"February" }, 115*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"March" }, 116*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"April" }, 117*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"May" }, 118*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"June" }, 119*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"July" }, 120*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"August" }, 121*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"September" }, 122*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"October" }, 123*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"November" }, 124*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"December" }, 125*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"AM" }, 126*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"PM" }, 127*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"%a %b %e %H:%M:%S %Y" }, 128*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"%m/%d/%y" }, 129*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"%H:%M:%S" }, 130*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"%I:%M:%S %p" }, 131*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"" }, 132*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"" }, 133*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"" }, 134*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"" }, 135*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"" }, 136*5af32e75SAxel Dörfler { string: "\7" }, 137*5af32e75SAxel Dörfler { word: 19971130 }, 138*5af32e75SAxel Dörfler { string: "\4" }, 139*5af32e75SAxel Dörfler { string: "\7" }, 140*5af32e75SAxel Dörfler { string: "\1" }, 141*5af32e75SAxel Dörfler { string: "\1" }, 142*5af32e75SAxel Dörfler { string: "" }, 143*5af32e75SAxel Dörfler { string: "%a %b %e %H:%M:%S %Z %Y" }, 144*5af32e75SAxel Dörfler { wstr: (const uint32_t *) L"%a %b %e %H:%M:%S %Z %Y" }, 145*5af32e75SAxel Dörfler { string: _nl_C_codeset } 146*5af32e75SAxel Dörfler } 147*5af32e75SAxel Dörfler }; 148