Lines Matching refs:nYear
83 sal_uInt16 nYear = 0; in parseDOS() local
175 nYear = 10 * nYear + (*p - '0'); in parseDOS()
444 nYear = 10 * nYear + (*p - '0'); in parseDOS()
516 setYear (rEntry.m_aDate, nYear); in parseDOS()
792 sal_uInt16 nYear = 0; in parseVMS() local
797 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
801 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
804 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
806 setYear (rEntry.m_aDate, nYear); in parseVMS()
1243 DateTime &rDateTime, sal_uInt16 nYear) in setYear() argument
1245 if (nYear < 100) in setYear()
1256 if (nYear <= nCurrentYear) in setYear()
1257 nYear += nCurrentCentury * 100; in setYear()
1258 else if (nYear < nCurrentYear + 50) in setYear()
1259 nYear += nCurrentCentury * 100; in setYear()
1261 nYear += (nCurrentCentury - 1) * 100; in setYear()
1263 if (nYear >= nCurrentYear) in setYear()
1264 nYear += nCurrentCentury * 100; in setYear()
1265 else if (nYear >= nCurrentYear - 50) in setYear()
1266 nYear += nCurrentCentury * 100; in setYear()
1268 nYear += (nCurrentCentury + 1) * 100; in setYear()
1271 rDateTime.SetYear(nYear); in setYear()