1 /* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
20 #include "localeinfo.h"
22 /* This table's entries are taken from POSIX.2 Table 2-11
23 ``LC_TIME Category Definition in the POSIX Locale'',
24 with additions from ISO 14652, section 4.6. */
26 const struct locale_data _nl_C_LC_TIME =
29 NULL, 0, 0, /* no file mapped */
42 { string: "Tuesday" },
43 { string: "Wednesday" },
44 { string: "Thursday" },
46 { string: "Saturday" },
59 { string: "January" },
60 { string: "February" },
67 { string: "September" },
68 { string: "October" },
69 { string: "November" },
70 { string: "December" },
73 { string: "%a %b %e %H:%M:%S %Y" },
74 { string: "%m/%d/%y" },
75 { string: "%H:%M:%S" },
76 { string: "%I:%M:%S %p" },
85 { wstr: (const uint32_t *) L"Sun" },
86 { wstr: (const uint32_t *) L"Mon" },
87 { wstr: (const uint32_t *) L"Tue" },
88 { wstr: (const uint32_t *) L"Wed" },
89 { wstr: (const uint32_t *) L"Thu" },
90 { wstr: (const uint32_t *) L"Fri" },
91 { wstr: (const uint32_t *) L"Sat" },
92 { wstr: (const uint32_t *) L"Sunday" },
93 { wstr: (const uint32_t *) L"Monday" },
94 { wstr: (const uint32_t *) L"Tuesday" },
95 { wstr: (const uint32_t *) L"Wednesday" },
96 { wstr: (const uint32_t *) L"Thursday" },
97 { wstr: (const uint32_t *) L"Friday" },
98 { wstr: (const uint32_t *) L"Saturday" },
99 { wstr: (const uint32_t *) L"Jan" },
100 { wstr: (const uint32_t *) L"Feb" },
101 { wstr: (const uint32_t *) L"Mar" },
102 { wstr: (const uint32_t *) L"Apr" },
103 { wstr: (const uint32_t *) L"May" },
104 { wstr: (const uint32_t *) L"Jun" },
105 { wstr: (const uint32_t *) L"Jul" },
106 { wstr: (const uint32_t *) L"Aug" },
107 { wstr: (const uint32_t *) L"Sep" },
108 { wstr: (const uint32_t *) L"Oct" },
109 { wstr: (const uint32_t *) L"Nov" },
110 { wstr: (const uint32_t *) L"Dec" },
111 { wstr: (const uint32_t *) L"January" },
112 { wstr: (const uint32_t *) L"February" },
113 { wstr: (const uint32_t *) L"March" },
114 { wstr: (const uint32_t *) L"April" },
115 { wstr: (const uint32_t *) L"May" },
116 { wstr: (const uint32_t *) L"June" },
117 { wstr: (const uint32_t *) L"July" },
118 { wstr: (const uint32_t *) L"August" },
119 { wstr: (const uint32_t *) L"September" },
120 { wstr: (const uint32_t *) L"October" },
121 { wstr: (const uint32_t *) L"November" },
122 { wstr: (const uint32_t *) L"December" },
123 { wstr: (const uint32_t *) L"AM" },
124 { wstr: (const uint32_t *) L"PM" },
125 { wstr: (const uint32_t *) L"%a %b %e %H:%M:%S %Y" },
126 { wstr: (const uint32_t *) L"%m/%d/%y" },
127 { wstr: (const uint32_t *) L"%H:%M:%S" },
128 { wstr: (const uint32_t *) L"%I:%M:%S %p" },
130 { wstr: (const uint32_t *) L"" },
131 { wstr: (const uint32_t *) L"" },
132 { wstr: (const uint32_t *) L"" },
133 { wstr: (const uint32_t *) L"" },
134 { wstr: (const uint32_t *) L"" },