Home
last modified time | relevance | path

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

/aoo42x/main/tools/source/datetime/
H A Ddatetime.cxx185 sal_uInt16 nHours = aTime.GetHour(); in operator +=() local
188 while ( nHours >= 24 ) in operator +=()
191 nHours -= 24; in operator +=()
193 aTime.SetHour( nHours ); in operator +=()
197 while ( nHours >= 24 ) in operator +=()
200 nHours -= 24; in operator +=()
227 while ( nHours >= 24 ) in operator -=()
230 nHours -= 24; in operator -=()
232 aTime.SetHour( nHours ); in operator -=()
236 while ( nHours >= 24 ) in operator -=()
[all …]
/aoo42x/main/sax/source/tools/
H A Dconverter.cxx775 sal_Int32 nHours = 0; in convertDuration() local
806 nHours = nTemp; in convertDuration()
859 double fHour = nHours; in convertDuration()
1078 sal_Int32 nHours(0); in convertDuration() local
1114 nHours, sal_Unicode('H')); in convertDuration()
1207 rDuration.Hours = static_cast<sal_Int16>(nHours); in convertDuration()
1419 sal_Int32 nHours(0); in convertDateOrDateTime() local
1427 bSuccess &= (0 <= nHours) && (nHours <= 24); in convertDateOrDateTime()
1488 if (bSuccess && (nHours == 24)) in convertDateOrDateTime()
1497 nHours = 0; // normalize 24:00:00 to 00:00:00 of next day in convertDateOrDateTime()
[all …]
/aoo42x/main/xmloff/source/core/
H A Dxmluconv.cxx979 sal_Int32 nHours = 0; in convertTime() local
989 double fHour = nHours; in convertTime()
1980 sal_uInt16 nHours = rTime.GetHour(); in convertTimeDuration() local
1981 sal_Bool bHasHours = ( nHours > 0 ); in convertTimeDuration()
1982 if ( nHours >= 24 ) in convertTimeDuration()
1986 sal_uInt16 nDays = nHours / 24; in convertTimeDuration()
1990 nHours -= nDays * 24; in convertTimeDuration()
1996 sTmp.append( (sal_Int32) nHours ); in convertTimeDuration()
2033 sal_Int32 nHours = 0; in convertTimeDuration() local
2071 nHours = nTemp; in convertTimeDuration()
[all …]
/aoo42x/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx389 sal_Int32& nHours, sal_Int32& nMinutes, sal_Int32& nSeconds) in parseDuration() argument
429 nHours = atoi(pString); in parseDuration()
461 sal_Int32 nHours = 0; in xforms_secondsFuction() local
465 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_secondsFuction()
468 nSeconds += nHours*60*60; in xforms_secondsFuction()
491 sal_Int32 nHours = 0; in xforms_monthsFuction() local
495 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_monthsFuction()
/aoo42x/main/connectivity/source/commontools/
H A Ddbconversion.cxx138 sal_Int32 nHours = rVal.Hours + nMinutes / 60; in toINT32() local
142 … return (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000000)); in toINT32()
153 sal_Int32 nHours = rVal.Hours + nMinutes / 60; in toINT64() local
157 …nt32 nTime = (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000000)); in toINT64()
/aoo42x/main/sc/source/ui/miscdlgs/
H A Dsharedocdlg.cxx161 …sal_uInt16 nHours = sal::static_int_cast< sal_uInt16 >( aTimeStr.getToken( 0, ':', nIndex ).toInt3… in UpdateView() local
164 Time aTime( nHours, nMinutes ); in UpdateView()
/aoo42x/main/sdext/source/presenter/
H A DPresenterToolBar.cxx2114 const sal_Int32 nHours (sal::static_int_cast<sal_Int32>(rTime.Hours)); in FormatTime() local
2120 sText.append(OUString::valueOf(nHours)); in FormatTime()
2123 sal::static_int_cast<sal_Int32>(nHours>12 ? nHours-12 : nHours))); in FormatTime()

Completed in 63 milliseconds