• Rein Klazes's avatar
    - RtlTimeFieldsToTime should not normalize the time fields · dceae02d
    Rein Klazes authored
      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.
    dceae02d
time.c 31 KB