Searched refs:tzinfo (Results 1 – 5 of 5) sorted by relevance
/reactos/modules/rostests/winetests/kernel32/ |
H A D | time.c | 220 if (memcmp(&tzinfo->StandardDate, &tzinfo->DaylightDate, sizeof(tzinfo->DaylightDate)) != 0) in get_tz_bias() 273 tzinfo.StandardDate.wDay, tzinfo.StandardDate.wMonth, in test_GetTimeZoneInformation() 274 tzinfo.StandardDate.wYear, tzinfo.StandardDate.wDayOfWeek, in test_GetTimeZoneInformation() 275 tzinfo.StandardDate.wHour, tzinfo.StandardDate.wMinute, in test_GetTimeZoneInformation() 279 tzinfo.DaylightDate.wDay, tzinfo.DaylightDate.wMonth, in test_GetTimeZoneInformation() 280 tzinfo.DaylightDate.wYear, tzinfo.DaylightDate.wDayOfWeek, in test_GetTimeZoneInformation() 281 tzinfo.DaylightDate.wHour, tzinfo.DaylightDate.wMinute, in test_GetTimeZoneInformation() 286 ok(diff == tzinfo.Bias + get_tz_bias(&tzinfo, tz_id), in test_GetTimeZoneInformation() 288 diff, tzinfo.Bias + get_tz_bias(&tzinfo, tz_id)); in test_GetTimeZoneInformation() 346 memset(&tzinfo, 0, sizeof(tzinfo)); in test_GetTimeZoneInformation() [all …]
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlQueryTimeZoneInfo.c | 51 RTL_TIME_ZONE_INFORMATION tzinfo; in test_RtlQueryTimeZoneInformation() local 118 memset(&tzinfo, 0, sizeof(tzinfo)); in test_RtlQueryTimeZoneInformation() 125 …ok(tzinfo.DaylightDate.Month == 4, "tzinfo.DaylightDate.wMonth expected '4', got '%d'.\n", tzinfo.… in test_RtlQueryTimeZoneInformation() 126 …ok(tzinfo.DaylightDate.Day == 2, "tzinfo.DaylightDate.wDay expected '2', got '%d'.\n", tzinfo.Dayl… in test_RtlQueryTimeZoneInformation() 128 …ok(tzinfo.DaylightDate.Year == 0, "tzinfo.DaylightDate.wYear expected '0', got '%d'.\n", tzinfo.Da… in test_RtlQueryTimeZoneInformation() 131 …ok(tzinfo.StandardDate.Month == 11, "tzinfo.StandardDate.wMonth expected '11', got '%d'.\n", tzinf… in test_RtlQueryTimeZoneInformation() 132 …ok(tzinfo.StandardDate.Day == 3, "tzinfo.StandardDate.wDay expected '3', got '%d'.\n", tzinfo.Stan… in test_RtlQueryTimeZoneInformation() 134 …ok(tzinfo.StandardDate.Year == 0, "tzinfo.StandardDate.wYear expected '0', got '%d'.\n", tzinfo.St… in test_RtlQueryTimeZoneInformation() 137 ok(tzinfo.Bias == 360, "tzinfo.Bias expected '360', got '%ld'.\n", tzinfo.Bias); in test_RtlQueryTimeZoneInformation() 138 …ok(tzinfo.DaylightBias == -60, "tzinfo.DaylightBias expected '-60', got '%ld'.\n", tzinfo.Daylight… in test_RtlQueryTimeZoneInformation() [all …]
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | time.c | 200 RTL_DYNAMIC_TIME_ZONE_INFORMATION tzinfo; in test_RtlQueryTimeZoneInformation() local 211 memset(&tzinfo, 0, sizeof(tzinfo)); in test_RtlQueryTimeZoneInformation() 215 todo_wine ok(tzinfo.StandardName[0] == '@', in test_RtlQueryTimeZoneInformation() 217 wine_dbgstr_w(tzinfo.StandardName)); in test_RtlQueryTimeZoneInformation() 218 todo_wine ok(tzinfo.DaylightName[0] == '@', in test_RtlQueryTimeZoneInformation() 220 wine_dbgstr_w(tzinfo.DaylightName)); in test_RtlQueryTimeZoneInformation() 222 memset(&tzinfo, 0, sizeof(tzinfo)); in test_RtlQueryTimeZoneInformation() 226 todo_wine ok(tzinfo.StandardName[0] == '@', in test_RtlQueryTimeZoneInformation() 228 wine_dbgstr_w(tzinfo.StandardName)); in test_RtlQueryTimeZoneInformation() 229 todo_wine ok(tzinfo.DaylightName[0] == '@', in test_RtlQueryTimeZoneInformation() [all …]
|
/reactos/modules/rostests/winetests/msvcrt/ |
H A D | time.c | 196 TIME_ZONE_INFORMATION tzinfo; in test_mktime() local 197 DWORD res = GetTimeZoneInformation(&tzinfo); in test_mktime() 211 tzinfo.Bias, tzinfo.StandardBias, tzinfo.DaylightBias, buffer ); in test_mktime() 214 secs = SECSPERDAY - tzinfo.Bias * SECSPERMIN; in test_mktime() 215 secs -= (my_tm.tm_isdst ? tzinfo.DaylightBias : tzinfo.StandardBias) * SECSPERMIN; in test_mktime() 307 TIME_ZONE_INFORMATION tzinfo; in test_localtime() local 308 DWORD res = GetTimeZoneInformation(&tzinfo); in test_localtime() 316 gmt = ref + SECSPERDAY + tzinfo.Bias * SECSPERMIN; in test_localtime() 319 gmt += (lt->tm_isdst ? tzinfo.DaylightBias : tzinfo.StandardBias) * SECSPERMIN; in test_localtime() 340 gmt = ref + 202 * SECSPERDAY + tzinfo.Bias * SECSPERMIN; in test_localtime() [all …]
|
/reactos/dll/win32/kernel32/wine/ |
H A D | timezone.c | 428 TIME_ZONE_INFORMATION tzinfo; in TzSpecificLocalTimeToSystemTime() local 432 tzinfo = *lpTimeZoneInformation; in TzSpecificLocalTimeToSystemTime() 436 if (GetTimeZoneInformation(&tzinfo) == TIME_ZONE_ID_INVALID) in TzSpecificLocalTimeToSystemTime() 443 if (!TIME_GetTimezoneBias(&tzinfo, &ft, TRUE, &lBias)) in TzSpecificLocalTimeToSystemTime()
|