1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Plugged in a different algorithm for calculating the day of the week in

strftime() and asctime_r(). This one isn't sensitive to the effects of
  adding/subtracting the local time zone.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14813 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-01-26 18:41:39 +00:00
parent 987316e638
commit 0b1d21471d
8 changed files with 113 additions and 34 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: time_headers.h,v 1.6 2005-01-24 10:25:46 obarthel Exp $
* $Id: time_headers.h,v 1.7 2005-01-26 18:41:39 obarthel Exp $
*
* :ts=4
*
@ -95,6 +95,7 @@ extern char * __asctime_r(const struct tm *tm,char * buffer,size_t buffer_size);
extern char * __number_to_string(unsigned int number,char * string,size_t max_len,size_t min_len);
extern struct tm * __convert_time(ULONG seconds, LONG gmt_offset, struct tm * tm);
extern time_t __convert_datestamp_to_time(const struct DateStamp * ds);
extern int __calculate_weekday(int year,int month,int day);
/****************************************************************************/