Lines Matching refs:yearWoy
3339 // Jan 1 of (yearWoy+1) is in yearWoy+1 - recalculate JD to next year
3437 int32_t Calendar::handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy)
3442 //return yearWoy;
3450 int32_t jan1Start = handleComputeMonthStart(yearWoy, 0, FALSE);
3451 int32_t nextJan1Start = handleComputeMonthStart(yearWoy+1, 0, FALSE); // next year's Jan1 start
3493 // therefore WOY1 is always solidly within yearWoy
3494 return yearWoy;
3498 return yearWoy-1; // previous year
3500 return yearWoy; // in this year
3515 // we are in week 52 or 53 etc. - actual year is yearWoy+1
3516 return yearWoy+1;
3518 // still in yearWoy;
3519 return yearWoy;
3523 return yearWoy;
3529 return yearWoy+1; // month 0, late woy = in the next year
3533 return yearWoy;
3535 return yearWoy-1;
3542 //return yearWoy+1;
3543 return yearWoy;
3546 return yearWoy;