1 /* Copyright (C) 1995-2000, 2001 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 Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the 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 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
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 */
44 { string
: "Tuesday" },
45 { string
: "Wednesday" },
46 { string
: "Thursday" },
48 { string
: "Saturday" },
61 { string
: "January" },
62 { string
: "February" },
69 { string
: "September" },
70 { string
: "October" },
71 { string
: "November" },
72 { string
: "December" },
75 { string
: "%a %b %e %H:%M:%S %Y" },
76 { string
: "%m/%d/%y" },
77 { string
: "%H:%M:%S" },
78 { string
: "%I:%M:%S %p" },
87 { wstr
: (const uint32_t *) L
"Sun" },
88 { wstr
: (const uint32_t *) L
"Mon" },
89 { wstr
: (const uint32_t *) L
"Tue" },
90 { wstr
: (const uint32_t *) L
"Wed" },
91 { wstr
: (const uint32_t *) L
"Thu" },
92 { wstr
: (const uint32_t *) L
"Fri" },
93 { wstr
: (const uint32_t *) L
"Sat" },
94 { wstr
: (const uint32_t *) L
"Sunday" },
95 { wstr
: (const uint32_t *) L
"Monday" },
96 { wstr
: (const uint32_t *) L
"Tuesday" },
97 { wstr
: (const uint32_t *) L
"Wednesday" },
98 { wstr
: (const uint32_t *) L
"Thursday" },
99 { wstr
: (const uint32_t *) L
"Friday" },
100 { wstr
: (const uint32_t *) L
"Saturday" },
101 { wstr
: (const uint32_t *) L
"Jan" },
102 { wstr
: (const uint32_t *) L
"Feb" },
103 { wstr
: (const uint32_t *) L
"Mar" },
104 { wstr
: (const uint32_t *) L
"Apr" },
105 { wstr
: (const uint32_t *) L
"May" },
106 { wstr
: (const uint32_t *) L
"Jun" },
107 { wstr
: (const uint32_t *) L
"Jul" },
108 { wstr
: (const uint32_t *) L
"Aug" },
109 { wstr
: (const uint32_t *) L
"Sep" },
110 { wstr
: (const uint32_t *) L
"Oct" },
111 { wstr
: (const uint32_t *) L
"Nov" },
112 { wstr
: (const uint32_t *) L
"Dec" },
113 { wstr
: (const uint32_t *) L
"January" },
114 { wstr
: (const uint32_t *) L
"February" },
115 { wstr
: (const uint32_t *) L
"March" },
116 { wstr
: (const uint32_t *) L
"April" },
117 { wstr
: (const uint32_t *) L
"May" },
118 { wstr
: (const uint32_t *) L
"June" },
119 { wstr
: (const uint32_t *) L
"July" },
120 { wstr
: (const uint32_t *) L
"August" },
121 { wstr
: (const uint32_t *) L
"September" },
122 { wstr
: (const uint32_t *) L
"October" },
123 { wstr
: (const uint32_t *) L
"November" },
124 { wstr
: (const uint32_t *) L
"December" },
125 { wstr
: (const uint32_t *) L
"AM" },
126 { wstr
: (const uint32_t *) L
"PM" },
127 { wstr
: (const uint32_t *) L
"%a %b %e %H:%M:%S %Y" },
128 { wstr
: (const uint32_t *) L
"%m/%d/%y" },
129 { wstr
: (const uint32_t *) L
"%H:%M:%S" },
130 { wstr
: (const uint32_t *) L
"%I:%M:%S %p" },
131 { wstr
: (const uint32_t *) L
"" },
132 { wstr
: (const uint32_t *) L
"" },
133 { wstr
: (const uint32_t *) L
"" },
134 { wstr
: (const uint32_t *) L
"" },
135 { wstr
: (const uint32_t *) L
"" },
143 { string
: "%a %b %e %H:%M:%S %Z %Y" },
144 { wstr
: (const uint32_t *) L
"%a %b %e %H:%M:%S %Z %Y" },
145 { string
: _nl_C_codeset
}