/trunk/main/tools/inc/tools/ |
H A D | datetime.hxx | 39 DateTime( const DateTime& rDateTime ) : in DateTime() argument 40 Date( rDateTime ), Time( rDateTime ) {} in DateTime() 51 if ( Date::operator!=( rDateTime ) ) in IsEqualIgnore100Sec() 57 { return (Date::operator==( rDateTime ) && in operator ==() 58 Time::operator==( rDateTime )); } in operator ==() 60 { return (Date::operator!=( rDateTime ) || in operator !=() 87 { return operator+( rDateTime, -fTimeInDays ); } in operator -() 92 { return (const Date&) rDateTime - rDate; } in operator -() 94 DateTime& operator =( const DateTime& rDateTime ); 102 Date::operator=( rDateTime ); in operator =() [all …]
|
/trunk/main/tools/source/datetime/ |
H A D | datetime.cxx | 61 if ( (Date::operator>( rDateTime )) || in operator >() 62 (Date::operator==( rDateTime ) && Time::operator>( rDateTime )) ) in operator >() 80 if ( (Date::operator<( rDateTime )) || in operator <() 81 (Date::operator==( rDateTime ) && Time::operator<( rDateTime )) ) in operator <() 100 (Date::operator==( rDateTime ) && Time::operator>=( rDateTime )) ) in operator >=() 119 (Date::operator==( rDateTime ) && Time::operator<=( rDateTime )) ) in operator <=() 261 DateTime aDateTime( rDateTime ); in operator +() 278 DateTime aDateTime( rDateTime ); in operator -() 295 DateTime aDateTime( rDateTime ); in operator +() 312 DateTime aDateTime( rDateTime ); in operator -() [all …]
|
/trunk/main/tools/source/inet/ |
H A D | inetmsg.cxx | 361 if (!rDateTime.IsValid() || in GenerateDateField() 362 (rDateTime.GetSec() > 59) || in GenerateDateField() 363 (rDateTime.GetMin() > 59) || in GenerateDateField() 385 nNum = rDateTime.GetHour(); in GenerateDateField() 390 nNum = rDateTime.GetMin(); in GenerateDateField() 395 nNum = rDateTime.GetSec(); in GenerateDateField() 470 rDateTime.Set100Sec (0); in ParseDateField() 474 rDateTime.SetYear (nYear); in ParseDateField() 486 rDateTime.SetYear (nYear); in ParseDateField() 491 rDateTime.Set100Sec (0); in ParseDateField() [all …]
|
/trunk/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 1028 DateTime &rDateTime) in parseUNIX_isMonthField() argument 1037 rDateTime.SetMonth(1); in parseUNIX_isMonthField() 1044 rDateTime.SetMonth(2); in parseUNIX_isMonthField() 1051 rDateTime.SetMonth(3); in parseUNIX_isMonthField() 1058 rDateTime.SetMonth(4); in parseUNIX_isMonthField() 1143 rDateTime.SetDay(nDay); in parseUNIX_isDayField() 1190 rDateTime.SetTime(0); in parseUNIX_isYearTimeField() 1211 rDateTime.SetMin (nMin); in parseUNIX_isTime() 1212 rDateTime.SetSec (0); in parseUNIX_isTime() 1213 rDateTime.Set100Sec (0); in parseUNIX_isTime() [all …]
|
H A D | ftpdirp.hxx | 153 DateTime& rDateTime); 158 DateTime& rDateTime); 163 DateTime& rDateTime); 169 DateTime& rDateTime); 172 DateTime& rDateTime,
|
/trunk/main/xmlsecurity/source/helper/ |
H A D | xsecctl.cxx | 124 if( rDateTime.Month < 10 ) in convertDateTime() 128 if( rDateTime.Day < 10 ) in convertDateTime() 132 if( rDateTime.Seconds != 0 || in convertDateTime() 133 rDateTime.Minutes != 0 || in convertDateTime() 134 rDateTime.Hours != 0 ) in convertDateTime() 137 if( rDateTime.Hours < 10 ) in convertDateTime() 141 if( rDateTime.Minutes < 10 ) in convertDateTime() 145 if( rDateTime.Seconds < 10 ) in convertDateTime() 148 if ( rDateTime.HundredthSeconds > 0) in convertDateTime() 151 if (rDateTime.HundredthSeconds < 10) in convertDateTime() [all …]
|
H A D | xsecsign.cxx | 280 const ::com::sun::star::util::DateTime& rDateTime ) in setDate() 287 isi.signatureInfor.stDateTime = rDateTime; in setDate() 294 si.stDateTime = rDateTime; in setDate()
|
/trunk/main/xmlsecurity/tools/demo/ |
H A D | util2.cxx | 54 const com::sun::star::util::DateTime& rDateTime ) in convertDateTime() argument 58 if( rDateTime.Month < 10 ) in convertDateTime() 62 if( rDateTime.Day < 10 ) in convertDateTime() 66 if( rDateTime.Seconds != 0 || in convertDateTime() 67 rDateTime.Minutes != 0 || in convertDateTime() 68 rDateTime.Hours != 0 ) in convertDateTime() 71 if( rDateTime.Hours < 10 ) in convertDateTime() 75 if( rDateTime.Minutes < 10 ) in convertDateTime() 79 if( rDateTime.Seconds < 10 ) in convertDateTime() 82 if ( rDateTime.HundredthSeconds > 0) in convertDateTime() [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1015 double fHour = rDateTime.Hours; in convertTime() 1016 double fMin = rDateTime.Minutes; in convertTime() 1035 rDateTime.Year = 0; in convertTime() 1036 rDateTime.Month = 0; in convertTime() 1037 rDateTime.Day = 0; in convertTime() 1184 if( rDateTime.Month < 10 ) in convertDateTime() 1188 if( rDateTime.Day < 10 ) in convertDateTime() 1192 if( rDateTime.Seconds != 0 || in convertDateTime() 1193 rDateTime.Minutes != 0 || in convertDateTime() 1194 rDateTime.Hours != 0 || in convertDateTime() [all …]
|
/trunk/main/oox/source/xls/ |
H A D | unitconverter.cxx | 188 double UnitConverter::calcSerialFromDateTime( const DateTime& rDateTime ) const in calcSerialFromDateTime() 190 …sal_Int32 nDays = lclGetDays( Date( rDateTime.Day, rDateTime.Month, rDateTime.Year ) ) - mnNullDat… in calcSerialFromDateTime() 192 …OSL_ENSURE( (rDateTime.Hours <= 23) && (rDateTime.Minutes <= 59) && (rDateTime.Seconds <= 59), "Un… in calcSerialFromDateTime() 193 …return nDays + rDateTime.Hours / 24.0 + rDateTime.Minutes / 1440.0 + rDateTime.Seconds / 86400.0 +… in calcSerialFromDateTime()
|
H A D | sheetdatabuffer.cxx | 380 void SheetDataBuffer::setDateTimeCell( const CellModel& rModel, const DateTime& rDateTime ) in setDateTimeCell() argument 383 double fSerial = getUnitConverter().calcSerialFromDateTime( rDateTime ); in setDateTimeCell() 387 …l_Int16 nStdFmt = (fSerial < 1.0) ? TIME : (((rDateTime.Hours > 0) || (rDateTime.Minutes > 0) || (… in setDateTimeCell()
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLConverter.cxx | 359 void ScXMLConverter::ConvertCoreToAPIDateTime(const DateTime& aDateTime, util::DateTime& rDateTime) in ConvertCoreToAPIDateTime() argument 361 rDateTime.Year = aDateTime.GetYear(); in ConvertCoreToAPIDateTime() 362 rDateTime.Month = aDateTime.GetMonth(); in ConvertCoreToAPIDateTime() 363 rDateTime.Day = aDateTime.GetDay(); in ConvertCoreToAPIDateTime() 364 rDateTime.Hours = aDateTime.GetHour(); in ConvertCoreToAPIDateTime() 365 rDateTime.Minutes = aDateTime.GetMin(); in ConvertCoreToAPIDateTime() 366 rDateTime.Seconds = aDateTime.GetSec(); in ConvertCoreToAPIDateTime() 367 rDateTime.HundredthSeconds = aDateTime.Get100Sec(); in ConvertCoreToAPIDateTime() 370 void ScXMLConverter::ConvertAPIToCoreDateTime(const util::DateTime& aDateTime, DateTime& rDateTime) in ConvertAPIToCoreDateTime() argument 375 rDateTime = aTempDateTime; in ConvertAPIToCoreDateTime()
|
/trunk/main/sax/source/tools/ |
H A D | converter.cxx | 1290 bool Converter::convertDateTime( util::DateTime& rDateTime, in convertDateTime() argument 1299 rDateTime.Year = date.Year; in convertDateTime() 1300 rDateTime.Month = date.Month; in convertDateTime() 1301 rDateTime.Day = date.Day; in convertDateTime() 1302 rDateTime.Hours = 0; in convertDateTime() 1303 rDateTime.Minutes = 0; in convertDateTime() 1304 rDateTime.Seconds = 0; in convertDateTime() 1305 rDateTime.HundredthSeconds = 0; in convertDateTime() 1580 rDateTime.Year = static_cast<sal_uInt16>(nYear); in convertDateOrDateTime() 1582 rDateTime.Day = static_cast<sal_uInt16>(nDay); in convertDateOrDateTime() [all …]
|
/trunk/main/sc/source/filter/xcl97/ |
H A D | XclImpChangeTrack.cxx | 124 void XclImpChangeTrack::ReadDateTime( DateTime& rDateTime ) in ReadDateTime() argument 131 rDateTime.SetYear( nYear ); in ReadDateTime() 132 rDateTime.SetMonth( nMonth ); in ReadDateTime() 133 rDateTime.SetDay( nDay ); in ReadDateTime() 134 rDateTime.SetHour( nHour ); in ReadDateTime() 135 rDateTime.SetMin( nMin ); in ReadDateTime() 136 rDateTime.SetSec( nSec ); in ReadDateTime() 137 rDateTime.Set100Sec( 0 ); in ReadDateTime()
|
H A D | XclExpChangeTrack.cxx | 39 void lcl_WriteDateTime( XclExpStream& rStrm, const DateTime& rDateTime ) in lcl_WriteDateTime() argument 42 rStrm << (sal_uInt16) rDateTime.GetYear() in lcl_WriteDateTime() 43 << (sal_uInt8) rDateTime.GetMonth() in lcl_WriteDateTime() 44 << (sal_uInt8) rDateTime.GetDay() in lcl_WriteDateTime() 45 << (sal_uInt8) rDateTime.GetHour() in lcl_WriteDateTime() 46 << (sal_uInt8) rDateTime.GetMin() in lcl_WriteDateTime() 47 << (sal_uInt8) rDateTime.GetSec(); in lcl_WriteDateTime()
|
/trunk/main/connectivity/source/commontools/ |
H A D | CommonTools.cxx | 145 rtl::OUString toDateTimeString(const ::com::sun::star::util::DateTime& rDateTime) in toDateTimeString() argument 151 (int)rDateTime.Year, in toDateTimeString() 152 (int)rDateTime.Month, in toDateTimeString() 153 (int)rDateTime.Day, in toDateTimeString() 154 (int)rDateTime.Hours, in toDateTimeString() 155 (int)rDateTime.Minutes, in toDateTimeString() 156 (int)rDateTime.Seconds); in toDateTimeString()
|
/trunk/main/uui/source/ |
H A D | iahndl-ssl.cxx | 112 util::DateTime const & rDateTime ) in getLocalizedDatTimeStr() argument 118 aDate = Date( rDateTime.Day, rDateTime.Month, rDateTime.Year ); in getLocalizedDatTimeStr() 119 aTime = Time( rDateTime.Hours, rDateTime.Minutes, rDateTime.Seconds ); in getLocalizedDatTimeStr()
|
/trunk/main/xmloff/source/meta/ |
H A D | xmlmetae.cxx | 65 SvXMLMetaExport::GetISODateTimeString( const util::DateTime& rDateTime ) in GetISODateTimeString() argument 70 sTmp.append( (sal_Int32) rDateTime.Year ); in GetISODateTimeString() 72 lcl_AddTwoDigits( sTmp, rDateTime.Month ); in GetISODateTimeString() 74 lcl_AddTwoDigits( sTmp, rDateTime.Day ); in GetISODateTimeString() 76 lcl_AddTwoDigits( sTmp, rDateTime.Hours ); in GetISODateTimeString() 78 lcl_AddTwoDigits( sTmp, rDateTime.Minutes ); in GetISODateTimeString() 80 lcl_AddTwoDigits( sTmp, rDateTime.Seconds ); in GetISODateTimeString()
|
H A D | xmlversion.cxx | 254 util::DateTime& rDateTime ) in ParseISODateTimeString() argument 340 rDateTime.Day = sal::static_int_cast< sal_uInt16 >(nDay); in ParseISODateTimeString() 341 rDateTime.Month = sal::static_int_cast< sal_uInt16 >(nMonth); in ParseISODateTimeString() 342 rDateTime.Year = sal::static_int_cast< sal_uInt16 >(nYear); in ParseISODateTimeString() 343 rDateTime.Hours = sal::static_int_cast< sal_uInt16 >(nHour); in ParseISODateTimeString() 344 rDateTime.Minutes = sal::static_int_cast< sal_uInt16 >(nMin); in ParseISODateTimeString() 345 rDateTime.Seconds = sal::static_int_cast< sal_uInt16 >(nSec); in ParseISODateTimeString()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 165 const ::com::sun::star::util::DateTime& rDateTime, in lcl_AddStamp() 168 Date aD(rDateTime.Day, rDateTime.Month, rDateTime.Year); in lcl_AddStamp() 169 Time aT(rDateTime.Hours, rDateTime.Minutes, rDateTime.Seconds, in lcl_AddStamp() 170 rDateTime.HundredthSeconds); in lcl_AddStamp()
|
/trunk/main/xmloff/inc/xmloff/ |
H A D | xmluconv.hxx | 291 const ::com::sun::star::util::DateTime& rDateTime ); 298 static sal_Bool convertTime( ::com::sun::star::util::DateTime& rDateTime, 365 const com::sun::star::util::DateTime& rDateTime, 369 static sal_Bool convertDateTime( com::sun::star::util::DateTime& rDateTime,
|
/trunk/main/sax/inc/sax/tools/ |
H A D | converter.hxx | 163 const com::sun::star::util::DateTime& rDateTime, 167 static bool convertDateTime( com::sun::star::util::DateTime& rDateTime, 174 com::sun::star::util::DateTime & rDateTime,
|
/trunk/main/sc/source/filter/inc/ |
H A D | xepivot.hxx | 51 explicit XclExpPCItem( const DateTime& rDateTime ); 59 bool EqualsDateTime( const DateTime& rDateTime ) const; 136 void InsertOrigDateTimeItem( const DateTime& rDateTime );
|
H A D | XclExpChangeTrack.hxx | 254 const DateTime& rDateTime, 262 inline XclExpChTrInfo::XclExpChTrInfo( const String& rUsername, const DateTime& rDateTime, const sa… in XclExpChTrInfo() argument 264 aDateTime( rDateTime ) in XclExpChTrInfo()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xlroot.cxx | 331 double XclRoot::GetDoubleFromDateTime( const DateTime& rDateTime ) const in GetDoubleFromDateTime() 333 double fValue = rDateTime - GetNullDate(); in GetDoubleFromDateTime() 335 if( rDateTime < DateTime( Date( 1, 3, 1900 ) ) ) in GetDoubleFromDateTime()
|