C99 Time Related Changes


liblocal.02/src/ansi/locale/setlocal.c

fix problem resetting standard locale and returning updated locale name


liblocal.02/src/ansi/time/strftime.c
src/libc/ansi/time/strftime.c

#define required constants;
add YEAR() conversion macro and ISLEAPYEAR() test macro;
add weekday enum definitions;
add iso_year() and iso_week() functions;
accept and ignore C99 E and O modifiers;
add C99 %F, %G, %g, %V formats;
add %s (GNU) format;
fix %z ISO 8601/RFC 822 time zone results


src/libc/ansi/time/strftime.txh

add new formats; add all modifiers; make descriptions consistent


tests/libc/ansi/time/makefile

add strftiml.c and strftimt.c tests


tests/libc/ansi/time/strftime.c

change inline macro calls to table driven tests;
add new tests and results for all formats, including unsupported letters


tests/libc/ansi/time/xstrftm.c

add standard and current locale changes; output each locale name


tests/libc/ansi/time/strftiml.c

list all formats, including unsupported letters


tests/libc/ansi/time/strftimt.c

exception tester covering all formats;
table driven supporting locales and time zones;
many corner cases for non/ISO week and weekdays


@(#)CHANGES	1.6	17 Mar 2004	BWI
