Home
last modified time | relevance | path

Searched refs:n1WDay (Results 1 – 1 of 1) sorted by relevance

/aoo4110/main/tools/source/datetime/
H A Dtdate.cxx232 short n1WDay = (short)Date( 1, 1, GetYear() ).GetDayOfWeek(); in GetWeekOfYear() local
238 n1WDay = (n1WDay+(7-(short)eStartDay)) % 7; in GetWeekOfYear()
248 nWeek = ((n1WDay+nDayOfYear)/7) + 1; in GetWeekOfYear()
264 nWeek = ((n1WDay+nDayOfYear)/7); in GetWeekOfYear()
276 if ( n1WDay < nMinimumNumberOfDaysInWeek ) in GetWeekOfYear()
279 else if ( n1WDay == nMinimumNumberOfDaysInWeek ) in GetWeekOfYear()
282 else if ( n1WDay == nMinimumNumberOfDaysInWeek + 1 ) in GetWeekOfYear()
294 if ( (nWeek == 1) || (nDayOfYear + n1WDay > 6) ) in GetWeekOfYear()
297 nWeek += (nDayOfYear + n1WDay) / 7; in GetWeekOfYear()
299 nWeek = (nDayOfYear + n1WDay) / 7; in GetWeekOfYear()

Completed in 18 milliseconds