Lines Matching refs:u8Month
351 pTime->u8Month = iMonth + 1;
372 * The fields u8Month, u8WeekDay and u8MonthDay are not used,
439 AssertMsgReturn( pTime->u8Month
441 ("date=%d-%d-%d\n", pTime->i32Year, pTime->u8Month, pTime->u8MonthDay),
443 while (pTime->u8Month > 12)
445 pTime->u8Month -= 12;
454 ? g_acDaysInMonthsLeap[pTime->u8Month - 1]
455 : g_acDaysInMonths[pTime->u8Month - 1];
459 if (pTime->u8Month != 12)
460 pTime->u8Month++;
463 pTime->u8Month = 1;
472 ? g_aiDayOfYearLeap[pTime->u8Month - 1]
473 : g_aiDayOfYear[pTime->u8Month - 1]);
482 if ( pTime->u8Month
490 AssertBreak(pTime->u8Month <= 12);
492 ? g_acDaysInMonthsLeap[pTime->u8Month - 1]
493 : g_acDaysInMonths[pTime->u8Month - 1]));
496 ? g_aiDayOfYearLeap[pTime->u8Month - 1]
497 : g_aiDayOfYear[pTime->u8Month - 1]);
519 pTime->u8Month = 1;
520 while (pTime->u16YearDay > paiDayOfYear[pTime->u8Month])
521 pTime->u8Month++;
522 Assert(pTime->u8Month >= 1 && pTime->u8Month <= 12);
523 pTime->u8MonthDay = pTime->u16YearDay - paiDayOfYear[pTime->u8Month - 1] + 1;
558 if (pTime->u16YearDay + 1 != (fLeapYear ? g_aiDayOfYearLeap[pTime->u8Month] : g_aiDayOfYear[pTime->u8Month]))
563 else if (pTime->u8Month != 12)
566 pTime->u8Month++;
575 pTime->u8Month = 1;
710 pTime->i32Year, pTime->u8Month, pTime->u8MonthDay,
720 pTime->i32Year, pTime->u8Month, pTime->u8MonthDay,
789 rc = RTStrToUInt8Ex(pszString, (char **)&pszString, 10, &pTime->u8Month);
792 if (pTime->u8Month == 0 || pTime->u8Month > 12)
802 ? g_acDaysInMonthsLeap[pTime->u8Month - 1]
803 : g_acDaysInMonthsLeap[pTime->u8Month - 1];
810 ? g_aiDayOfYearLeap[pTime->u8Month - 1]
811 : g_aiDayOfYear[pTime->u8Month - 1]);