Searched refs:iYear (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Runtime/common/time/ |
H A D | time.cpp | 195 bool isLeapYear(int iYear) 197 return iYear % 4 == 0 && (iYear % 100 != 0 || iYear % 400 == 0); 199 void printYear(int iYear, int iLeap) 201 if (!(iYear % 10)) 202 printf("\n/" "*%d:*" "/", iYear + 1970); 203 printf(" 365*%4d+%-3d,", iYear, iLeap); 207 int iYear = 0; 209 while (iYear > 263 unsigned iYear; local [all...] |
/vbox/src/VBox/ValidationKit/testmanager/core/ |
H A D | base.py | 557 iYear = int(oRes.group(1)); 558 if iYear % 4 == 0 and (iYear % 100 != 0 or iYear % 400 == 0):
|
/vbox/src/VBox/Devices/PC/ |
H A D | DevRTC.cpp | 1019 int iYear = to_bcd(pThis, (Tm.tm_year / 100) + 19); /* tm_year is 1900 based */ local 1020 rtc_set_memory(pThis, 0x32, iYear); /* 32h - Century Byte (BCD value for the century */ 1021 rtc_set_memory(pThis, 0x37, iYear); /* 37h - (IBM PS/2) Date Century Byte */
|
Completed in 78 milliseconds