/aoo42x/main/tools/source/datetime/ |
H A D | tdate.cxx | 142 Date::Date() in Date() function in Date 360 Date& Date::operator +=( long nDays ) in operator +=() 383 Date& Date::operator -=( long nDays ) in operator -=() 406 Date& Date::operator ++() in operator ++() 425 Date& Date::operator --() in operator --() 445 Date Date::operator ++( int ) in operator ++() 448 Date::operator++(); in operator ++() 454 Date Date::operator --( int ) in operator --() 465 Date operator +( const Date& rDate, long nDays ) in operator +() 474 Date operator -( const Date& rDate, long nDays ) in operator -() [all …]
|
H A D | datetime.cxx | 137 if ( Date::operator<( rDate ) ) in GetSecFromDateTime() 163 ((Date*)this)->operator=( rDate ); in MakeDateTimeFromSec() 190 Date::operator++(); in operator +=() 199 Date::operator--(); in operator +=() 202 Date::operator--(); in operator +=() 229 Date::operator++(); in operator -=() 238 Date::operator--(); in operator -=() 241 Date::operator--(); in operator -=() 368 long nDays = (const Date&) rDateTime1 - (const Date&) rDateTime2; in operator -() 425 nDaysCount -= Date( in CreateFromWin32FileDateTime() [all …]
|
/aoo42x/main/tools/inc/tools/ |
H A D | date.hxx | 42 class TOOLS_DLLPUBLIC Date class 48 Date(); 50 Date( sal_uInt32 _nDate ) { Date::nDate = _nDate; } in Date() function in Date 51 Date( const Date& rDate ) in Date() function in Date 80 sal_Bool IsBetween( const Date& rFrom, const Date& rTo ) const in IsBetween() 97 Date& operator =( const Date& rDate ) in operator =() 101 Date& operator ++(); 102 Date& operator --(); 108 TOOLS_DLLPUBLIC friend Date operator +( const Date& rDate, long nDays ); 109 TOOLS_DLLPUBLIC friend Date operator -( const Date& rDate, long nDays ); [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() 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 !=() 67 long GetSecFromDateTime( const Date& rDate ) const; 92 { return (const Date&) rDateTime - rDate; } in operator -() [all …]
|
/aoo42x/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; 316 void SelectDateRange( const Date& rStartDate, const Date& rEndDate, 333 Date GetLastMonth() const; [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | calendar.cxx | 109 Date aEndDate = rEndDate; in ImplCalendarSelectDateRange() 150 Date aEndDate = rEndDate; in ImplCalendarUnSelectDateRange() 913 aTodayDate = Date(); in ImplDrawDate() 1264 Date aTempDate = rDate; in ImplMouseSelect() 1843 Date aDate = maCurDate; in RequestHelp() 2041 void Calendar::SelectDateRange( const Date& rStartDate, const Date& rEndDate, in SelectDateRange() 2105 Date aDate( 0, 0, 0 ); in GetSelectDate() 2233 Date aDate = maCurDate; in GetDate() 2484 Date aDate( nKey ); in ClearDateInfo() 2906 Date aToday; in IMPL_LINK() [all …]
|
/aoo42x/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() 108 bool DateHelper::IsLessThanOneYearAway( const Date& rD1, const Date& rD2 ) in IsLessThanOneYearAway() [all …]
|
/aoo42x/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DBTypeConversion.java | 27 import com.sun.star.util.Date; 33 private static Date standardDate = new Date((short)1, (short)1, (short)1900); 150 public static Date getStandardDate() { in getStandardDate() 230 public static int toDays(Date rVal) { in toDays() 234 public static int toDays(Date rVal, Date rNullDate) { in toDays() 242 public static double toDouble(Date rVal, Date _rNullDate) { in toDouble() 266 public static Date toDate(double dVal) { in toDate() 270 public static Date toDate(double dVal, Date _rNullDate) { in toDate() 271 Date aRet = _rNullDate; in toDate() 298 return new Date(nDay,nMonth,nYear); in toDate() [all …]
|
H A D | ORowSetValue.java | 39 import com.sun.star.util.Date; 62 public ORowSetValue(Date value) { in ORowSetValue() 444 if (object instanceof Date) { in fill() 445 setDate((Date)object); in fill() 532 public Date getDate() throws SQLException { in getDate() 533 Date aValue = new Date(); in getDate() 549 Date date = (Date)value; in getDate() 605 Date date = (Date)value; in getDateTime() 1185 public void setDate(Date date) { in setDate() 1274 Date date = (Date)value; in makeAny() [all …]
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | field.hxx | 322 Date maFieldDate; 323 Date maLastDate; 324 Date maMin; 325 Date maMax; 326 Date maCorrectedDate; 383 Date GetDate() const; 384 Date GetRealDate() const; 392 static void ExpandCentury( Date& rDate ); 395 static Date GetInvalidDate() { return Date( 0, 0, 0 ); } in GetInvalidDate() 643 Date maFirst; [all …]
|
/aoo42x/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, 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& _rNul… 115 static ::com::sun::star::util::Date toDate(const ::rtl::OUString& _sSQLDate); 127 …tatic sal_Int32 toDays(const ::com::sun::star::util::Date& _rVal, const ::com::sun::star::util::Da… 129 …static double toDouble(const ::com::sun::star::util::Date& rVal, const ::com::sun::star::util::Dat… 133 static sal_Int32 toINT32(const ::com::sun::star::util::Date& rVal); [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
|
/aoo42x/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 );
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 101 Date DBTypeConversion::toDate(sal_Int32 _nVal) in toDate() 103 Date aReturn; in toDate() 123 sal_Int32 DBTypeConversion::toINT32(const Date& rVal) in toINT32() 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() 299 static void addDays(sal_Int32 nDays, Date& _rDate) in addDays() 341 Date DBTypeConversion::toDate(double dVal, const Date& _rNullDate) in toDate() 343 Date aRet = _rNullDate; in toDate() 395 Date aDate = toDate(dVal, _rNullDate); in toDateTime() 430 return Date(nDay,nMonth,nYear); in toDate() [all …]
|
H A D | FValue.cxx | 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 =() 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 ==() 874 bRet = *(Date*)m_aValue.m_pValue == *(Date*)_rRH.m_aValue.m_pValue; in operator ==() 1660 TRACE_ALLOC( Date ) in setFromDouble() 1787 ::com::sun::star::util::Date aValue; in getDate() [all …]
|
/aoo42x/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() 195 Date aDate(aD.Day,aD.Month,aD.Year); in operate() 213 Date aDate(aD.Day,aD.Month,aD.Year); in operate() [all …]
|
/aoo42x/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() 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() 196 private static synchronized String formatDate(final Date date) in formatDate() [all …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/svx/source/dialog/ |
H A D | ctredlin.src | 44 Text [ en-US ] = "~Date" ; 75 Minimum = Date 81 Maximum = Date 110 //QuickHelpText [ en-US ] = "Set Date/Time" ; 131 Minimum = Date 137 Maximum = Date 166 //QuickHelpText [ en-US ] = "Set Date/Time" ; 252 Text [ en-US ] = "Date Condition" ; 256 Text [ en-US ] = "Start Date" ; 260 Text [ en-US ] = "End Date" ; [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | field2.cxx | 1319 Date aDate( 0, 0, 0 ); in ImplDateReformat() 1323 Date aTempDate = aDate; in ImplDateReformat() 1530 Date aDate( GetDate() ); in ImplDateSpinArea() 1852 Date aNewDate = rNewDate; in ImplSetUserDate() 1895 Date DateFormatter::GetDate() const in GetDate() 1897 Date aDate( 0, 0, 0 ); in GetDate() 1937 Date aDate( 0, 0, 0 ); in GetRealDate() 1970 Date aDate; in IsEmptyDate() 2014 SetDate( Date() ); in Reformat() 2337 Date aDate = rDate; in InsertDate() [all …]
|
/aoo42x/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 ==()
|
/aoo42x/main/autodoc/source/cosv/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_()
|
/aoo42x/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()
|
/aoo42x/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()
|