- RtlTimeFieldsToTime should not normalize the time fields
commitdceae02d732bdf7f51fb64450fc804971873ac24
authorRein Klazes <rklazes@xs4all.nl>
Sat, 6 Nov 2004 03:53:53 +0000 (6 03:53 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 6 Nov 2004 03:53:53 +0000 (6 03:53 +0000)
tree10ed3cf190ef0913a6f0f865bcbe5cf83a853d34
parent45eba51461f35f1a84d0c91c36cfc20a1bc99639
- RtlTimeFieldsToTime should not normalize the time fields
  structure. Instead return error when it is given an unormalized
  date.
- Use better algorithms for RtlTimeToTimeFields and
  RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
  of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
  SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
dlls/kernel/tests/time.c
dlls/kernel/time.c
dlls/msvcrt/tests/time.c
dlls/msvcrt/time.c
dlls/ntdll/tests/time.c
dlls/ntdll/time.c