Lines Matching refs:nIntTime
384 long nIntTime = (long)rtl::math::round( fTime * 8640000.0 ); in lcl_SetValue() local
385 if ( nIntTime == 8640000 ) in lcl_SetValue()
386 nIntTime = 0; // 23:59:59.995 and above is 00:00:00.00 in lcl_SetValue()
388 aTime.HundredthSeconds = (sal_uInt16)( nIntTime % 100 ); in lcl_SetValue()
389 nIntTime /= 100; in lcl_SetValue()
390 aTime.Seconds = (sal_uInt16)( nIntTime % 60 ); in lcl_SetValue()
391 nIntTime /= 60; in lcl_SetValue()
392 aTime.Minutes = (sal_uInt16)( nIntTime % 60 ); in lcl_SetValue()
393 nIntTime /= 60; in lcl_SetValue()
394 OSL_ENSURE( nIntTime < 24, "error in time calculation" ); in lcl_SetValue()
395 aTime.Hours = (sal_uInt16) nIntTime; in lcl_SetValue()
408 long nIntTime = (long)::rtl::math::round( fTime * 8640000.0 ); in lcl_SetValue() local
409 if ( nIntTime == 8640000 ) in lcl_SetValue()
411 nIntTime = 0; // 23:59:59.995 and above is 00:00:00.00 in lcl_SetValue()
417 aDateTime.HundredthSeconds = (sal_uInt16)( nIntTime % 100 ); in lcl_SetValue()
418 nIntTime /= 100; in lcl_SetValue()
419 aDateTime.Seconds = (sal_uInt16)( nIntTime % 60 ); in lcl_SetValue()
420 nIntTime /= 60; in lcl_SetValue()
421 aDateTime.Minutes = (sal_uInt16)( nIntTime % 60 ); in lcl_SetValue()
422 nIntTime /= 60; in lcl_SetValue()
423 OSL_ENSURE( nIntTime < 24, "error in time calculation" ); in lcl_SetValue()
424 aDateTime.Hours = (sal_uInt16) nIntTime; in lcl_SetValue()