/aoo41x/main/tools/inc/tools/ |
H A D | date.hxx | 51 Date( const Date& rDate ) in Date() argument 52 { nDate = rDate.nDate; } in Date() 84 sal_Bool operator ==( const Date& rDate ) const in operator ==() 85 { return (nDate == rDate.nDate); } in operator ==() 87 { return (nDate != rDate.nDate); } in operator !=() 89 { return (nDate > rDate.nDate); } in operator >() 91 { return (nDate < rDate.nDate); } in operator <() 93 { return (nDate >= rDate.nDate); } in operator >=() 95 { return (nDate <= rDate.nDate); } in operator <=() 97 Date& operator =( const Date& rDate ) in operator =() argument [all …]
|
H A D | datetime.hxx | 41 DateTime( const Date& rDate ) : Date( rDate ), Time(0) {} in DateTime() argument 43 DateTime( const Date& rDate, const Time& rTime ) : in DateTime() argument 44 Date( rDate ), Time( rTime ) {} in DateTime() 67 long GetSecFromDateTime( const Date& rDate ) const; 68 void MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec ); 91 TOOLS_DLLPUBLIC friend long operator -( const DateTime& rDateTime, const Date& rDate ) in operator -() argument 92 { return (const Date&) rDateTime - rDate; } in operator -()
|
/aoo41x/main/svtools/source/control/ |
H A D | calendar.cxx | 621 rDate = GetFirstMonth(); in ImplHitTest() 662 rDate += nDay; in ImplHitTest() 678 rDate += nDay-1; in ImplHitTest() 708 rDate += nDay-1; in ImplHitTest() 1214 sal_Bool bOther = (rDate < GetFirstMonth()) || (rDate > GetLastMonth()); in ImplUpdateDate() 1216 rDate.GetDay(), rDate.GetMonth(), rDate.GetYear(), in ImplUpdateDate() 1264 Date aTempDate = rDate; in ImplMouseSelect() 2223 rDate = maDropDate; in GetDropDate() 2237 rDate = aDate; in GetDate() 2259 if ( rDate < aDate ) in GetDateRect() [all …]
|
/aoo41x/main/oox/source/xls/ |
H A D | unitconverter.cxx | 74 sal_Int32 lclGetDays( const Date& rDate ) in lclGetDays() argument 77 …sal_Int32 nDays = rDate.Year * 365 + ((rDate.Year + 3) / 4) - ((rDate.Year + 99) / 100) + ((rDate.… in lclGetDays() 78 OSL_ENSURE( (1 <= rDate.Month) && (rDate.Month <= 12), "lclGetDays - invalid month" ); in lclGetDays() 79 …OSL_ENSURE( (1 <= rDate.Day) && (rDate.Day <= 31), "lclGetDays - invalid day" ); // yes, this i… in lclGetDays() 80 if( (1 <= rDate.Month) && (rDate.Month <= 12) ) in lclGetDays() 85 nDays += spnCumDays[ rDate.Month - 1 ]; in lclGetDays() 87 nDays += rDate.Day; in lclGetDays() 92 if( (rDate.Month < 3) || !lclIsLeapYear( rDate.Year ) ) in lclGetDays()
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | calendar.hxx | 262 SVT_DLLPRIVATE void ImplUpdateDate( const Date& rDate ); 277 sal_Bool ShowDropPos( const Point& rPos, Date& rDate ); 315 void SelectDate( const Date& rDate, sal_Bool bSelect = sal_True ); 319 sal_Bool IsDateSelected( const Date& rDate ) const; 335 sal_Bool GetDate( const Point& rPos, Date& rDate ) const; 336 Rectangle GetDateRect( const Date& rDate ) const; 337 sal_Bool GetDropDate( Date& rDate ) const; 349 void AddDateInfo( const Date& rDate, const XubString& rText, 353 void RemoveDateInfo( const Date& rDate ); 355 XubString GetDateInfoText( const Date& rDate ); [all …]
|
/aoo41x/main/vcl/source/control/ |
H A D | field2.cxx | 1309 rDate = aNewDate; in ImplDateGetValue() 1385 sal_uInt16 nDay = rDate.GetDay(); in ImplGetDateAsText() 1387 sal_uInt16 nYear = rDate.GetYear(); in ImplGetDateAsText() 1448 if ( (rDate.GetDay() != 31) || (rDate.GetMonth() != 12) || (rDate.GetYear() != 9999) ) in ImplDateIncrementDay() 1449 rDate++; in ImplDateIncrementDay() 1453 if ( (rDate.GetDay() != 1 ) || (rDate.GetMonth() != 1) || (rDate.GetYear() != 0) ) in ImplDateIncrementDay() 1454 rDate--; in ImplDateIncrementDay() 1470 rDate.SetMonth( 1 ); in ImplDateIncrementMonth() 1483 rDate.SetMonth( 12 ); in ImplDateIncrementMonth() 1495 rDate.SetDay( nDaysInMonth ); in ImplDateIncrementMonth() [all …]
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofield.cxx | 229 inline Date setDate( util::DateTime& rDate ) in setDate() argument 231 return Date( rDate.Day, rDate.Month, rDate.Year ); in setDate() 249 inline Time setTime( util::DateTime& rDate ) in setTime() argument 251 return Time( rDate.Hours, rDate.Minutes, rDate.Seconds, rDate.HundredthSeconds ); in setTime()
|
/aoo41x/main/tools/source/datetime/ |
H A D | datetime.cxx | 135 long DateTime::GetSecFromDateTime( const Date& rDate ) const in GetSecFromDateTime() 137 if ( Date::operator<( rDate ) ) in GetSecFromDateTime() 141 long nSec = Date( *this ) - rDate; in GetSecFromDateTime() 160 void DateTime::MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec ) in MakeDateTimeFromSec() argument 163 ((Date*)this)->operator=( rDate ); in MakeDateTimeFromSec()
|
H A D | tdate.cxx | 465 Date operator +( const Date& rDate, long nDays ) in operator +() argument 467 Date aDate( rDate ); in operator +() 474 Date operator -( const Date& rDate, long nDays ) in operator -() argument 476 Date aDate( rDate ); in operator -()
|
/aoo41x/main/editeng/inc/editeng/ |
H A D | flditem.hxx | 129 SvxDateField( const Date& rDate, 134 void SetFixDate( const Date& rDate ) { nFixDate = rDate.GetDate(); } in SetFixDate() argument 148 …static String GetFormatted( Date& rDate, SvxDateFormat eFormat, SvNumberFormatter& rFormatter, L… 413 …static String GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rF…
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | field.hxx | 345 SAL_DLLPRIVATE XubString ImplGetDateAsText( const Date& rDate, 347 SAL_DLLPRIVATE void ImplNewFieldValue( const Date& rDate ); 392 static void ExpandCentury( Date& rDate ); 393 static void ExpandCentury( Date& rDate, sal_uInt16 nTwoDigitYearStart ); 846 void InsertDate( const Date& rDate, sal_uInt16 nPos = COMBOBOX_APPEND ); 847 void RemoveDate( const Date& rDate ); 850 sal_uInt16 GetDatePos( const Date& rDate ) const;
|
/aoo41x/main/cui/source/dialogs/ |
H A D | postdlg.cxx | 129 const SvxPostItDateItem& rDate = in SvxPostItDialog() local 131 aDateStr = rDate.GetValue(); in SvxPostItDialog() 174 void SvxPostItDialog::ShowLastAuthor(const String& rAuthor, const String& rDate) in ShowLastAuthor() argument 178 sTxt += rDate; in ShowLastAuthor()
|
/aoo41x/main/svx/inc/svx/ |
H A D | postattr.hxx | 79 SvxPostItDateItem( const String& rDate, sal_uInt16 nWhich ); 86 inline SvxPostItDateItem& operator=( const SvxPostItDateItem& rDate ) in operator =() argument 88 SetValue( rDate.GetValue() ); in operator =()
|
/aoo41x/main/connectivity/source/commontools/ |
H A D | CommonTools.cxx | 117 rtl::OUString toDateString(const ::com::sun::star::util::Date& rDate) in toDateString() argument 123 (int)rDate.Year, in toDateString() 124 (int)rDate.Month, in toDateString() 125 (int)rDate.Day); in toDateString()
|
H A D | dbconversion.cxx | 62 ::rtl::OUString DBTypeConversion::toDateString(const Date& rDate) in toDateString() argument 68 (int)rDate.Year, in toDateString() 69 (int)rDate.Month, in toDateString() 70 (int)rDate.Day); in toDateString()
|
/aoo41x/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 180 stDateTime.Day = (::sal_uInt16)rDate.GetDay(); in SetDateTime() 181 stDateTime.Month = (::sal_uInt16)rDate.GetMonth(); in SetDateTime() 182 stDateTime.Year = (::sal_uInt16)rDate.GetYear(); in SetDateTime()
|
/aoo41x/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 1313 rDate = rMat; in lcl_GetCouppcd() 1314 rDate.setYear( rSettle.getYear() ); in lcl_GetCouppcd() 1315 if( rDate < rSettle ) in lcl_GetCouppcd() 1316 rDate.addYears( 1 ); in lcl_GetCouppcd() 1317 while( rDate > rSettle ) in lcl_GetCouppcd() 1318 rDate.addMonths( -12 / nFreq ); in lcl_GetCouppcd() 1338 rDate = rMat; in lcl_GetCoupncd() 1340 if( rDate > rSettle ) in lcl_GetCoupncd() 1341 rDate.addYears( -1 ); in lcl_GetCoupncd() 1342 while( rDate <= rSettle ) in lcl_GetCoupncd() [all …]
|
/aoo41x/main/forms/source/xforms/ |
H A D | convert.cxx | 260 OUString lcl_toXSD_UNODate_typed( const UNODate& rDate ) in lcl_toXSD_UNODate_typed() argument 264 lcl_appendInt32ToBuffer( rDate.Year, sInfo, 4 ); in lcl_toXSD_UNODate_typed() 266 lcl_appendInt32ToBuffer( rDate.Month, sInfo, 2 ); in lcl_toXSD_UNODate_typed() 268 lcl_appendInt32ToBuffer( rDate.Day, sInfo, 2 ); in lcl_toXSD_UNODate_typed()
|
/aoo41x/main/editeng/source/items/ |
H A D | flditem.cxx | 210 SvxDateField::SvxDateField( const Date& rDate, SvxDateType eT, SvxDateFormat eF ) in SvxDateField() argument 212 nFixDate = rDate.GetDate(); in SvxDateField() 1024 String SvxDateTimeField::GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rF… in GetFormatted() argument 1032 aRet = SvxDateField::GetFormatted( rDate, eDateFormat, rFormatter, eLanguage ); in GetFormatted()
|
/aoo41x/main/tools/source/fsys/ |
H A D | unx.hxx | 78 inline void Unx2DateAndTime( time_t nDate, Time& rTime, Date& rDate ) in Unx2DateAndTime() argument 84 rDate = Date( pTime->tm_mday, pTime->tm_mon + 1, pTime->tm_year + 1900 ); in Unx2DateAndTime()
|
/aoo41x/main/svx/source/items/ |
H A D | postattr.cxx | 99 SvxPostItDateItem::SvxPostItDateItem( const XubString& rDate, sal_uInt16 _nWhich ) : in SvxPostItDateItem() argument 101 SfxStringItem( _nWhich, rDate ) in SvxPostItDateItem()
|
/aoo41x/main/sc/inc/ |
H A D | postit.hxx | 109 inline void SetDate( const ::rtl::OUString& rDate ) { maNoteData.maDate = rDate; } in SetDate() argument
|
/aoo41x/main/xmloff/source/text/ |
H A D | XMLChangedRegionImportContext.cxx | 161 const OUString& rDate) in SetChangeInfo() argument 164 if (SvXMLUnitConverter::convertDateTime(aDateTime, rDate)) in SetChangeInfo()
|
/aoo41x/main/vcl/source/app/ |
H A D | i18nhelp.cxx | 175 String vcl::I18nHelper::GetDate( const Date& rDate ) const in GetDate() 179 return ImplGetLocaleDataWrapper().getDate( rDate ); in GetDate()
|
/aoo41x/main/sax/inc/sax/tools/ |
H A D | converter.hxx | 159 const com::sun::star::util::Date& rDate ); 173 com::sun::star::util::Date & rDate,
|