Home
last modified time | relevance | path

Searched refs:rDate (Results 1 – 25 of 49) sorted by relevance

12

/trunk/main/tools/inc/tools/
H A Ddate.hxx51 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 Ddatetime.hxx41 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 -()
/trunk/main/svtools/source/control/
H A Dcalendar.cxx621 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 …]
/trunk/main/oox/source/xls/
H A Dunitconverter.cxx74 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()
/trunk/main/svtools/inc/svtools/
H A Dcalendar.hxx262 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 …]
/trunk/main/vcl/source/control/
H A Dfield2.cxx1309 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 …]
/trunk/main/editeng/source/uno/
H A Dunofield.cxx229 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()
/trunk/main/tools/source/datetime/
H A Ddatetime.cxx135 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 Dtdate.cxx465 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 -()
/trunk/main/editeng/inc/editeng/
H A Dflditem.hxx129 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…
/trunk/main/vcl/inc/vcl/
H A Dfield.hxx345 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;
/trunk/main/cui/source/dialogs/
H A Dpostdlg.cxx129 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()
/trunk/main/svx/inc/svx/
H A Dpostattr.hxx79 SvxPostItDateItem( const String& rDate, sal_uInt16 nWhich );
86 inline SvxPostItDateItem& operator=( const SvxPostItDateItem& rDate ) in operator =() argument
88 SetValue( rDate.GetValue() ); in operator =()
/trunk/main/connectivity/source/commontools/
H A DCommonTools.cxx117 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 Ddbconversion.cxx62 ::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()
/trunk/main/xmlsecurity/source/helper/
H A Dxmlsignaturehelper.cxx168 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()
/trunk/main/scaddins/source/analysis/
H A Danalysishelper.cxx1313 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 …]
/trunk/main/forms/source/xforms/
H A Dconvert.cxx260 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()
/trunk/main/editeng/source/items/
H A Dflditem.cxx210 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()
/trunk/main/tools/source/fsys/
H A Dunx.hxx78 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()
/trunk/main/svx/source/items/
H A Dpostattr.cxx99 SvxPostItDateItem::SvxPostItDateItem( const XubString& rDate, sal_uInt16 _nWhich ) : in SvxPostItDateItem() argument
101 SfxStringItem( _nWhich, rDate ) in SvxPostItDateItem()
/trunk/main/sc/inc/
H A Dpostit.hxx109 inline void SetDate( const ::rtl::OUString& rDate ) { maNoteData.maDate = rDate; } in SetDate() argument
/trunk/main/xmloff/source/text/
H A DXMLChangedRegionImportContext.cxx161 const OUString& rDate) in SetChangeInfo() argument
164 if (SvXMLUnitConverter::convertDateTime(aDateTime, rDate)) in SetChangeInfo()
/trunk/main/xmloff/source/xforms/
H A Dxformsexport.cxx682 void lcl_formatDate( OUStringBuffer& aBuffer, const Date& rDate ) in lcl_formatDate() argument
684 aBuffer.append( static_cast<sal_Int32>( rDate.Year ) ); in lcl_formatDate()
686 aBuffer.append( static_cast<sal_Int32>( rDate.Month ) ); in lcl_formatDate()
688 aBuffer.append( static_cast<sal_Int32>( rDate.Day ) ); in lcl_formatDate()
/trunk/main/xmloff/source/meta/
H A Dxmlmetae.cxx97 void SvXMLMetaExport::SimpleDateTimeElement( const util::DateTime & rDate, in SimpleDateTimeElement() argument
100 if (rDate.Month != 0) { // invalid dates are 0-0-0 in SimpleDateTimeElement()
101 rtl::OUString sValue = GetISODateTimeString( rDate ); in SimpleDateTimeElement()

Completed in 130 milliseconds

12