Home
last modified time | relevance | path

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

12

/AOO41X/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 ==()
86 sal_Bool operator !=( const Date& rDate ) const in operator !=()
87 { return (nDate != rDate.nDate); } in operator !=()
88 sal_Bool operator >( const Date& rDate ) const in operator >()
89 { return (nDate > rDate.nDate); } in operator >()
90 sal_Bool operator <( const Date& rDate ) const in operator <()
91 { return (nDate < rDate.nDate); } in operator <()
[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 -()
/AOO41X/main/svtools/source/control/
H A Dcalendar.cxx93 static void ImplCalendarSelectDate( Table* pTable, const Date& rDate, sal_Bool bSelect ) in DECLARE_TABLE()
96 pTable->Insert( rDate.GetDate(), TABLE_DATE_SELECTED ); in DECLARE_TABLE()
98 pTable->Remove( rDate.GetDate() ); in DECLARE_TABLE()
604 sal_uInt16 Calendar::ImplHitTest( const Point& rPos, Date& rDate ) const in ImplHitTest()
621 rDate = GetFirstMonth(); in ImplHitTest()
635 sal_uInt16 nDaysInMonth = rDate.GetDaysInMonth(); in ImplHitTest()
649 sal_uInt16 nDayIndex = (sal_uInt16)rDate.GetDayOfWeek(); in ImplHitTest()
653 Date aTempDate = rDate; in ImplHitTest()
661 rDate = aTempDate; in ImplHitTest()
662 rDate += nDay; in ImplHitTest()
[all …]
/AOO41X/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()
/AOO41X/main/svtools/inc/svtools/
H A Dcalendar.hxx254 SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const;
262 SVT_DLLPRIVATE void ImplUpdateDate( const Date& rDate );
264 SVT_DLLPRIVATE void ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest,
270 SVT_DLLPRIVATE void ImplShowMenu( const Point& rPos, 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;
[all …]
/AOO41X/main/vcl/source/control/
H A Dfield2.cxx1206 static sal_Bool ImplDateGetValue( const XubString& rStr, Date& rDate, ExtDateFieldFormat eDateForma… in ImplDateGetValue() argument
1309 rDate = aNewDate; in ImplDateGetValue()
1348 XubString DateFormatter::ImplGetDateAsText( const Date& rDate, in ImplGetDateAsText() argument
1374 sal_uInt16 nYear = rDate.GetYear(); in ImplGetDateAsText()
1385 sal_uInt16 nDay = rDate.GetDay(); in ImplGetDateAsText()
1386 sal_uInt16 nMonth = rDate.GetMonth(); in ImplGetDateAsText()
1387 sal_uInt16 nYear = rDate.GetYear(); in ImplGetDateAsText()
1397 …return ImplGetLocaleDataWrapper().getLongDate( rDate, GetCalendarWrapper(), 1, sal_False, 1, !bSho… in ImplGetDateAsText()
1442 static void ImplDateIncrementDay( Date& rDate, sal_Bool bUp ) in ImplDateIncrementDay() argument
1444 DateFormatter::ExpandCentury( rDate ); in ImplDateIncrementDay()
[all …]
/AOO41X/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()
/AOO41X/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 -()
/AOO41X/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& rForm…
413 …static String GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rF…
/AOO41X/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;
/AOO41X/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()
/AOO41X/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 =()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/scaddins/source/analysis/
H A Danalysishelper.cxx1310 void lcl_GetCouppcd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) in lcl_GetCouppcd() argument
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()
1335 void lcl_GetCoupncd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) in lcl_GetCoupncd() argument
1338 rDate = rMat; in lcl_GetCoupncd()
1339 rDate.setYear( rSettle.getYear() ); in lcl_GetCoupncd()
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/sc/inc/
H A Dpostit.hxx109 inline void SetDate( const ::rtl::OUString& rDate ) { maNoteData.maDate = rDate; } in SetDate() argument
/AOO41X/main/xmloff/source/text/
H A DXMLChangedRegionImportContext.cxx161 const OUString& rDate) in SetChangeInfo() argument
164 if (SvXMLUnitConverter::convertDateTime(aDateTime, rDate)) in SetChangeInfo()
/AOO41X/main/vcl/source/app/
H A Di18nhelp.cxx175 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 Dconverter.hxx159 const com::sun::star::util::Date& rDate );
173 com::sun::star::util::Date & rDate,

12