| 424 | } |
| 425 | |
| 426 | FILETIME FTPClientWrapperSSL::ConvertFiletime(int day, int month, int year, int hour, int minute) { |
| 427 | FILETIME ft; |
| 428 | SYSTEMTIME st{}; |
| 429 | st.wYear = year; |
| 430 | st.wMonth = month; |
| 431 | st.wDayOfWeek = 0; //ignored |
| 432 | st.wDay = day; |
| 433 | st.wHour = hour; |
| 434 | st.wMinute = minute; |
| 435 | st.wSecond = 0; |
| 436 | st.wMilliseconds = 0; |
| 437 | |
| 438 | SystemTimeToFileTime(&st, &ft); |
| 439 | |
| 440 | return ft; |
| 441 | } |
| 442 | |
| 443 | ///////////////////////////////////////////////////////////////////////////// |
| 444 | ///////////////////////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected