/aoo42x/main/chart2/source/view/axes/ |
H A D | Tickmarks_Dates.cxx | 93 while( aDate<= aMaxDate ) in getAllTicks() 95 if( bShifted && aDate==aMaxDate ) in getAllTicks() 108 const Date aTmpDate (aDate); in getAllTicks() 115 … aDate = DateHelper::GetDateSomeYearsAway( aDate, m_aIncrement.MajorTimeInterval.Number ); in getAllTicks() 119 … aDate = DateHelper::GetDateSomeMonthsAway( aDate, m_aIncrement.MajorTimeInterval.Number ); in getAllTicks() 122 if ( ! aDate.IsValid() || aDate == aTmpDate) in getAllTicks() 128 while( aDate<= aMaxDate ) in getAllTicks() 142 const Date aTmpDate (aDate); in getAllTicks() 149 … aDate = DateHelper::GetDateSomeYearsAway( aDate, m_aIncrement.MinorTimeInterval.Number ); in getAllTicks() 153 … aDate = DateHelper::GetDateSomeMonthsAway( aDate, m_aIncrement.MinorTimeInterval.Number ); in getAllTicks() [all …]
|
H A D | DateScaling.cxx | 76 Date aDate(m_aNullDate); in doScaling() local 77 aDate += static_cast<long>(::rtl::math::approxFloor(value)); in doScaling() 88 fResult = aDate.GetYear(); in doScaling() 90 fResult += aDate.GetMonth(); in doScaling() 92 double fDayOfMonth = aDate.GetDay(); in doScaling() 94 double fDaysInMonth = aDate.GetDaysInMonth(); in doScaling() 168 Date aDate; in doScaling() local 176 aDate.SetYear( static_cast<sal_uInt16>(fYear) ); in doScaling() 177 aDate.SetMonth( static_cast<sal_uInt16>(fMonth) ); in doScaling() 178 aDate.SetDay( 1 ); in doScaling() [all …]
|
H A D | DateHelper.cxx | 120 Date aDate(rNullDate); aDate += static_cast<long>(::rtl::math::approxFloor(fValue)); in RasterizeDateValue() local 126 aDate.SetMonth(1); in RasterizeDateValue() 127 aDate.SetDay(1); in RasterizeDateValue() 131 aDate.SetDay(1); in RasterizeDateValue() 134 return aDate - rNullDate; in RasterizeDateValue()
|
/aoo42x/main/odk/examples/DevelopersGuide/Forms/ |
H A D | SalesFilter.java | 166 aCalDate.setTime( (java.util.Date)aDate ); in translateDate() 176 int nToolkitDate = ((Integer)aDate).intValue(); in translateDate() 201 if ( null != aDate ) in getOdbcDate() 204 aDate = translateDate( aDate ); in getOdbcDate() 209 aCal.setTime( (java.util.Date)aDate ); in getOdbcDate() 252 if ( null != aDate ) in getCalendarObject() 255 aReturn.setTime( aDate ); in getCalendarObject() 293 m_aFilterDates.set( m_nPreviousFilterIndex, aDate ); in updateFilterControl() 387 aFilterItems.add( aDate.toString() ); in addCurrentFilter() 388 m_aFilterDates.add( aDate ); in addCurrentFilter() [all …]
|
/aoo42x/main/forms/source/xforms/ |
H A D | convert.cxx | 276 UNODate aDate; in lcl_toXSD_UNODate() local 277 OSL_VERIFY( rAny >>= aDate ); in lcl_toXSD_UNODate() 278 return lcl_toXSD_UNODate_typed( aDate ); in lcl_toXSD_UNODate() 286 UNODate aDate( 1, 1, 1900 ); in lcl_toUNODate() local 304 aDate.Day = (sal_uInt16)nTokenValue; in lcl_toUNODate() 314 …if ( ( aDate.Year > 9999 ) || ( aDate.Month < 1 ) || ( aDate.Month > 12 ) || ( aDate.Day < 1 ) || … in lcl_toUNODate() 318 ::Date aDateCheck( 1, aDate.Month, aDate.Year ); in lcl_toUNODate() 327 return aDate; in lcl_toUNODate() 485 UNODate aDate; in lcl_toAny_UNODateTime() local 489 aDate = lcl_toUNODate( rString ); in lcl_toAny_UNODateTime() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | calendar.cxx | 131 if ( aDate > aEndDate ) in ImplCalendarSelectDateRange() 162 if ( aDate > aEndDate ) in ImplCalendarUnSelectDateRange() 175 if ( aDate > aEndDate ) in ImplCalendarUnSelectDateRange() 2106 return aDate; in GetSelectDate() 2202 aDate += aDate.GetDaysInMonth(); in GetLastMonth() 2203 aDate--; in GetLastMonth() 2204 return aDate; in GetLastMonth() 2237 rDate = aDate; in GetDate() 2259 if ( rDate < aDate ) in GetDateRect() 2484 Date aDate( nKey ); in ClearDateInfo() local [all …]
|
/aoo42x/main/forms/source/component/ |
H A D | Date.cxx | 254 util::Date aDate; in commitControlValueToDbColumn() local 255 if ( !( aControlValue >>= aDate ) ) in commitControlValueToDbColumn() 259 aDate = DBTypeConversion::toDate(nAsInt); in commitControlValueToDbColumn() 263 m_xColumnUpdate->updateDate( aDate ); in commitControlValueToDbColumn() 267 aDateTime.Day = aDate.Day; in commitControlValueToDbColumn() 268 aDateTime.Month = aDate.Month; in commitControlValueToDbColumn() 269 aDateTime.Year = aDate.Year; in commitControlValueToDbColumn() 309 util::Date aDate; in translateExternalValueToControlValue() local 310 OSL_VERIFY( _rExternalValue >>= aDate ); in translateExternalValueToControlValue() 327 util::Date aDate = m_xColumn->getDate(); in translateDbColumnToControlValue() local [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | field2.cxx | 1319 Date aDate( 0, 0, 0 ); in ImplDateReformat() local 1897 Date aDate( 0, 0, 0 ); in GetDate() local 1927 return aDate; in GetDate() 1937 Date aDate( 0, 0, 0 ); in GetRealDate() local 1946 return aDate; in GetRealDate() 1970 Date aDate; in IsEmptyDate() local 2337 Date aDate = rDate; in InsertDate() local 2339 aDate = GetMax(); in InsertDate() 2341 aDate = GetMin(); in InsertDate() 2357 Date aDate( 0, 0, 0 ); in GetDate() local [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | dptabdat.cxx | 78 Date aDate( 30,12,1899 ); //! get from source data (and cache here) in GetDatePart() local 79 aDate += nDateVal; in GetDatePart() 87 case 0: nRet = aDate.GetYear(); break; in GetDatePart() 88 case 1: nRet = (aDate.GetMonth()-1) / 3 + 1; break; in GetDatePart() 89 case 2: nRet = aDate.GetMonth(); break; in GetDatePart() 90 case 3: nRet = aDate.GetDay(); break; in GetDatePart() 99 case 0: nRet = aDate.GetYear(); break; //!... in GetDatePart() 100 case 1: nRet = aDate.GetWeekOfYear(); break; in GetDatePart() 101 case 2: nRet = (long)aDate.GetDayOfWeek(); break; in GetDatePart()
|
H A D | table4.cxx | 1194 Date aDate = aNullDate; in IncDate() local 1195 aDate += (long)rVal; in IncDate() 1200 aDate += nInc; in IncDate() 1205 aDate += 2; in IncDate() 1207 aDate += 1; in IncDate() 1212 aDate -= 1; in IncDate() 1214 aDate -= 2; in IncDate() 1223 long nYear = aDate.GetYear(); in IncDate() 1255 aDate.SetDay( Min( aDate.GetDaysInMonth(), nDayOfMonth ) ); in IncDate() 1261 long nYear = aDate.GetYear(); in IncDate() [all …]
|
H A D | dpgroup.cxx | 441 Date aDate( 1, 1, SC_DP_LEAPYEAR ); in lcl_GetDateGroupName() local 444 long nDays = aDate - aNullDate; in lcl_GetDateGroupName() 505 Date aDate = *(pFormatter->GetNullDate()); in lcl_GetDatePartValue() local 506 aDate += (long)::rtl::math::approxFloor( fValue ); in lcl_GetDatePartValue() 511 nResult = aDate.GetYear(); in lcl_GetDatePartValue() 514 nResult = 1 + ( aDate.GetMonth() - 1 ) / 3; // 1..4 in lcl_GetDatePartValue() 517 nResult = aDate.GetMonth(); // 1..12 in lcl_GetDatePartValue() 521 Date aYearStart( 1, 1, aDate.GetYear() ); in lcl_GetDatePartValue() 523 if ( nResult >= 60 && !aDate.IsLeapYear() ) in lcl_GetDatePartValue() 583 Date aDate( 1, 1, SC_DP_LEAPYEAR ); in lcl_DateContained() local [all …]
|
/aoo42x/main/connectivity/source/drivers/file/ |
H A D | FDateFunctions.cxx | 42 Date aDate(aD.Day,aD.Month,aD.Year); in operate() local 43 DayOfWeek eDayOfWeek = aDate.GetDayOfWeek(); in operate() 88 Date aDate(aD.Day,aD.Month,aD.Year); in operate() local 89 return static_cast<sal_Int16>(aDate.GetDayOfYear()); in operate() 108 Date aDate(aD.Day,aD.Month,aD.Year); in operate() local 109 DayOfWeek eDayOfWeek = aDate.GetDayOfWeek(); in operate() 195 Date aDate(aD.Day,aD.Month,aD.Year); in operate() local 213 Date aDate(aD.Day,aD.Month,aD.Year); in operate() local 219 return static_cast<sal_Int16>(aDate.GetWeekOfYear(static_cast<DayOfWeek>(nStartDay))); in operate()
|
/aoo42x/main/svx/source/dialog/ |
H A D | ctredlin.cxx | 873 Date aDate; in SvxTPFilter() local 875 aDfDate.SetDate(aDate); in SvxTPFilter() 877 aDfDate2.SetDate(aDate); in SvxTPFilter() 998 aDfDate.SetDate(aDate); in SetFirstDate() 1019 aDfDate2.SetDate(aDate); in SetLastDate() 1253 Date aDate; in IMPL_LINK() local 1257 aDfDate.SetDate(aDate); in IMPL_LINK() 1262 aDfDate2.SetDate(aDate); in IMPL_LINK() 1372 Date aDate; in IMPL_LINK() local 1377 aDfDate.SetDate(aDate); in IMPL_LINK() [all …]
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 91 Date aDate(_rDateTime.Day,_rDateTime.Month,_rDateTime.Year); in toDateTimeString() local 92 ::rtl::OUStringBuffer aTemp(toDateString(aDate)); in toDateTimeString() 395 Date aDate = toDate(dVal, _rNullDate); in toDateTime() local 400 xRet.Day = aDate.Day; in toDateTime() 401 xRet.Month = aDate.Month; in toDateTime() 402 xRet.Year = aDate.Year; in toDateTime() 441 Date aDate = toDate(_sSQLString); in toDateTime() local 447 …e(aTime.HundredthSeconds,aTime.Seconds,aTime.Minutes,aTime.Hours,aDate.Day,aDate.Month,aDate.Year); in toDateTime()
|
H A D | DateConversion.cxx | 159 Date aDate; in toSQLString() local 165 aDate = DBTypeConversion::toDate(nValue); in toSQLString() 172 aDate = DBTypeConversion::toDate(sValue); in toSQLString() 176 bOk = _rVal >>= aDate; in toSQLString() 180 aRet.append(DBTypeConversion::toDateString(aDate)); in toSQLString() 231 Date aDate; in getNULLDate() local 232 …etNumberFormatSettings()->getPropertyValue(::rtl::OUString::createFromAscii("NullDate")) >>= aDate; in getNULLDate() 233 return aDate; in getNULLDate()
|
/aoo42x/main/filter/source/placeware/ |
H A D | zip.cxx | 149 oslDateTime aDate; in writeLocalHeader() local 150 osl_getDateTimeFromTimeValue( &aTime, &aDate ); in writeLocalHeader() 152 e->modTime = ((aDate.Year - 1980) << 25) | (aDate.Month << 21) | (aDate.Day << 16) | in writeLocalHeader() 153 (aDate.Hours << 11) | (aDate.Minutes << 5) | (aDate.Seconds >> 1); in writeLocalHeader()
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | optuno.cxx | 114 util::Date aDate; in setPropertyValue() local 115 if ( aValue >>= aDate ) in setPropertyValue() 116 rOptions.SetDate( aDate.Day, aDate.Month, aDate.Year ); in setPropertyValue() 177 util::Date aDate( nD, nM, nY ); in getPropertyValue() local 178 aRet <<= aDate; in getPropertyValue()
|
/aoo42x/main/ucb/source/ucp/webdav/ |
H A D | ContentProperties.cxx | 467 util::DateTime aDate; in addProperty() local 468 DateTimeHelper::convert( aValue, aDate ); in addProperty() 471 = PropertyValue( uno::makeAny( aDate ), true ); in addProperty() 524 util::DateTime aDate; in addProperty() local 525 DateTimeHelper::convert( aValue, aDate ); in addProperty() 528 = PropertyValue( uno::makeAny( aDate ), true ); in addProperty() 539 util::DateTime aDate; in addProperty() local 540 DateTimeHelper::convert( aValue, aDate ); in addProperty() 543 = PropertyValue( uno::makeAny( aDate ), true ); in addProperty()
|
/aoo42x/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DBTypeConversion.java | 306 Date aDate = toDate(dVal, _rNullDate); in toDateTime() local 311 xRet.Day = aDate.Day; in toDateTime() 312 xRet.Month = aDate.Month; in toDateTime() 313 xRet.Year = aDate.Year; in toDateTime() 335 Date aDate = toDate(dateString); in toDateTime() local 341 …e(aTime.HundredthSeconds,aTime.Seconds,aTime.Minutes,aTime.Hours,aDate.Day,aDate.Month,aDate.Year); in toDateTime()
|
/aoo42x/main/reportdesign/source/filter/xml/ |
H A D | xmlControlProperty.cxx | 301 ::com::sun::star::util::Date aDate = implGetDate(nValue); in convertString() 308 aDateTime.Day = aDate.Day; in convertString() 309 aDateTime.Month = aDate.Month; in convertString() 310 aDateTime.Year = aDate.Year; in convertString() 350 ::com::sun::star::util::Date aDate; in implGetDate() 351 ::utl::typeConvert(aToolsDate, aDate); in implGetDate() 352 return aDate; in implGetDate()
|
/aoo42x/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 258 util::Date aDate; in GetNullDate() local 259 if( aAny >>= aDate ) in GetNullDate() 260 return DateToDays( aDate.Day, aDate.Month, aDate.Year ); in GetNullDate() 1327 ScaDate aDate; in GetCouppcd() local 1352 ScaDate aDate; in GetCoupncd() local 1367 ScaDate aDate; in GetCoupdaybs() local 1384 ScaDate aDate; in GetCoupdaysnc() local 1402 ScaDate aDate; in GetCoupdays() local 1404 ScaDate aNextDate( aDate ); in GetCoupdays() 1421 ScaDate aDate; in GetCoupnum() local [all …]
|
/aoo42x/main/connectivity/source/drivers/calc/ |
H A D | CTable.cxx | 371 ::Date aDate( rNullDate ); in lcl_SetValue() 372 aDate += (long)::rtl::math::approxFloor( xCell->getValue() ); in lcl_SetValue() 373 … ::com::sun::star::util::Date aDateStruct( aDate.GetDay(), aDate.GetMonth(), aDate.GetYear() ); in lcl_SetValue() 426 ::Date aDate( rNullDate ); in lcl_SetValue() 427 aDate += nIntDays; in lcl_SetValue() 428 aDateTime.Day = aDate.GetDay(); in lcl_SetValue() 429 aDateTime.Month = aDate.GetMonth(); in lcl_SetValue() 430 aDateTime.Year = aDate.GetYear(); in lcl_SetValue()
|
/aoo42x/main/tools/source/datetime/ |
H A D | tdate.cxx | 467 Date aDate( rDate ); in operator +() local 468 aDate += nDays; in operator +() 469 return aDate; in operator +() 476 Date aDate( rDate ); in operator -() local 477 aDate -= nDays; in operator -() 478 return aDate; in operator -()
|
/aoo42x/main/tools/source/fsys/ |
H A D | os2.hxx | 77 inline Date MsDos2Date( FDATE* aDate ) in MsDos2Date() argument 79 return Date( aDate->day, aDate->month, aDate->year ); in MsDos2Date()
|
/aoo42x/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 92 Date aDate( nD, nM, nY); in GetDateSerial() local 94 aDate += nDay - 1; in GetDateSerial() 95 if (aDate.IsValid()) in GetDateSerial() 134 Date aDate = *(pFormatter->GetNullDate()); in ScGetYear() local 136 PushDouble( (double) aDate.GetYear() ); in ScGetYear() 142 Date aDate = *(pFormatter->GetNullDate()); in ScGetMonth() local 144 PushDouble( (double) aDate.GetMonth() ); in ScGetMonth() 150 Date aDate = *(pFormatter->GetNullDate()); in ScGetDay() local 152 PushDouble((double) aDate.GetDay()); in ScGetDay() 212 Date aDate = *(pFormatter->GetNullDate()); in ScGetDayOfWeek() local [all …]
|