[BACK]Return to _def_time.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / locale

Annotation of src/lib/libc/locale/_def_time.c, Revision 1.5

1.5     ! kleink      1: /*     $NetBSD$        */
        !             2:
1.1       jtc         3: /*
1.4       jtc         4:  * Written by J.T. Conklin <jtc@netbsd.org>.
                      5:  * Public domain.
1.1       jtc         6:  */
                      7:
1.3       jtc         8: #include <sys/localedef.h>
1.1       jtc         9: #include <locale.h>
                     10:
                     11: const _TimeLocale _DefaultTimeLocale =
                     12: {
                     13:        {
                     14:                "Sun","Mon","Tue","Wed","Thu","Fri","Sat",
                     15:        },
                     16:        {
1.2       jtc        17:                "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
                     18:                "Friday", "Saturday"
1.1       jtc        19:        },
                     20:        {
                     21:                "Jan", "Feb", "Mar", "Apr", "May", "Jun",
                     22:                "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
                     23:        },
                     24:        {
                     25:                "January", "February", "March", "April", "May", "June", "July",
                     26:                "August", "September", "October", "November", "December"
                     27:        },
                     28:        {
                     29:                "AM", "PM"
                     30:        },
                     31:        "%a %b %d %H:%M:%S %Y",
                     32:        "%m/%d/%y",
                     33:        "%H:%M:%S",
                     34:        "%I:%M:%S %p"
                     35: };
                     36:
                     37: const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;

CVSweb <webmaster@jp.NetBSD.org>