/aoo4110/main/tools/inc/tools/ |
H A D | date.hxx | 45 sal_uInt32 nDate; member in Date 52 { nDate = rDate.nDate; } in Date() 81 { return ((nDate >= rFrom.nDate) && in IsBetween() 82 (nDate <= rTo.nDate)); } in IsBetween() 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 <=() [all …]
|
/aoo4110/main/tools/source/datetime/ |
H A D | tdate.cxx | 149 nDate = ((sal_uIntPtr)aDateTime.day) + in Date() 157 nDate = ((sal_uIntPtr)aDateTime.wDay) + in Date() 170 nDate = ((sal_uIntPtr)aTime.tm_mday) + in Date() 175 nDate = 1 + 100 + (((sal_uIntPtr)1900)*10000); in Date() 186 nDate = ((sal_uIntPtr)(nNewDay%100)) + (nMonth*100) + (nYear*10000); in SetDay() 196 nDate = nDay + (((sal_uIntPtr)(nNewMonth%100))*100) + (nYear*10000); in SetMonth() 206 nDate = nDay + (nMonth*100) + (((sal_uIntPtr)(nNewYear%10000))*10000); in SetYear() 369 nDate = 31 + (12*100) + (((sal_uIntPtr)9999)*10000); in operator +=() 371 nDate = 1 + 100; in operator +=() 392 nDate = 31 + (12*100) + (((sal_uIntPtr)9999)*10000); in operator -=() [all …]
|
/aoo4110/main/tools/source/fsys/ |
H A D | unx.hxx | 68 inline Date Unx2Date( time_t nDate ) in Unx2Date() argument 72 pTime = localtime_r( &nDate, &atm ); in Unx2Date() 78 inline void Unx2DateAndTime( time_t nDate, Time& rTime, Date& rDate ) in Unx2DateAndTime() argument 82 pTime = localtime_r( &nDate, &atm ); in Unx2DateAndTime()
|
/aoo4110/main/odk/examples/DevelopersGuide/Forms/ |
H A D | SalesFilter.java | 168 int nDate = aCalDate.get( Calendar.YEAR ); in translateDate() local 169 nDate = nDate * 100 + aCalDate.get( Calendar.MONTH ) + 1; in translateDate() 170 nDate = nDate * 100 + aCalDate.get( Calendar.DAY_OF_MONTH ); in translateDate() 172 aReturn = new Integer( nDate ); in translateDate()
|
/aoo4110/main/scaddins/source/datefunc/ |
H A D | datefunc.cxx | 860 sal_Int32 nDate ) throw( uno::RuntimeException, lang::IllegalArgumentException ) in getIsLeapYear() argument 863 sal_Int32 nDays = nDate + nNullDate; in getIsLeapYear() 877 sal_Int32 nDate ) throw( uno::RuntimeException, lang::IllegalArgumentException ) in getDaysInMonth() argument 880 sal_Int32 nDays = nDate + nNullDate; in getDaysInMonth() 894 sal_Int32 nDate ) throw( uno::RuntimeException, lang::IllegalArgumentException ) in getDaysInYear() argument 897 sal_Int32 nDays = nDate + nNullDate; in getDaysInYear() 923 sal_Int32 nDate ) throw( uno::RuntimeException, lang::IllegalArgumentException ) in getWeeksInYear() argument 926 sal_Int32 nDays = nDate + nNullDate; in getWeeksInYear()
|
H A D | dateadd.idl | 71 [in] long nDate ) 77 [in] long nDate ) 83 [in] long nDate ) 89 [in] long nDate )
|
H A D | datefunc.hxx | 397 sal_Int32 nDate ) 402 sal_Int32 nDate ) 407 sal_Int32 nDate ) 412 sal_Int32 nDate )
|
/aoo4110/main/scaddins/source/analysis/ |
H A D | analysis.cxx | 544 sal_Int32 nDate, sal_Int32 nDays, const ANY& aHDay ) THROWDEF_RTE_IAE in getWorkday() argument 547 return nDate; in getWorkday() 555 sal_Int32 nActDate = nDate + nNullDate; in getWorkday() 621 sal_Int32 SAL_CALL AnalysisAddIn::getWeeknum( constREFXPS& xOpt, sal_Int32 nDate, sal_Int32 nMode )… in getWeeknum() argument 623 nDate += GetNullDate( xOpt ); in getWeeknum() 626 DaysToDate( nDate, nDay, nMonth, nYear ); in getWeeknum() 631 …return ( nDate - nFirstInYear + ( ( nMode == 1 )? ( nFirstDayInYear + 1 ) % 7 : nFirstDayInYear ) … in getWeeknum() 635 sal_Int32 SAL_CALL AnalysisAddIn::getEomonth( constREFXPS& xOpt, sal_Int32 nDate, sal_Int32 nMonths… in getEomonth() argument 638 nDate += nNullDate; in getEomonth() 640 DaysToDate( nDate, nDay, nMonth, nYear ); in getEomonth()
|
H A D | financial.cxx | 31 double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, in getAmordegrc() argument 34 if( nDate > nFirstPer || fRate <= 0.0 || fRestVal > fCost ) in getAmordegrc() 37 …double fRet = GetAmordegrc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, g… in getAmordegrc() 43 double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, in getAmorlinc() argument 46 if( nDate > nFirstPer || fRate <= 0.0 || fRestVal > fCost ) in getAmorlinc() 49 …double fRet = GetAmorlinc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, ge… in getAmorlinc()
|
H A D | analysishelper.hxx | 75 inline sal_Int16 GetDayOfWeek( sal_Int32 nDate ); 85 sal_Int32 GetDaysInYear( sal_Int32 nNullDate, sal_Int32 nDate, sal_Int32 nMode ) THROWDEF_RTE_IAE; 104 double GetAmordegrc( sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, 106 double GetAmorlinc( sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, 967 ScaDate( sal_Int32 nNullDate, sal_Int32 nDate, sal_Int32 nBase );
|
H A D | analysishelper.cxx | 490 sal_Int32 GetDaysInYear( sal_Int32 nNullDate, sal_Int32 nDate, sal_Int32 nMode ) THROWDEF_RTE_IAE in GetDaysInYear() argument 501 nDate += nNullDate; in GetDaysInYear() 502 DaysToDate( nDate, nD, nM, nY ); in GetDaysInYear() 892 double GetAmordegrc( sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, in GetAmordegrc() argument 912 …double fNRate = ::rtl::math::round( GetYearFrac( nNullDate, nDate, nFirstPer, nBase ) * fRate * f… in GetAmordegrc() 940 double GetAmorlinc( sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, in GetAmorlinc() argument 949 double f0Rate = GetYearFrac( nNullDate, nDate, nFirstPer, nBase ) * fRate * fCost; in GetAmorlinc() 2822 ScaDate::ScaDate( sal_Int32 nNullDate, sal_Int32 nDate, sal_Int32 nBase ) in ScaDate() argument 2824 DaysToDate( nNullDate + nDate, nOrigDay, nMonth, nYear ); in ScaDate()
|
H A D | analysis.hxx | 203 …virtual double SAL_CALL getAmordegrc( constREFXPS&, double fCost, sal_Int32 nDate, sal_Int32 nFir… 204 …virtual double SAL_CALL getAmorlinc( constREFXPS&, double fCost, sal_Int32 nDate, sal_Int32 nFirs…
|
/aoo4110/main/svl/source/items/ |
H A D | dateitem.cxx | 111 sal_uInt32 nDate = 0; in Create() local 113 rStream >> nDate; in Create() 115 DateTime aDT(nDate, nTime); in Create()
|
/aoo4110/main/forms/source/component/ |
H A D | Date.cxx | 289 sal_Int32 nDate = 0; in impl_translateControlValueToUNODate() local 290 OSL_VERIFY( _rUNOValue >>= nDate ); in impl_translateControlValueToUNODate() 291 _rUNOValue <<= DBTypeConversion::toDate( nDate ); in impl_translateControlValueToUNODate()
|
/aoo4110/main/toolkit/source/awt/ |
H A D | vclxwindows.cxx | 4669 sal_Int32 nDate = 0; in getDate() local 4674 return nDate; in getDate() 4683 pDateField->SetMin( nDate ); in setMin() 4690 sal_Int32 nDate = 0; in getMin() local 4695 return nDate; in getMin() 4711 sal_Int32 nDate = 0; in getMax() local 4716 return nDate; in getMax() 4732 sal_Int32 nDate = 0; in getFirst() local 4737 return nDate; in getFirst() 4753 sal_Int32 nDate = 0; in getLast() local [all …]
|
/aoo4110/main/sw/source/filter/html/ |
H A D | htmlfld.cxx | 340 sal_uLong nTime = Time().GetTime(), nDate = Date().GetDate(); in NewField() local 350 nDate = (sal_uLong)aValue.ToInt32(); in NewField() 385 ((SwDateTimeField *)pFld)->SetDateTime( DateTime(Date(nDate), Time(nTime)) ); in NewField()
|
/aoo4110/main/sw/source/core/bastyp/ |
H A D | calc.cxx | 242 double lcl_ConvertToDateValue( SwDoc& rDoc, sal_Int32 nDate ) in lcl_ConvertToDateValue() argument 249 Date aDate( nDate >> 24, (nDate & 0x00FF0000) >> 16, nDate & 0x0000FFFF ); in lcl_ConvertToDateValue()
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 158 …sal_Int32 nDate = ((sal_Int32)(rVal.Day%100)) + (((sal_Int32)(rVal.Month%100))*100) + (((sal_Int32… in toINT64() local 163 nRet += nDate; in toINT64()
|
/aoo4110/main/tools/source/rc/ |
H A D | rc.cxx | 78 Date::Date( const ResId& rResId ) : nDate(0) in Date()
|
/aoo4110/main/editeng/source/uno/ |
H A D | unofield.cxx | 215 static util::DateTime getDate( sal_uLong nDate ) in getDate() argument 220 Date aTempDate( nDate ); in getDate()
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docfld.cxx | 2082 sal_uLong nDate, nTime; in SetFixFields() local 2085 nDate = pNewDateTime->GetDate(); in SetFixFields() 2090 nDate = Date().GetDate(); in SetFixFields() 2156 DateTime(Date(nDate), Time(nTime)) ); in SetFixFields()
|
/aoo4110/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 898 sal_Int32 nDate = 0,nTime = 0; in fetchRow() local 899 memcpy(&nDate, pData, 4); in fetchRow() 901 if ( !nDate && !nTime ) in fetchRow() 908 lcl_CalDate(nDate,nTime,aDateTime); in fetchRow()
|
/aoo4110/main/extensions/source/propctrlr/ |
H A D | formcomponenthandler.cxx | 723 sal_Int32 nDate = 0; in convertToControlValue() local 724 OSL_VERIFY( _rPropertyValue >>= nDate ); in convertToControlValue() 725 aControlValue <<= DBTypeConversion::toDate( nDate ); in convertToControlValue()
|
/aoo4110/main/sw/source/core/fields/ |
H A D | docufld.cxx | 1079 long nDate = Date::DateToDays( rDate.Day, rDate.Month, rDate.Year ); in lcl_DateToDouble() local 1081 return double( nDate - nNullDate ); in lcl_DateToDouble()
|
/aoo4110/main/svx/source/fmcomp/ |
H A D | gridcell.cxx | 2327 sal_Int32 nDate = 0; in updateFromModel() local 2328 if ( _rxModel->getPropertyValue( FM_PROP_DATE ) >>= nDate ) in updateFromModel() 2329 static_cast< DateField* >( m_pWindow )->SetDate( ::Date( nDate ) ); in updateFromModel()
|