/aoo41x/main/tools/inc/tools/ |
H A D | datetime.hxx | 39 DateTime( const DateTime& rDateTime ) : in DateTime() function in DateTime 73 DateTime& operator +=( long nDays ) in operator +=() 83 TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, long nDays ); 84 TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, long nDays ); 85 TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, double fTimeInDays ); 86 TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, double fTimeInDays ) in operator -() 88 TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, const Time& rTime ); 89 TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, const Time& rTime ); 90 TOOLS_DLLPUBLIC friend double operator -( const DateTime& rDateTime1, const DateTime& rDateTime2 ); 94 DateTime& operator =( const DateTime& rDateTime ); [all …]
|
/aoo41x/main/tools/source/datetime/ |
H A D | datetime.cxx | 40 sal_Bool DateTime::IsBetween( const DateTime& rFrom, in IsBetween() 59 sal_Bool DateTime::operator >( const DateTime& rDateTime ) const in operator >() 78 sal_Bool DateTime::operator <( const DateTime& rDateTime ) const in operator <() 97 sal_Bool DateTime::operator >=( const DateTime& rDateTime ) const in operator >=() 116 sal_Bool DateTime::operator <=( const DateTime& rDateTime ) const in operator <=() 181 DateTime& DateTime::operator +=( const Time& rTime ) in operator +=() 220 DateTime& DateTime::operator -=( const Time& rTime ) in operator -=() 259 DateTime operator +( const DateTime& rDateTime, long nDays ) in operator +() 276 DateTime operator -( const DateTime& rDateTime, long nDays ) in operator -() 293 DateTime operator +( const DateTime& rDateTime, const Time& rTime ) in operator +() [all …]
|
/aoo41x/main/sax/qa/cppunit/ |
H A D | test_converter.cxx | 144 static bool eqDateTime(util::DateTime a, util::DateTime b) { in eqDateTime() 156 util::DateTime odt; in doTest() 172 util::DateTime odt; in doTestDateTimeF() 185 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in testDateTime() 189 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in testDateTime() 191 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in testDateTime() 199 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in testDateTime() 201 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in testDateTime() 203 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in testDateTime() 206 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in testDateTime() [all …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/document/ |
H A D | _DocumentInfo.java | 28 import com.sun.star.util.DateTime; 72 if (ob1 instanceof DateTime && ob2 instanceof DateTime) { in compare() 73 DateTime dt1 = (DateTime)ob1; in compare() 74 DateTime dt2 = (DateTime)ob2; in compare() 92 if (obj instanceof DateTime) { in toString() 93 DateTime dt = (DateTime)obj; in toString() 111 DateTime dt = new DateTime(); in getNewValue()
|
/aoo41x/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.hxx | 45 struct DateTime struct 46 : public com::sun::star::util::DateTime 48 DateTime(const sal_uInt16& hundredthSeconds, in DateTime() function 55 : com::sun::star::util::DateTime(hundredthSeconds, in DateTime() 94 DateTime m_aDate; 105 m_aDate = DateTime(0,0,0,0,0,0,0); in clear() 153 DateTime& rDateTime); 158 DateTime& rDateTime); 163 DateTime& rDateTime); 169 DateTime& rDateTime); [all …]
|
/aoo41x/main/shell/source/win32/shlxthandler/util/ |
H A D | iso8601_converter.cxx | 46 SYSTEMTIME DateTime; in iso8601_date_to_local_date() local 47 DateTime.wYear = ( unsigned short )strtol( asDateTime.substr( 0, 4 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 48 DateTime.wMonth = ( unsigned short )strtol( asDateTime.substr( 5, 2 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 49 DateTime.wDayOfWeek = 0; in iso8601_date_to_local_date() 50 DateTime.wDay = ( unsigned short )strtol( asDateTime.substr( 8, 2 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 51 DateTime.wHour = ( unsigned short )strtol( asDateTime.substr( 11,2 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 52 DateTime.wMinute = ( unsigned short )strtol( asDateTime.substr( 14,2 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 53 DateTime.wSecond = ( unsigned short )strtol( asDateTime.substr( 17,2 ).c_str(), NULL, 10 ); in iso8601_date_to_local_date() 54 DateTime.wMilliseconds = 0; in iso8601_date_to_local_date() 61 &DateTime, in iso8601_date_to_local_date() [all …]
|
/aoo41x/main/sw/source/core/fields/ |
H A D | flddat.cxx | 74 DateTime aDateTime; in SwDateTimeField() 89 DateTime aDateTime; in Expand() 160 void SwDateTimeField::SetDateTime(const DateTime& rDT) in SetDateTime() 169 double SwDateTimeField::GetDateTime(SwDoc* pDoc, const DateTime& rDT) in GetDateTime() 174 double fResult = rDT - DateTime(*pNullDate); in GetDateTime() 188 return GetDateTime(GetDoc(), DateTime()); in GetValue() 218 DateTime aDT((long)fDummy, 0); in GetTime() 252 DateTime aDateTime(GetDate(), GetTime()); in QueryValue() 254 util::DateTime DateTimeValue; in QueryValue() 298 util::DateTime aDateTimeValue; in PutValue() [all …]
|
/aoo41x/test/testuno/source/fvt/uno/sd/file/ |
H A D | CheckFileProperties.java | 50 import com.sun.star.util.DateTime; 156 private boolean DateTimeEquals(DateTime datetime1, DateTime datetime2){ in DateTimeEquals() 192 private DateTime getCurrentDateTime(){ in getCurrentDateTime() 194 DateTime currentDateTime = new DateTime(); in getCurrentDateTime() 221 DateTime creationDate = getCurrentDateTime(); in testGeneralCreationDate() 231 DateTime result = xDocPro2.getCreationDate(); in testGeneralCreationDate() 257 DateTime modificationDate = getCurrentDateTime(); in testGeneralModificationDate() 263 DateTime result = xDocPro.getModificationDate(); in testGeneralModificationDate() 287 DateTime printDate = getCurrentDateTime(); in testGeneralPrintDate() 297 DateTime result = xDocPro2.getPrintDate(); in testGeneralPrintDate() [all …]
|
/aoo41x/test/testuno/source/fvt/uno/sw/field/ |
H A D | CheckDateTimeField.java | 47 import com.sun.star.util.DateTime; 133 DateTime dateField = (DateTime) props.getPropertyValue("DateTimeValue"); in createTimeFiled() 150 DateTime dateField2 = (DateTime) props2.getPropertyValue("DateTimeValue"); in createTimeFiled() 201 DateTime dateField = (DateTime) props.getPropertyValue("DateTimeValue"); in createDateFiled() 218 DateTime dateField2 = (DateTime) props2.getPropertyValue("DateTimeValue"); in createDateFiled()
|
/aoo41x/main/connectivity/source/commontools/ |
H A D | FValue.cxx | 327 TRACE_FREE( DateTime ) in free() 417 m_aValue.m_pValue = new DateTime(*(DateTime*)_rRH.m_aValue.m_pValue); in operator =() 418 TRACE_ALLOC( DateTime ) in operator =() 571 m_aValue.m_pValue = new DateTime(_rRH); in operator =() 572 TRACE_ALLOC( DateTime ) in operator =() 577 *(DateTime*)m_aValue.m_pValue = _rRH; in operator =() 777 sal_Bool operator==(const DateTime& _rLH,const DateTime& _rRH) in operator ==() 880 bRet = *(DateTime*)m_aValue.m_pValue == *(DateTime*)_rRH.m_aValue.m_pValue; in operator ==() 1668 TRACE_ALLOC( DateTime ) in setFromDouble() 1810 …::com::sun::star::util::DateTime* pDateTime = static_cast< ::com::sun::star::util::DateTime*>(m_aV… in getDate() [all …]
|
/aoo41x/main/unotools/source/misc/ |
H A D | datetime.cxx | 66 void typeConvert(const DateTime& _rDateTime, starutil::DateTime& _rOut) in typeConvert() 78 void typeConvert(const starutil::DateTime& _rDateTime, DateTime& _rOut) in typeConvert() 82 _rOut = DateTime(aDate, aTime); in typeConvert() 86 sal_Bool operator ==(const starutil::DateTime& _rLeft, const starutil::DateTime& _rRight) in operator ==()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | oleprops.cxx | 53 bool operator==(const util::DateTime &i_rLeft, const util::DateTime &i_rRight) in operator ==() 189 inline const util::DateTime& GetValue() const { return maDateTime; } in GetValue() 191 inline void SetValue( const util::DateTime& rDateTime ) { maDateTime = rDateTime; } in SetValue() 198 util::DateTime maDateTime; 569 ::DateTime aDateTime = DateTime::CreateFromWin32FileDateTime( nLower, nUpper ); in ImplLoad() 587 DateTime aDateTimeUtc( in ImplSave() 789 bool SfxOleSection::GetFileTimeValue( util::DateTime& rValue, sal_Int32 nPropId ) const in GetFileTimeValue() 797 rValue = util::DateTime(); in GetFileTimeValue() 833 void SfxOleSection::SetFileTimeValue( sal_Int32 nPropId, const util::DateTime& rValue ) in SetFileTimeValue() 867 ::com::sun::star::util::DateTime aApiDateTime; in GetAnyValue() [all …]
|
H A D | SfxDocumentMetaData.cxx | 190 const css::util::DateTime & the_value) 321 css::util::DateTime m_TemplateDate; 525 css::util::DateTime SAL_CALL 528 css::util::DateTime dt; in textToDateTimeDefault() 929 css::util::DateTime dt; in propsToStrings() 1298 css::util::DateTime dt; in init() 1446 css::util::DateTime SAL_CALL 1561 css::util::DateTime SAL_CALL 1589 css::util::DateTime SAL_CALL 1645 css::util::DateTime SAL_CALL [all …]
|
/aoo41x/main/svtools/source/misc/ |
H A D | templatefoldercache.cxx | 65 SvStream& operator << ( SvStream& _rStorage, const util::DateTime& _rDate ) in operator <<() 79 SvStream& operator >> ( SvStream& _rStorage, util::DateTime& _rDate ) in operator >>() 93 sal_Bool operator == ( const util::DateTime& _rLHS, const util::DateTime& _rRHS ) in operator ==() 105 sal_Bool operator != ( const util::DateTime& _rLHS, const util::DateTime& _rRHS ) in operator !=() 127 util::DateTime m_aLastModified; // date of last modification as reported by UCP 143 TemplateContent( const INetURLObject& _rURL, const util::DateTime& _rLastModified ); 148 inline void setModDate( const util::DateTime& _rDate ) { m_aLastModified = _rDate; } in setModDate() 149 inline const util::DateTime& getModDate( ) const { return m_aLastModified; } in getModDate() 184 …TemplateContent::TemplateContent( const INetURLObject& _rURL, const util::DateTime& _rLastModified… in TemplateContent() 422 util::DateTime aModDate; in operator ()()
|
/aoo41x/main/svl/source/items/ |
H A D | dateitem.cxx | 63 SfxDateTimeItem::SfxDateTimeItem( sal_uInt16 which, const DateTime& rDT ) : in SfxDateTimeItem() 115 DateTime aDT(nDate, nTime); in Create() 177 com::sun::star::util::DateTime aValue; in PutValue() 180 aDateTime = DateTime( Date( aValue.Day, in PutValue() 200 com::sun::star::util::DateTime aValue( aDateTime.Get100Sec(), in QueryValue() 222 SfxColumnDateTimeItem::SfxColumnDateTimeItem( sal_uInt16 which, const DateTime& rDT ) : in SfxColumnDateTimeItem() 249 if (GetDateTime() == DateTime(Date(1, 2, 3), Time(3, 2, 1))) in GetPresentation()
|
/aoo41x/main/sc/source/filter/xml/ |
H A D | XMLConverter.hxx | 39 class DateTime; 106 static void ConvertDateTimeToString(const DateTime& aDateTime, rtl::OUStringBuffer& sDate); 110 …static void ConvertCoreToAPIDateTime(const DateTime& aDateTime, com::sun::star::util::DateTime& … 112 … ConvertAPIToCoreDateTime(const com::sun::star::util::DateTime& aDateTime, DateTime& rDate…
|
/aoo41x/main/sc/inc/ |
H A D | chgviset.hxx | 46 DateTime aFirstDateTime; 47 DateTime aLastDateTime; 94 void SetTheFirstDateTime(const DateTime& aDateTime) {aFirstDateTime=aDateTime;} in SetTheFirstDateTime() 95 const DateTime& GetTheFirstDateTime()const {return aFirstDateTime;} in GetTheFirstDateTime() 97 void SetTheLastDateTime(const DateTime& aDateTime) {aLastDateTime=aDateTime;} in SetTheLastDateTime() 98 const DateTime& GetTheLastDateTime()const {return aLastDateTime;} in GetTheLastDateTime()
|
H A D | chgtrack.hxx | 251 DateTime aDateTime; //! UTC 279 const DateTime& aDateTime, 409 const DateTime& GetDateTimeUTC() const // UTC time in GetDateTimeUTC() 450 void SetDateTimeUTC( const DateTime& rDT ) in SetDateTimeUTC() 491 const DateTime& aDateTime, 591 const DateTime& aDateTime, 691 const DateTime& aDateTime, 835 const DateTime& aDateTime, 958 const DateTime& aDateTime, 1027 DateTime aFixDateTime; [all …]
|
/aoo41x/main/unotools/inc/unotools/ |
H A D | datetime.hxx | 36 class DateTime; 51 UNOTOOLS_DLLPUBLIC void typeConvert(const DateTime& _rDateTime, starutil::DateTime& _rOut); 52 UNOTOOLS_DLLPUBLIC void typeConvert(const starutil::DateTime& _rDateTime, DateTime& _rOut);
|
/aoo41x/main/offapi/com/sun/star/xsd/ |
H A D | DateTime.idl | 31 #include <com/sun/star/util/DateTime.idl> 40 service DateTime 49 [property, maybevoid] com::sun::star::util::DateTime MaxInclusiveDateTime; 54 [property, maybevoid] com::sun::star::util::DateTime MaxExclusiveDateTime; 59 [property, maybevoid] com::sun::star::util::DateTime MinInclusiveDateTime; 64 [property, maybevoid] com::sun::star::util::DateTime MinExclusiveDateTime;
|
/aoo41x/main/svl/inc/svl/ |
H A D | dateitem.hxx | 40 DateTime aDateTime; 47 const DateTime& rDT ); 67 const DateTime& GetDateTime() const { return aDateTime; } in GetDateTime() 68 void SetDateTime( const DateTime& rDT ) { in SetDateTime() 86 const DateTime& rDT );
|
/aoo41x/main/xmlsecurity/source/xmlsec/nss/ |
H A D | x509certificate_nssimpl.cxx | 61 using ::com::sun::star::util::DateTime ; 114 ::com::sun::star::util::DateTime SAL_CALL X509Certificate_NssImpl :: getNotValidBefore() throw ( ::… in getNotValidBefore() 119 DateTime dateTime ; in getNotValidBefore() 123 return DateTime() ; in getNotValidBefore() 139 return DateTime() ; in getNotValidBefore() 143 ::com::sun::star::util::DateTime SAL_CALL X509Certificate_NssImpl :: getNotValidAfter() throw ( ::c… in getNotValidAfter() 148 DateTime dateTime ; in getNotValidAfter() 152 return DateTime() ; in getNotValidAfter() 168 return DateTime() ; in getNotValidAfter()
|
/aoo41x/main/sfx2/inc/sfx2/ |
H A D | dinfdlg.hxx | 65 ::com::sun::star::util::DateTime m_CreationDate; 67 ::com::sun::star::util::DateTime m_ModificationDate; 69 ::com::sun::star::util::DateTime m_PrintDate; 111 ::com::sun::star::util::DateTime 113 void setCreationDate(::com::sun::star::util::DateTime i_val) { in setCreationDate() 119 ::com::sun::star::util::DateTime 121 void setModificationDate(::com::sun::star::util::DateTime i_val) { in setModificationDate() 126 ::com::sun::star::util::DateTime 128 void setPrintDate(::com::sun::star::util::DateTime i_val) { in setPrintDate()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofield.cxx | 72 util::DateTime maDateTime; 81 { MAP_CHAR_LEN("DateTime"), WID_DATE, &::getCppuType((const util::DateTime*)0), 0, 0 }, in ImplGetFieldItemPropertySet() 215 static util::DateTime getDate( sal_uLong nDate ) in getDate() 217 util::DateTime aDate; in getDate() 218 memset( &aDate, 0, sizeof( util::DateTime ) ); in getDate() 229 inline Date setDate( util::DateTime& rDate ) in setDate() 234 static util::DateTime getTime( long nTime ) in getTime() 236 util::DateTime aTime; in getTime() 237 memset( &aTime, 0, sizeof( util::DateTime ) ); in getTime() 249 inline Time setTime( util::DateTime& rDate ) in setTime() [all …]
|
/aoo41x/main/svx/inc/svx/ |
H A D | ctredlin.hxx | 64 DateTime aDateTime; 104 DateTime aDaTiFirst; 105 DateTime aDaTiLast; 106 DateTime aDaTiFilterFirst; 107 DateTime aDaTiFilterLast; 147 sal_Bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime,const String* pComment); 148 sal_Bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime);
|