| /AOO41X/main/tools/source/datetime/ |
| H A D | tdate.cxx | 84 long Date::DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() 142 Date::Date() in Date() function in Date 181 void Date::SetDay( sal_uInt16 nNewDay ) in SetDay() 191 void Date::SetMonth( sal_uInt16 nNewMonth ) in SetMonth() 201 void Date::SetYear( sal_uInt16 nNewYear ) in SetYear() 211 DayOfWeek Date::GetDayOfWeek() const in GetDayOfWeek() 218 sal_uInt16 Date::GetDayOfYear() const in GetDayOfYear() 228 sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay, in GetWeekOfYear() 232 short n1WDay = (short)Date( 1, 1, GetYear() ).GetDayOfWeek(); in GetWeekOfYear() 256 short nDaysNextYear = (short)Date( 1, 1, GetYear()+1 ).GetDayOfWeek(); in GetWeekOfYear() [all …]
|
| H A D | datetime.cxx | 61 if ( (Date::operator>( rDateTime )) || in operator >() 62 (Date::operator==( rDateTime ) && Time::operator>( rDateTime )) ) in operator >() 80 if ( (Date::operator<( rDateTime )) || in operator <() 81 (Date::operator==( rDateTime ) && Time::operator<( rDateTime )) ) in operator <() 99 if ( (Date::operator>( rDateTime )) || in operator >=() 100 (Date::operator==( rDateTime ) && Time::operator>=( rDateTime )) ) in operator >=() 118 if ( (Date::operator<( rDateTime )) || in operator <=() 119 (Date::operator==( rDateTime ) && Time::operator<=( rDateTime )) ) in operator <=() 135 long DateTime::GetSecFromDateTime( const Date& rDate ) const in GetSecFromDateTime() 137 if ( Date::operator<( rDate ) ) in GetSecFromDateTime() [all …]
|
| /AOO41X/main/tools/inc/tools/ |
| H A D | date.hxx | 42 class TOOLS_DLLPUBLIC Date class 48 Date(); 49 Date( const ResId & rResId ); 50 Date( sal_uInt32 _nDate ) { Date::nDate = _nDate; } in Date() function in Date 51 Date( const Date& rDate ) in Date() function in Date 53 Date( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in Date() function in Date 80 sal_Bool IsBetween( const Date& rFrom, const Date& rTo ) const in IsBetween() 84 sal_Bool operator ==( const Date& rDate ) const in operator ==() 86 sal_Bool operator !=( const Date& rDate ) const in operator !=() 88 sal_Bool operator >( const Date& rDate ) const in operator >() [all …]
|
| H A D | datetime.hxx | 35 class TOOLS_DLLPUBLIC DateTime : public Date, public Time 38 DateTime() : Date(), Time() {} in DateTime() 40 Date( rDateTime ), Time( rDateTime ) {} in DateTime() 41 DateTime( const Date& rDate ) : Date( rDate ), Time(0) {} in DateTime() 42 DateTime( const Time& rTime ) : Date(0), Time( rTime ) {} in DateTime() 43 DateTime( const Date& rDate, const Time& rTime ) : in DateTime() 44 Date( rDate ), Time( rTime ) {} in DateTime() 51 if ( Date::operator!=( rDateTime ) ) in IsEqualIgnore100Sec() 57 { return (Date::operator==( rDateTime ) && in operator ==() 60 { return (Date::operator!=( rDateTime ) || in operator !=() [all …]
|
| /AOO41X/main/svtools/inc/svtools/ |
| H A D | calendar.hxx | 189 Date maOldFormatFirstDate; 190 Date maOldFormatLastDate; 191 Date maFirstDate; 192 Date maOldFirstDate; 193 Date maCurDate; 194 Date maOldCurDate; 195 Date maAnchorDate; 196 Date maDropDate; 254 SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const; 262 SVT_DLLPRIVATE void ImplUpdateDate( const Date& rDate ); [all …]
|
| /AOO41X/main/chart2/source/view/axes/ |
| H A D | DateHelper.cxx | 37 bool DateHelper::IsInSameYear( const Date& rD1, const Date& rD2 ) in IsInSameYear() 41 bool DateHelper::IsInSameMonth( const Date& rD1, const Date& rD2 ) in IsInSameMonth() 46 long DateHelper::GetMonthsBetweenDates( Date aD1, Date aD2 ) in GetMonthsBetweenDates() 48 Date aHelp = aD1; in GetMonthsBetweenDates() 61 Date DateHelper::GetDateSomeMonthsAway( const Date& rD, long nMonthDistance ) in GetDateSomeMonthsAway() 63 Date aRet(rD); in GetDateSomeMonthsAway() 78 Date DateHelper::GetDateSomeYearsAway( const Date& rD, long nYearDistance ) in GetDateSomeYearsAway() 80 Date aRet(rD); in GetDateSomeYearsAway() 98 bool DateHelper::IsLessThanOneMonthAway( const Date& rD1, const Date& rD2 ) in IsLessThanOneMonthAway() 100 Date aDMin( DateHelper::GetDateSomeMonthsAway( rD1, -1 ) ); in IsLessThanOneMonthAway() [all …]
|
| /AOO41X/main/svtools/source/control/ |
| H A D | calendar.cxx | 93 static void ImplCalendarSelectDate( Table* pTable, const Date& rDate, sal_Bool bSelect ) in DECLARE_TABLE() 104 const Date& rStartDate, in ImplCalendarSelectDateRange() 105 const Date& rEndDate, in ImplCalendarSelectDateRange() 108 Date aStartDate = rStartDate; in ImplCalendarSelectDateRange() 109 Date aEndDate = rEndDate; in ImplCalendarSelectDateRange() 112 Date aTempDate = aStartDate; in ImplCalendarSelectDateRange() 130 Date aDate( pTable->GetCurKey() ); in ImplCalendarSelectDateRange() 146 const Date& rStartDate, in ImplCalendarUnSelectDateRange() 147 const Date& rEndDate ) in ImplCalendarUnSelectDateRange() 149 Date aStartDate = rStartDate; in ImplCalendarUnSelectDateRange() [all …]
|
| /AOO41X/main/chart2/source/view/inc/ |
| H A D | DateHelper.hxx | 41 static bool IsInSameYear( const Date& rD1, const Date& rD2 ); 42 static bool IsInSameMonth( const Date& rD1, const Date& rD2 ); 44 static long GetMonthsBetweenDates( Date aD1, Date aD2 ); 45 static Date GetDateSomeMonthsAway( const Date& rD, long nMonthDistance ); 46 static Date GetDateSomeYearsAway( const Date& rD, long nYearDistance ); 47 static bool IsLessThanOneMonthAway( const Date& rD1, const Date& rD2 ); 48 static bool IsLessThanOneYearAway( const Date& rD1, const Date& rD2 ); 50 static double RasterizeDateValue( double fValue, const Date& rNullDate, long TimeResolution );
|
| /AOO41X/main/connectivity/inc/connectivity/ |
| H A D | dbconversion.hxx | 83 static ::com::sun::star::util::Date getStandardDate(); 86 const ::com::sun::star::util::Date& rNullDate, 93 const ::com::sun::star::util::Date& rNullDate, 97 …erence< ::com::sun::star::sdb::XColumn>& xVariant, const ::com::sun::star::util::Date& rNullDate ); 105 const ::com::sun::star::util::Date& rNullDate); 110 const ::com::sun::star::util::Date& rNullDate, 114 …static ::com::sun::star::util::Date toDate(double dVal, const ::com::sun::star::util::Date& _r… 115 static ::com::sun::star::util::Date toDate(const ::rtl::OUString& _sSQLDate); 118 …tar::util::DateTime toDateTime(double dVal, const ::com::sun::star::util::Date& _rNullDate = getSt… 127 …tatic sal_Int32 toDays(const ::com::sun::star::util::Date& _rVal, const ::com::sun::star::util::Da… [all …]
|
| H A D | DateConversion.hxx | 37 static sal_Int32 toINT32(const ::com::sun::star::util::Date&) in toINT32() argument 57 static double toDouble(const ::com::sun::star::util::Date&) in toDouble() argument 72 …tatic ::com::sun::star::util::Date toDate(double,const ::com::sun::star::util::Date& =::c… in toDate() argument 75 return ::com::sun::star::util::Date(); in toDate() 82 …eTime toDateTime(double,const ::com::sun::star::util::Date& =::com::sun::star::util::Date(01,… in toDateTime() argument
|
| /AOO41X/main/vcl/inc/vcl/ |
| H A D | field.hxx | 322 Date maFieldDate; 323 Date maLastDate; 324 Date maMin; 325 Date maMax; 326 Date maCorrectedDate; 340 SAL_DLLPRIVATE const Date& ImplGetFieldDate() const { return maFieldDate; } in ImplGetFieldDate() 343 SAL_DLLPRIVATE void ImplSetUserDate( const Date& rNewDate, 345 SAL_DLLPRIVATE XubString ImplGetDateAsText( const Date& rDate, 347 SAL_DLLPRIVATE void ImplNewFieldValue( const Date& rDate ); 364 void SetMin( const Date& rNewMin ); [all …]
|
| /AOO41X/main/connectivity/source/commontools/ |
| H A D | dbconversion.cxx | 56 ::com::sun::star::util::Date DBTypeConversion::getStandardDate() in getStandardDate() 58 static ::com::sun::star::util::Date STANDARD_DB_DATE(1,1,1900); in getStandardDate() 62 ::rtl::OUString DBTypeConversion::toDateString(const Date& rDate) in toDateString() 91 Date aDate(_rDateTime.Day,_rDateTime.Month,_rDateTime.Year); in toDateTimeString() 101 Date DBTypeConversion::toDate(sal_Int32 _nVal) in toDate() 103 Date aReturn; in toDate() 123 sal_Int32 DBTypeConversion::toINT32(const Date& rVal) in toINT32() 210 static sal_Int32 implRelativeToAbsoluteNull(const Date& _rDate) in implRelativeToAbsoluteNull() 268 sal_Int32 DBTypeConversion::toDays(const Date& _rVal, const Date& _rNullDate) in toDays() 274 double DBTypeConversion::toDouble(const Date& rVal, const Date& _rNullDate) in toDouble() [all …]
|
| H A D | FValue.cxx | 316 delete (::com::sun::star::util::Date*)m_aValue.m_pValue; in free() 317 TRACE_FREE( Date ) in free() 409 m_aValue.m_pValue = new Date(*(Date*)_rRH.m_aValue.m_pValue); in operator =() 410 TRACE_ALLOC( Date ) in operator =() 481 (*this) = *(Date*)_rRH.m_aValue.m_pValue; in operator =() 529 ORowSetValue& ORowSetValue::operator=(const Date& _rRH) in operator =() 536 m_aValue.m_pValue = new Date(_rRH); in operator =() 537 TRACE_ALLOC( Date ) in operator =() 542 *(Date*)m_aValue.m_pValue = _rRH; in operator =() 765 sal_Bool operator==(const Date& _rLH,const Date& _rRH) in operator ==() [all …]
|
| H A D | DateConversion.cxx | 159 Date aDate; in toSQLString() 223 Date DBTypeConversion::getNULLDate(const Reference< XNumberFormatsSupplier > &xSupplier) in getNULLDate() 231 Date aDate; in getNULLDate() 245 const Date& rNullDate, in setValue() 320 const Date& rNullDate, in setValue() 365 double DBTypeConversion::getValue( const Reference< XColumn >& i_column, const Date& i_relativeToNu… in getValue() 415 const Date& _rNullDate) in getFormattedValue() 450 const Date& rNullDate, in getFormattedValue() 469 Date aFormatterNullDate( rNullDate ); in getFormattedValue()
|
| /AOO41X/main/connectivity/source/drivers/file/ |
| H A D | FDateFunctions.cxx | 41 ::com::sun::star::util::Date aD = lhs; in operate() 42 Date aDate(aD.Day,aD.Month,aD.Year); in operate() 78 ::com::sun::star::util::Date aD = lhs; in operate() 87 ::com::sun::star::util::Date aD = lhs; in operate() 88 Date aDate(aD.Day,aD.Month,aD.Year); in operate() 97 ::com::sun::star::util::Date aD = lhs; in operate() 107 ::com::sun::star::util::Date aD = lhs; in operate() 108 Date aDate(aD.Day,aD.Month,aD.Year); in operate() 145 ::com::sun::star::util::Date aD = lhs; in operate() 194 ::com::sun::star::util::Date aD = lhs; in operate() [all …]
|
| /AOO41X/main/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ |
| H A D | FormatValueUtility.java | 34 import java.util.Date; 74 else if (value instanceof java.sql.Date) in applyValueForVariable() 77 ret = formatDate((Date) value); in applyValueForVariable() 80 else if (value instanceof Date) in applyValueForVariable() 83 ret = HSSFDateUtil.getExcelDate((Date) value, false, 2).toString(); in applyValueForVariable() 122 else if (value instanceof java.sql.Date) in applyValueForCell() 126 …etAttribute(OfficeNamespaces.OFFICE_NS, VALUE, HSSFDateUtil.getExcelDate((Date) value, false, 2).t… in applyValueForCell() 130 … variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, "date-value", formatDate((Date) value)); in applyValueForCell() 133 else if (value instanceof Date) in applyValueForCell() 136 …etAttribute(OfficeNamespaces.OFFICE_NS, VALUE, HSSFDateUtil.getExcelDate((Date) value, false, 2).t… in applyValueForCell() [all …]
|
| /AOO41X/main/forms/qa/integration/forms/ |
| H A D | DateValidator.java | 46 com.sun.star.util.Date dateValue = (com.sun.star.util.Date)Value; in explainInvalid() 67 com.sun.star.util.Date dateValue = (com.sun.star.util.Date) in isValid() 69 com.sun.star.util.Date.class, Value); in isValid() 84 private boolean isDedicatedInvalidDate( com.sun.star.util.Date dateValue ) in isDedicatedInvalidDate() 89 private boolean isNextMonthsDate( com.sun.star.util.Date dateValue ) in isNextMonthsDate() 93 int todaysMonth = new java.util.Date().getMonth(); in isNextMonthsDate() 94 int todaysYear = new java.util.Date().getYear() + 1900; in isNextMonthsDate()
|
| /AOO41X/main/odk/examples/DevelopersGuide/Forms/ |
| H A D | DateValidator.java | 45 com.sun.star.util.Date dateValue = (com.sun.star.util.Date)Value; in explainInvalid() 66 com.sun.star.util.Date dateValue = (com.sun.star.util.Date) in isValid() 68 com.sun.star.util.Date.class, Value); in isValid() 83 private boolean isDedicatedInvalidDate( com.sun.star.util.Date dateValue ) in isDedicatedInvalidDate() 88 private boolean isNextMonthsDate( com.sun.star.util.Date dateValue ) in isNextMonthsDate() 92 int todaysMonth = new java.util.Date().getMonth(); in isNextMonthsDate() 93 int todaysYear = new java.util.Date().getYear() + 1900; in isNextMonthsDate()
|
| /AOO41X/main/svx/source/dialog/ |
| H A D | ctredlin.src | 46 Text [ en-US ] = "~Date" ; 77 Minimum = Date 83 Maximum = Date 113 //QuickHelpText [ en-US ] = "Set Date/Time" ; 114 QuickHelpText [ en-US ] = "Set Start Date/Time" ; 134 Minimum = Date 140 Maximum = Date 170 //QuickHelpText [ en-US ] = "Set Date/Time" ; 171 QuickHelpText [ en-US ] = "Set End Date/Time" ; 257 Text [ en-US ] = "Date Condition" ; [all …]
|
| /AOO41X/main/vcl/source/control/ |
| H A D | field2.cxx | 1206 static sal_Bool ImplDateGetValue( const XubString& rStr, Date& rDate, ExtDateFieldFormat eDateForma… in ImplDateGetValue() 1251 nYear = Date().GetYear(); in ImplDateGetValue() 1305 Date aNewDate( nDay, nMonth, nYear ); in ImplDateGetValue() 1319 Date aDate( 0, 0, 0 ); in ImplDateReformat() 1323 Date aTempDate = aDate; in ImplDateReformat() 1334 maCorrectedDate = Date(); in ImplDateReformat() 1338 maCorrectedDate = Date(); in ImplDateReformat() 1348 XubString DateFormatter::ImplGetDateAsText( const Date& rDate, in ImplGetDateAsText() 1442 static void ImplDateIncrementDay( Date& rDate, sal_Bool bUp ) in ImplDateIncrementDay() 1460 static void ImplDateIncrementMonth( Date& rDate, sal_Bool bUp ) in ImplDateIncrementMonth() [all …]
|
| /AOO41X/main/cosv/source/service/ |
| H A D | datetime.cxx | 36 Date::Date() in Date() function in csv::Date 41 Date::Date( unsigned i_nDay, in Date() function in csv::Date 48 const Date & 49 Date::Null_() in Null_() 51 static const Date C_DateNull_(0,0,0); in Null_()
|
| /AOO41X/main/unotools/source/misc/ |
| H A D | datetime.cxx | 52 void typeConvert(const Date& _rDate, starutil::Date& _rOut) in typeConvert() 60 void typeConvert(const starutil::Date& _rDate, Date& _rOut) in typeConvert() 62 _rOut = Date(_rDate.Day, _rDate.Month, _rDate.Year); in typeConvert() 80 Date aDate(_rDateTime.Day, _rDateTime.Month, _rDateTime.Year); in typeConvert() 98 sal_Bool operator ==(const starutil::Date& _rLeft, const starutil::Date& _rRight) in operator ==()
|
| /AOO41X/main/connectivity/qa/complex/connectivity/ |
| H A D | FlatFileAccess.java | 28 import com.sun.star.util.Date; 86 private class EqualityDate extends Date 93 EqualityDate( Date i_date ) in EqualityDate() 101 if ( !( i_compare instanceof Date ) ) in equals() 103 return Day == ((Date)i_compare).Day in equals() 104 && Month == ((Date)i_compare).Month in equals() 105 && Year == ((Date)i_compare).Year; in equals()
|
| /AOO41X/main/xmerge/source/palmtests/qa/comparator/ |
| H A D | pdbcomparison.java | 463 Date startTime = new Date(); in main() 515 Date pdb_startTime = new Date(); in main() 519 Date pdb_endTime = new Date(); in main() 531 Date endTime = new Date(); in main()
|
| /AOO41X/main/unotools/inc/unotools/ |
| H A D | datetime.hxx | 34 class Date; 48 UNOTOOLS_DLLPUBLIC void typeConvert(const Date& _rDate, starutil::Date& _rOut); 49 UNOTOOLS_DLLPUBLIC void typeConvert(const starutil::Date& _rDate, Date& _rOut);
|