Home
last modified time | relevance | path

Searched refs:wYear (Results 1 – 25 of 86) sorted by relevance

1234

/reactos/base/shell/cmd/
H A Ddate.c104 d.wYear = 0; in ParseDate()
120 if (!ReadNumber (&p, &d.wYear)) in ParseDate()
133 if (!ReadNumber (&p, &d.wYear)) in ParseDate()
138 if (!ReadNumber (&p, &d.wYear)) in ParseDate()
154 if (d.wYear <= 99) in ParseDate()
156 if (d.wYear >= 80) in ParseDate()
157 d.wYear = 1900 + d.wYear; in ParseDate()
159 d.wYear = 2000 + d.wYear; in ParseDate()
162 leap = (!(d.wYear % 4) && (d.wYear % 100)) || !(d.wYear % 400); in ParseDate()
166 (d.wYear >= 1980 && d.wYear <= 2099)) in ParseDate()
H A Ddir.c678 WORD wYear = b4Digit ? dt->wYear : dt->wYear%100; in FormatDate() local
686 b4Digit?4:2, wYear); in FormatDate()
692 cDateSeparator, b4Digit?4:2, wYear); in FormatDate()
697 b4Digit?4:2, wYear, cDateSeparator, in FormatDate()
/reactos/modules/rostests/winetests/comctl32/
H A Dmonthcal.c423 expect(st[1].wYear, st1[1].wYear); in test_monthcal()
441 expect(st[0].wYear, st1[0].wYear); in test_monthcal()
471 ok(st[0].wYear == 0 && st[1].wYear == 0, "got %u, %u\n", st[0].wYear, st[1].wYear); in test_monthcal()
809 expect(st_original.wYear, st_new.wYear); in test_currdate()
838 expect(st_new.wYear, st_test.wYear); in test_currdate()
858 expect(st_original.wYear, st_test.wYear); in test_currdate()
1644 expect(st.wYear, range[0].wYear); in test_selrange()
1661 expect(st.wYear, range[1].wYear); in test_selrange()
1687 expect(range[1].wYear, range2[0].wYear); in test_selrange()
1725 expect(range[0].wYear, range2[0].wYear); in test_selrange()
[all …]
H A Ddatetime.c207 systime.wYear = 2000; in test_dtm_set_format()
294 st->wYear = year; in fill_systime_struct()
306 return (st1->wYear == st2->wYear) in compare_systime_date()
414 ok(getSt[0].wYear == 0 && getSt[1].wYear == 0, "got %u, %u\n", getSt[0].wYear, getSt[1].wYear); in test_dtm_set_and_get_range()
588 st.wYear = 0; in test_dtm_set_and_get_system_time()
/reactos/dll/win32/kernel32/winnls/string/
H A Djapanese.c48 if (pEra1->wYear < pEra2->wYear) in JapaneseEra_Compare()
50 if (pEra1->wYear > pEra2->wYear) in JapaneseEra_Compare()
170 pEntry->wYear = _wtoi(pch1); in JapaneseEra_Load()
173 if (pEntry->wYear == 0 || pEntry->wMonth == 0 || pEntry->wDay == 0) in JapaneseEra_Load()
230 pst->wYear = pEra->wYear; in JapaneseEra_ToSystemTime()
H A Djapanese.h11 WORD wYear; member
H A Dlcformat.c490 st.wYear = lpTime->wYear; in NLS_GetDateTimeFormatW()
643 dwVal = lpTime->wYear - pEra->wYear + 1; in NLS_GetDateTimeFormatW()
661 dwVal = lpTime->wYear; in NLS_GetDateTimeFormatW()
666 dwVal = lpTime->wYear % 100; in NLS_GetDateTimeFormatW()
2652 *lpValue = pEra->wYear; in GetCalendarInfoW()
2659 int ret = snprintfW( buffer, 10, fmtW, pEra->wYear ) + 1; in GetCalendarInfoW()
/reactos/dll/win32/kernel32/wine/
H A Dtimezone.c72 if (compareDate->wYear == 0) in TIME_DayLightCompareDate()
83 if(limit_day > MonthLengths[date->wMonth==2 && IsLeapYear(date->wYear)] in TIME_DayLightCompareDate()
136 (pTZinfo->StandardDate.wYear == 0 && in TIME_CompTimeZoneID()
154 year = SysTime.wYear; in TIME_CompTimeZoneID()
163 if(year == SysTime.wYear) { in TIME_CompTimeZoneID()
170 beforeStandardDate = SysTime.wYear < year; in TIME_CompTimeZoneID()
179 if(year == SysTime.wYear) { in TIME_CompTimeZoneID()
186 afterDaylightDate = SysTime.wYear > year; in TIME_CompTimeZoneID()
284 lpTimeZoneInformation->StandardDate.wYear = TimeZoneInformation.StandardDate.Year; in GetTimeZoneInformation()
297 lpTimeZoneInformation->DaylightDate.wYear = TimeZoneInformation.DaylightDate.Year; in GetTimeZoneInformation()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Dtime.c62 (st).wYear = 1980; \
71 (st).wYear = 2002; \
80 (st).wYear = 2002; \
89 (st).wYear = 1601; \
98 (st).wYear = 1600; \
334 tzinfo.DaylightDate.wYear = 0; in test_GetTimeZoneInformation()
337 tzinfo.StandardDate.wYear = 0; in test_GetTimeZoneInformation()
357 utc.wYear = 2012; in test_GetTimeZoneInformation()
554 cases[i].slt.wYear = year; in test_TzSpecificLocalTimeToSystemTime()
879 if (systemtime->wYear != 0) in day_of_month()
[all …]
/reactos/dll/win32/comctl32/
H A Ddatetime.c203 if (systime->wYear == 0 || in DATETIME_SetSystemTime()
517 date->wYear = 1752; in DATETIME_IncreaseField()
519 date->wYear = 9999; in DATETIME_IncreaseField()
521 date->wYear = max(min(date->wYear + delta, 9999), 1752); in DATETIME_IncreaseField()
572 date->wYear = 1752; in DATETIME_IncreaseField()
590 date->wYear = range[i].wYear; in DATETIME_IncreaseField()
840 oldyear = date.wYear; in DATETIME_ApplySelectedField()
841 date.wYear = date.wYear - (date.wYear%100) + val; in DATETIME_ApplySelectedField()
846 date.wYear = oldyear; in DATETIME_ApplySelectedField()
851 oldyear = date.wYear; in DATETIME_ApplySelectedField()
[all …]
H A Dmonthcal.c211 return (right->wYear - left->wYear)*12 + right->wMonth - left->wMonth; in MONTHCAL_MonthDiff()
245 return (first->wYear == second->wYear) && (first->wMonth == second->wMonth) && in MONTHCAL_IsDateEqual()
283 to->wYear = from->wYear; in MONTHCAL_CopyDate()
376 date->wYear = fix_st->wYear; in MONTHCAL_IsDateInValidRange()
688 st[0].wYear == min_allowed_date.wYear) in MONTHCAL_GetMonthRange()
893 wsprintfW(yearW, fmtyearW, st->wYear); in MONTHCAL_PaintTitle()
1008 st.wYear -= 1; in MONTHCAL_PaintWeeknumbers()
1878 htinfo.st.wYear = ht_month->wYear; in MONTHCAL_HitTest()
1888 htinfo.st.wYear = ht_month->wYear; in MONTHCAL_HitTest()
1911 htinfo.st.wYear = ht_month->wYear; in MONTHCAL_HitTest()
[all …]
/reactos/subsystems/mvdm/ntvdm/hardware/
H A Dcmos.c230 Value = READ_CMOS_DATA(CmosMemory, CurrentTime.wYear % 100); in CmosReadData()
236 Value = READ_CMOS_DATA(CmosMemory, CurrentTime.wYear / 100 + 19); in CmosReadData()
374 CurrentTime.wYear = (CurrentTime.wYear / 100) * 100; in CmosWriteData()
375 CurrentTime.wYear += WRITE_CMOS_DATA(CmosMemory, Data); in CmosWriteData()
/reactos/dll/cpl/timedate/
H A Ddateandtime.c281 … SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETPOS, 0, MAKELONG( (short) st.wYear, 0)); in DateTimePageProc()
327 SHORT wYear; in DateTimePageProc() local
329wYear = (SHORT)SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_GETPOS, 0, 0); in DateTimePageProc()
336 (WORD) (wYear + updown->iDelta)); in DateTimePageProc()
/reactos/sdk/lib/crt/sys_stat/
H A Dsystime.c27 tp->tm_year = Time.wYear - 1900; in _getsystime()
65 Time.wYear = tp->tm_year + 1900; in _setsystime()
/reactos/dll/win32/kernel32/client/
H A Dtime.c164 TimeFields.Year = lpSystemTime->wYear; in SystemTimeToFileTime()
204 lpSystemTime->wYear = TimeFields.Year; in FileTimeToSystemTime()
312 lpSystemTime->wYear = TimeFields.Year; in GetLocalTime()
341 lpSystemTime->wYear = TimeFields.Year; in GetSystemTime()
375 TimeFields.Year = lpSystemTime->wYear; in SetLocalTime()
420 TimeFields.Year = lpSystemTime->wYear; in SetSystemTime()
/reactos/base/services/schedsvc/
H A Djob.c457 WORD wYear) in DaysOfMonth() argument
459 if (wMonth == 2 && wYear % 4 == 0 && wYear % 400 != 0) in DaysOfMonth()
556 … wTempOffset = DaysOfMonth(CurrentSystemTime.wMonth, CurrentSystemTime.wYear) - in CalculateNextStartTime()
/reactos/base/applications/network/net/
H A DcmdUser.c776 if (!ReadNumber(&p, &SystemTime.wYear)) in ParseDate()
789 if (!ReadNumber(&p, &SystemTime.wYear)) in ParseDate()
794 if (!ReadNumber(&p, &SystemTime.wYear)) in ParseDate()
810 if (SystemTime.wYear <= 99) in ParseDate()
812 if (SystemTime.wYear >= 80) in ParseDate()
813 SystemTime.wYear += 1900; in ParseDate()
815 SystemTime.wYear += 2000; in ParseDate()
H A DcmdStatistics.c59 SystemTime.wMonth, SystemTime.wDay, SystemTime.wYear, in DisplayServerStatistics()
174 SystemTime.wMonth, SystemTime.wDay, SystemTime.wYear, in DisplayWorkstationStatistics()
/reactos/sdk/lib/atl/
H A Datltime.h163 time.tm_year = st.wYear;
176 time.tm_year = st.wYear;
191 time.tm_year = st.wYear;
291 st.wYear = time.tm_year; in GetAsSystemTime()
/reactos/modules/rostests/tests/capclock/
H A Dcapclock.c61 lt.wYear, in TimerProc()
/reactos/sdk/lib/crt/time/
H A Dstrftime.c17 st.wYear = mstm->tm_year + 1900; in strftime_date()
49 st.wYear = mstm->tm_year + 1900; in strftime_time()
/reactos/dll/win32/syssetup/
H A Dlogfile.c141 stTime.wYear, in pSetupDebugPrint()
/reactos/dll/win32/jscript/
H A Ddate.c297 if(st.wYear != 0) in convert_time()
298 year = st.wYear; in convert_time()
303 if(st.wYear == 0) { in convert_time()
474 st.wYear = year_from_time(time); in create_systemtime()
616 if(st.wYear<1601 || st.wYear>9999) in Date_toLocaleString()
927 if(st.wYear<1601 || st.wYear>9999) in Date_toLocaleDateString()
966 if(st.wYear<1601 || st.wYear>9999) in Date_toLocaleTimeString()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlQueryTimeZoneInfo.c20 WORD wYear;
/reactos/modules/rosapps/applications/rosinternals/pendmoves/
H A Dpendmoves.c186 SysTime.wDay, SysTime.wMonth, SysTime.wYear, SysTime.wHour, SysTime.wMinute); in _tmain()

1234