/aoo42x/main/tools/inc/tools/ |
H A D | time.hxx | 44 Time( const Time& rTime ); 79 sal_Bool operator ==( const Time& rTime ) const in operator ==() 80 { return (nTime == rTime.nTime); } in operator ==() 82 { return (nTime != rTime.nTime); } in operator !=() 84 { return (nTime > rTime.nTime); } in operator >() 86 { return (nTime < rTime.nTime); } in operator <() 88 { return (nTime >= rTime.nTime); } in operator >=() 90 { return (nTime <= rTime.nTime); } in operator <=() 99 Time& operator =( const Time& rTime ); 102 Time& operator +=( const Time& rTime ); [all …]
|
H A D | datetime.hxx | 42 DateTime( const Time& rTime ) : Date(0), Time( rTime ) {} in DateTime() argument 43 DateTime( const Date& rDate, const Time& rTime ) : in DateTime() argument 44 Date( rDate ), Time( rTime ) {} in DateTime() 80 DateTime& operator +=( const Time& rTime ); 81 DateTime& operator -=( const Time& rTime ); 88 TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, const Time& rTime ); 89 TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, const Time& rTime );
|
/aoo42x/main/tools/source/datetime/ |
H A D | ttime.cxx | 60 sal_Int32 nHour = rTime.GetHour(); in TimeToSec100() 61 sal_Int32 nMin = rTime.GetMin(); in TimeToSec100() 62 sal_Int32 nSec = rTime.GetSec(); in TimeToSec100() 63 sal_Int32 n100Sec = rTime.Get100Sec(); in TimeToSec100() 137 Time::Time( const Time& rTime ) in Time() argument 139 nTime = rTime.nTime; in Time() 264 Time& Time::operator =( const Time& rTime ) in operator =() argument 266 nTime = rTime.nTime; in operator =() 275 TimeToSec100( rTime ) ).GetTime(); in operator +=() 284 TimeToSec100( rTime ) ).GetTime(); in operator -=() [all …]
|
H A D | datetime.cxx | 181 DateTime& DateTime::operator +=( const Time& rTime ) in operator +=() argument 184 aTime += rTime; in operator +=() 220 DateTime& DateTime::operator -=( const Time& rTime ) in operator -=() argument 223 aTime -= rTime; in operator -=() 293 DateTime operator +( const DateTime& rDateTime, const Time& rTime ) in operator +() argument 296 aDateTime += rTime; in operator +() 310 DateTime operator -( const DateTime& rDateTime, const Time& rTime ) in operator -() argument 313 aDateTime -= rTime; in operator -()
|
/aoo42x/main/oox/source/core/ |
H A D | xmlfilterbase.cxx | 328 writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const DateTime& rTime ) in writeElement() argument 330 if( rTime.Year == 0 ) in writeElement() 342 rTime.Year, rTime.Month, rTime.Day, in writeElement() 343 rTime.Hours, rTime.Minutes, rTime.Seconds, in writeElement() 344 rTime.HundredthSeconds ); in writeElement()
|
/aoo42x/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 1560 sal_uInt16 nHour = rTime.GetHour(); in getTime() 1575 pBuf = ImplAdd2UNum( pBuf, rTime.GetMin(), sal_True ); in getTime() 1579 pBuf = ImplAdd2UNum( pBuf, rTime.GetSec(), sal_True ); in getTime() 1584 pBuf = ImplAdd2UNum( pBuf, rTime.Get100Sec(), sal_True ); in getTime() 1592 if ( (rTime.GetHour() % 24) >= 12 ) in getTime() 1670 if ( rTime < Time( 0 ) ) in getDuration() 1674 pBuf = ImplAddUNum( pBuf, rTime.GetHour(), 2 ); in getDuration() 1676 pBuf = ImplAddUNum( pBuf, rTime.GetHour() ); in getDuration() 1678 pBuf = ImplAdd2UNum( pBuf, rTime.GetMin(), sal_True ); in getDuration() 1682 pBuf = ImplAdd2UNum( pBuf, rTime.GetSec(), sal_True ); in getDuration() [all …]
|
/aoo42x/main/editeng/inc/editeng/ |
H A D | flditem.hxx | 269 SvxExtTimeField( const Time& rTime, 274 void SetFixTime( const Time& rTime ) { nFixTime = rTime.GetTime(); } in SetFixTime() argument 288 …static String GetFormatted( Time& rTime, SvxTimeFormat eFormat, SvNumberFormatter& rForm… 413 …static String GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rF…
|
/aoo42x/main/forms/source/xforms/ |
H A D | convert.cxx | 337 OUString lcl_toXSD_UNOTime_typed( const UNOTime& rTime ) in lcl_toXSD_UNOTime_typed() argument 341 lcl_appendInt32ToBuffer( rTime.Hours, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 343 lcl_appendInt32ToBuffer( rTime.Minutes, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 345 lcl_appendInt32ToBuffer( rTime.Seconds, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 346 if ( rTime.HundredthSeconds ) in lcl_toXSD_UNOTime_typed() 349 lcl_appendInt32ToBuffer( rTime.HundredthSeconds, sInfo, 2 ); in lcl_toXSD_UNOTime_typed()
|
/aoo42x/main/xmlsecurity/source/helper/ |
H A D | xmlsignaturehelper.cxx | 168 void XMLSignatureHelper::SetDateTime( sal_Int32 nSecurityId, const Date& rDate, const Time& rTime ) in SetDateTime() argument 176 stDateTime.HundredthSeconds = (::sal_uInt16)rTime.Get100Sec(); in SetDateTime() 177 stDateTime.Seconds = (::sal_uInt16)rTime.GetSec(); in SetDateTime() 178 stDateTime.Minutes = (::sal_uInt16)rTime.GetMin(); in SetDateTime() 179 stDateTime.Hours = (::sal_uInt16)rTime.GetHour(); in SetDateTime()
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | CommonTools.cxx | 131 rtl::OUString toTimeString(const ::com::sun::star::util::Time& rTime) in toTimeString() argument 137 (int)rTime.Hours, in toTimeString() 138 (int)rTime.Minutes, in toTimeString() 139 (int)rTime.Seconds); in toTimeString()
|
H A D | dbconversion.cxx | 75 ::rtl::OUString DBTypeConversion::toTimeString(const Time& rTime) in toTimeString() argument 81 (int)rTime.Hours, in toTimeString() 82 (int)rTime.Minutes, in toTimeString() 83 (int)rTime.Seconds); in toTimeString()
|
/aoo42x/main/xmloff/source/xforms/ |
H A D | xformsexport.cxx | 691 void lcl_formatTime( OUStringBuffer& aBuffer, const com::sun::star::util::Time& rTime ) in lcl_formatTime() argument 694 aDateTime.Hours = rTime.Hours; in lcl_formatTime() 695 aDateTime.Minutes = rTime.Minutes; in lcl_formatTime() 696 aDateTime.Seconds = rTime.Seconds; in lcl_formatTime() 697 aDateTime.HundredthSeconds = rTime.HundredthSeconds; in lcl_formatTime()
|
/aoo42x/main/editeng/source/items/ |
H A D | flditem.cxx | 559 SvxExtTimeField::SvxExtTimeField( const Time& rTime, SvxTimeType eT, SvxTimeFormat eF ) in SvxExtTimeField() argument 561 nFixTime = rTime.GetTime(); in SvxExtTimeField() 1024 String SvxDateTimeField::GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rF… in GetFormatted() argument 1042 aRet += SvxExtTimeField::GetFormatted( rTime, eTimeFormat, rFormatter, eLanguage ); in GetFormatted()
|
/aoo42x/main/vcl/source/control/ |
H A D | field2.cxx | 2445 static sal_Bool ImplTimeGetValue( const XubString& rStr, Time& rTime, in ImplTimeGetValue() argument 2639 rTime = aTime; in ImplTimeGetValue() 2923 void TimeFormatter::ImplNewFieldValue( const Time& rTime ) in ImplNewFieldValue() argument 2939 ImplSetUserTime( rTime, &aSelection ); in ImplNewFieldValue() 3412 void TimeBox::InsertTime( const Time& rTime, sal_uInt16 nPos ) in InsertTime() argument 3414 Time aTime = rTime; in InsertTime() 3431 void TimeBox::RemoveTime( const Time& rTime ) in RemoveTime() argument 3439 ComboBox::RemoveEntry( ImplGetLocaleDataWrapper().getTime( rTime, bSec, b100Sec ) ); in RemoveTime() 3453 sal_uInt16 TimeBox::GetTimePos( const Time& rTime ) const in GetTimePos() 3461 return ComboBox::GetEntryPos( ImplGetLocaleDataWrapper().getTime( rTime, bSec, b100Sec ) ); in GetTimePos()
|
/aoo42x/main/tools/source/fsys/ |
H A D | unx.hxx | 78 inline void Unx2DateAndTime( time_t nDate, Time& rTime, Date& rDate ) in Unx2DateAndTime() argument 83 rTime = Time( pTime->tm_hour, pTime->tm_min, pTime->tm_sec ); in Unx2DateAndTime()
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | field.hxx | 440 SAL_DLLPRIVATE void ImplNewFieldValue( const Time& rTime ); 873 void InsertTime( const Time& rTime, sal_uInt16 nPos = COMBOBOX_APPEND ); 874 void RemoveTime( const Time& rTime ); 877 sal_uInt16 GetTimePos( const Time& rTime ) const;
|
/aoo42x/main/sfx2/source/doc/ |
H A D | objcont.cxx | 232 lcl_add(util::Duration & rDur, Time const& rTime) in lcl_add() argument 236 rDur.Hours += rTime.GetHour(); in lcl_add() 237 rDur.Minutes += rTime.GetMin(); in lcl_add() 238 rDur.Seconds += rTime.GetSec(); in lcl_add()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | versdlg.cxx | 149 static String ConvertDateTime_Impl(const DateTime& rTime, const LocaleDataWrapper& rWrapper) in ConvertDateTime_Impl() argument 152 String aStr(rWrapper.getDate(rTime)); in ConvertDateTime_Impl() 154 aStr += rWrapper.getTime(rTime, sal_True, sal_False); in ConvertDateTime_Impl()
|
/aoo42x/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1974 rtl::OUString SvXMLUnitConverter::convertTimeDuration( const Time& rTime, sal_Int32 nSecondsFractio… in convertTimeDuration() argument 1980 sal_uInt16 nHours = rTime.GetHour(); in convertTimeDuration() 1999 sal_uInt16 nMinutes = rTime.GetMin(); in convertTimeDuration() 2005 sal_uInt16 nSeconds = rTime.GetSec(); in convertTimeDuration() 2020 bool SvXMLUnitConverter::convertTimeDuration( const rtl::OUString& rString, Time& rTime, sal_Int32*… in convertTimeDuration() argument 2116 rTime = Time( nHours, nMins, nSecs ); in convertTimeDuration()
|
/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterToolBar.cxx | 300 OUString FormatTime (const oslDateTime& rTime); 2110 OUString TimeFormatter::FormatTime (const oslDateTime& rTime) in FormatTime() argument 2114 const sal_Int32 nHours (sal::static_int_cast<sal_Int32>(rTime.Hours)); in FormatTime() 2115 const sal_Int32 nMinutes (sal::static_int_cast<sal_Int32>(rTime.Minutes)); in FormatTime() 2116 const sal_Int32 nSeconds(sal::static_int_cast<sal_Int32>(rTime.Seconds)); in FormatTime() 2145 if (rTime.Hours < 12) in FormatTime()
|
/aoo42x/main/svl/source/numbers/ |
H A D | zforfind.cxx | 1651 const String& rTime = pLoc->getTimeSep(); in ScanMidString() local 1652 sal_Unicode cTime = rTime.GetChar(0); in ScanMidString() 1716 if ( SkipString(rTime, rString, nPos) ) // time separator? in ScanMidString() 1910 const String& rTime = pLoc->getTimeSep(); in ScanEndString() local 1911 if ( SkipString(rTime, rString, nPos) ) // 10: in ScanEndString() 1932 sal_Unicode cTime = rTime.GetChar(0); in ScanEndString()
|
/aoo42x/main/unotools/inc/unotools/ |
H A D | localedatawrapper.hxx | 250 String getTime( const Time& rTime, sal_Bool bSec = sal_True, 252 String getDuration( const Time& rTime,
|
/aoo42x/main/xmloff/inc/xmloff/ |
H A D | xmluconv.hxx | 331 … static ::rtl::OUString convertTimeDuration( const ::Time& rTime, sal_Int32 nSecondsFraction = 0 ); 345 …static bool convertTimeDuration( const rtl::OUString& rString, ::Time& rTime, sal_Int32* pSecondsF…
|
/aoo42x/main/sw/source/core/fields/ |
H A D | docufld.cxx | 1070 double lcl_TimeToDouble( const T& rTime ) in lcl_TimeToDouble() argument 1073 …return ((rTime.Hours*3600000)+(rTime.Minutes*60000)+(rTime.Seconds*1000)+(rTime.HundredthSeconds*1… in lcl_TimeToDouble()
|
/aoo42x/main/xmloff/inc/ |
H A D | txtflde.hxx | 371 const ::com::sun::star::util::DateTime& rTime, /// date/time value 378 const ::com::sun::star::util::Date& rTime, /// date value
|