Lines Matching refs:rDuration
883 const ::util::Duration& rDuration) in convertDuration()
885 if (rDuration.Negative) in convertDuration()
890 const bool bHaveDate(static_cast<sal_Int32>(rDuration.Years) in convertDuration()
891 +static_cast<sal_Int32>(rDuration.Months) in convertDuration()
892 +static_cast<sal_Int32>(rDuration.Days)); in convertDuration()
893 if (rDuration.Years) in convertDuration()
895 rBuffer.append(static_cast<sal_Int32>(rDuration.Years)); in convertDuration()
898 if (rDuration.Months) in convertDuration()
900 rBuffer.append(static_cast<sal_Int32>(rDuration.Months)); in convertDuration()
903 if (rDuration.Days) in convertDuration()
905 rBuffer.append(static_cast<sal_Int32>(rDuration.Days)); in convertDuration()
908 const sal_Int32 nMSecs(static_cast<sal_Int32>(rDuration.Seconds) in convertDuration()
909 + static_cast<sal_Int32>(rDuration.MilliSeconds)); in convertDuration()
910 if (static_cast<sal_Int32>(rDuration.Hours) + in convertDuration()
911 static_cast<sal_Int32>(rDuration.Minutes) + nMSecs) in convertDuration()
914 if (rDuration.Hours) in convertDuration()
916 rBuffer.append(static_cast<sal_Int32>(rDuration.Hours)); in convertDuration()
919 if (rDuration.Minutes) in convertDuration()
921 rBuffer.append(static_cast<sal_Int32>(rDuration.Minutes)); in convertDuration()
927 rBuffer.append(static_cast<sal_Int32>(rDuration.Seconds)); in convertDuration()
928 if (rDuration.MilliSeconds) in convertDuration()
931 const sal_Int32 nMilliSeconds(rDuration.MilliSeconds % 1000); in convertDuration()
1050 bool Converter::convertDuration(util::Duration& rDuration, in convertDuration() argument
1203 rDuration.Negative = bIsNegativeDuration; in convertDuration()
1204 rDuration.Years = static_cast<sal_Int16>(nYears); in convertDuration()
1205 rDuration.Months = static_cast<sal_Int16>(nMonths); in convertDuration()
1206 rDuration.Days = static_cast<sal_Int16>(nDays); in convertDuration()
1207 rDuration.Hours = static_cast<sal_Int16>(nHours); in convertDuration()
1208 rDuration.Minutes = static_cast<sal_Int16>(nMinutes); in convertDuration()
1209 rDuration.Seconds = static_cast<sal_Int16>(nSeconds); in convertDuration()
1210 rDuration.MilliSeconds = static_cast<sal_Int16>(nMilliSeconds); in convertDuration()