Home
last modified time | relevance | path

Searched refs:aDateTime (Results 1 – 25 of 98) sorted by relevance

1234

/trunk/main/ucb/source/ucp/webdav/
H A DDateTimeHelper.cxx81 oslDateTime aDateTime; in ISO8601_To_DateTime() local
82 aDateTime.NanoSeconds = 0; in ISO8601_To_DateTime()
87 aDateTime.DayOfWeek = 0; // 0-6, 0 = Sunday in ISO8601_To_DateTime()
100 dateTime.Year = aDateTime.Year; in ISO8601_To_DateTime()
101 dateTime.Month = aDateTime.Month; in ISO8601_To_DateTime()
102 dateTime.Day = aDateTime.Day; in ISO8601_To_DateTime()
103 dateTime.Hours = aDateTime.Hours; in ISO8601_To_DateTime()
104 dateTime.Minutes = aDateTime.Minutes; in ISO8601_To_DateTime()
105 dateTime.Seconds = aDateTime.Seconds; in ISO8601_To_DateTime()
215 oslDateTime aDateTime; in RFC2068_To_DateTime() local
[all …]
/trunk/main/svl/source/items/
H A Ddateitem.cxx65 aDateTime( rDT ) in SfxDateTimeItem()
75 aDateTime( rItem.aDateTime ) in SfxDateTimeItem()
86 return ( ( (SfxDateTimeItem&)rItem ).aDateTime == aDateTime ); in operator ==()
98 if ( ( (const SfxDateTimeItem&)rItem ).aDateTime < aDateTime ) in Compare()
100 else if ( ( (const SfxDateTimeItem&)rItem ).aDateTime == aDateTime ) in Compare()
124 rStream << aDateTime.GetDate(); in Store()
125 rStream << aDateTime.GetTime(); in Store()
149 if (aDateTime.IsValid()) in GetPresentation()
201 aDateTime.GetSec(), in QueryValue()
202 aDateTime.GetMin(), in QueryValue()
[all …]
/trunk/main/sw/source/core/fields/
H A Dflddat.cxx74 DateTime aDateTime; in SwDateTimeField() local
75 SetDateTime(aDateTime); in SwDateTimeField()
89 DateTime aDateTime; in Expand() local
90 fVal = GetDateTime(GetDoc(), aDateTime); in Expand()
259 DateTimeValue.Day = aDateTime.GetDay(); in QueryValue()
261 DateTimeValue.Year = aDateTime.GetYear(); in QueryValue()
301 DateTime aDateTime; in PutValue() local
305 aDateTime.SetHour(aDateTimeValue.Hours); in PutValue()
306 aDateTime.SetDay(aDateTimeValue.Day); in PutValue()
308 aDateTime.SetYear(aDateTimeValue.Year); in PutValue()
[all …]
/trunk/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx287 DateTime aDateTime; in xforms_nowFunction() local
332 aDateTime = tmpDateTime; in parseDateTime()
347 DateTime aDateTime; in xforms_daysFromDateFunction() local
348 if (parseDateTime(aString, aDateTime)) in xforms_daysFromDateFunction()
351 sal_Int32 nDays = aDateTime - aReferenceDate; in xforms_daysFromDateFunction()
370 DateTime aDateTime; in xforms_secondsFromDateTimeFunction() local
372 if (parseDateTime(aString, aDateTime)) in xforms_secondsFromDateTimeFunction()
376 sal_Int32 nDays = aDateTime - aReferenceDate; in xforms_secondsFromDateTimeFunction()
378 nSeconds += aDateTime.GetHour() * 60 * 60; in xforms_secondsFromDateTimeFunction()
379 nSeconds += aDateTime.GetMin() * 60; in xforms_secondsFromDateTimeFunction()
[all …]
/trunk/main/tools/source/datetime/
H A Dttime.cxx99 PM_DATETIME aDateTime; in Time() local
100 DosGetDateTime( &aDateTime ); in Time()
105 (((sal_Int32)aDateTime.seconds)*100) + in Time()
106 ((sal_Int32)aDateTime.hundredths); in Time()
108 SYSTEMTIME aDateTime; in Time()
109 GetLocalTime( &aDateTime ); in Time()
114 (((sal_Int32)aDateTime.wSecond)*100) + in Time()
319 PM_DATETIME aDateTime; in GetUTCOffset() local
320 DosGetDateTime( &aDateTime ); in GetUTCOffset()
323 if ( aDateTime.timezone != -1 ) in GetUTCOffset()
[all …]
H A Ddatetime.cxx261 DateTime aDateTime( rDateTime ); in operator +() local
262 aDateTime += nDays; in operator +()
263 return aDateTime; in operator +()
279 aDateTime -= nDays; in operator -()
280 return aDateTime; in operator -()
296 aDateTime += rTime; in operator +()
297 return aDateTime; in operator +()
313 aDateTime -= rTime; in operator -()
314 return aDateTime; in operator -()
356 aDateTime += fTimeInDays; in operator +()
[all …]
H A Dtdate.cxx145 PM_DATETIME aDateTime; in Date() local
146 DosGetDateTime( &aDateTime ); in Date()
149 nDate = ((sal_uIntPtr)aDateTime.day) + in Date()
150 (((sal_uIntPtr)aDateTime.month)*100) + in Date()
151 (((sal_uIntPtr)aDateTime.year)*10000); in Date()
153 SYSTEMTIME aDateTime; in Date()
154 GetLocalTime( &aDateTime ); in Date()
157 nDate = ((sal_uIntPtr)aDateTime.wDay) + in Date()
158 (((sal_uIntPtr)aDateTime.wMonth)*100) + in Date()
159 (((sal_uIntPtr)aDateTime.wYear)*10000); in Date()
/trunk/main/framework/source/services/
H A Dlicense.cxx183 Date(aDateTime.Day, aDateTime.Month, aDateTime.Year),
184 Time(aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds));
190 aDateTimeString.append((sal_Int32)aDateTime.GetYear()); in _makeDateTimeString()
195 if (aDateTime.GetDay()<10) aDateTimeString.append("0"); in _makeDateTimeString()
196 aDateTimeString.append((sal_Int32)aDateTime.GetDay()); in _makeDateTimeString()
199 aDateTimeString.append((sal_Int32)aDateTime.GetHour()); in _makeDateTimeString()
201 if (aDateTime.GetMin()<10) aDateTimeString.append("0"); in _makeDateTimeString()
202 aDateTimeString.append((sal_Int32)aDateTime.GetMin()); in _makeDateTimeString()
204 if (aDateTime.GetSec()<10) aDateTimeString.append("0"); in _makeDateTimeString()
205 aDateTimeString.append((sal_Int32)aDateTime.GetSec()); in _makeDateTimeString()
[all …]
/trunk/main/xmloff/source/forms/handler/
H A Dvcl_time_handler.cxx65 DateTime aDateTime; // default-inited to 0 in getAttributeValue() local
66 aDateTime.Hours = aVCLTime.GetHour(); in getAttributeValue()
67 aDateTime.Minutes = aVCLTime.GetMin(); in getAttributeValue()
68 aDateTime.Seconds = aVCLTime.GetSec(); in getAttributeValue()
69 aDateTime.HundredthSeconds = aVCLTime.Get100Sec(); in getAttributeValue()
72 SvXMLUnitConverter::convertTime( aBuffer, aDateTime ); in getAttributeValue()
81 DateTime aDateTime; in getPropertyValues() local
82 if ( SvXMLUnitConverter::convertTime( aDateTime, i_attributeValue ) ) in getPropertyValues()
84 …::Time aVCLTime( aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds, aDateTime.HundredthSeconds… in getPropertyValues()
H A Dvcl_date_handler.cxx65 DateTime aDateTime; // default-inited to 0 in getAttributeValue() local
66 aDateTime.Day = aVCLDate.GetDay(); in getAttributeValue()
67 aDateTime.Month = aVCLDate.GetMonth(); in getAttributeValue()
68 aDateTime.Year = aVCLDate.GetYear(); in getAttributeValue()
71 SvXMLUnitConverter::convertDateTime( aBuffer, aDateTime, sal_False ); in getAttributeValue()
80 DateTime aDateTime; in getPropertyValues() local
81 if ( SvXMLUnitConverter::convertDateTime( aDateTime, i_attributeValue ) ) in getPropertyValues()
83 ::Date aVCLDate( aDateTime.Day, aDateTime.Month, aDateTime.Year ); in getPropertyValues()
/trunk/main/sc/source/filter/xml/
H A DXMLChangeTrackingImportHelper.cxx456 Date aDate(aInfo.aDateTime.Day, aInfo.aDateTime.Month, aInfo.aDateTime.Year); in ConvertInfo()
457 …Time aTime(aInfo.aDateTime.Hours, aInfo.aDateTime.Minutes, aInfo.aDateTime.Seconds, aInfo.aDateTim… in ConvertInfo()
458 aDateTime.SetDate( aDate.GetDate() ); in ConvertInfo()
459 aDateTime.SetTime( aTime.GetTime() ); in ConvertInfo()
462 if ( aInfo.aDateTime.HundredthSeconds ) in ConvertInfo()
481 DateTime aDateTime( Date(0), Time(0) ); in CreateInsertAction() local
483 ConvertInfo(pAction->aInfo, aUser, aDateTime); in CreateInsertAction()
494 DateTime aDateTime( Date(0), Time(0) ); in CreateDeleteAction() local
510 DateTime aDateTime( Date(0), Time(0) ); in CreateMoveAction() local
525 DateTime aDateTime( Date(0), Time(0) ); in CreateRejectionAction() local
[all …]
H A DXMLConverter.cxx345 void ScXMLConverter::ConvertDateTimeToString(const DateTime& aDateTime, rtl::OUStringBuffer& sDate) in ConvertDateTimeToString() argument
348 ConvertCoreToAPIDateTime(aDateTime, aAPIDateTime); in ConvertDateTimeToString()
361 rDateTime.Year = aDateTime.GetYear(); in ConvertCoreToAPIDateTime()
362 rDateTime.Month = aDateTime.GetMonth(); in ConvertCoreToAPIDateTime()
363 rDateTime.Day = aDateTime.GetDay(); in ConvertCoreToAPIDateTime()
364 rDateTime.Hours = aDateTime.GetHour(); in ConvertCoreToAPIDateTime()
365 rDateTime.Minutes = aDateTime.GetMin(); in ConvertCoreToAPIDateTime()
366 rDateTime.Seconds = aDateTime.GetSec(); in ConvertCoreToAPIDateTime()
367 rDateTime.HundredthSeconds = aDateTime.Get100Sec(); in ConvertCoreToAPIDateTime()
372 Date aDate(aDateTime.Day, aDateTime.Month, aDateTime.Year); in ConvertAPIToCoreDateTime()
[all …]
/trunk/main/sfx2/source/doc/
H A Ddocinf.cxx70 util::DateTime aDateTime; in LoadOlePropertySet() local
91 i_xDocProps->setCreationDate( aDateTime ); in LoadOlePropertySet()
100 i_xDocProps->setModificationDate( aDateTime ); in LoadOlePropertySet()
106 i_xDocProps->setPrintDate( aDateTime ); in LoadOlePropertySet()
120 aDateTime.Year -= 1601; in LoadOlePropertySet()
121 aDateTime.Month -= 1; in LoadOlePropertySet()
122 aDateTime.Day -= 1; in LoadOlePropertySet()
126 aDateTime.Day * 60*60*24 + in LoadOlePropertySet()
127 aDateTime.Hours * 60*60 + in LoadOlePropertySet()
128 aDateTime.Minutes * 60 + in LoadOlePropertySet()
[all …]
/trunk/main/oox/source/xls/
H A Dunitconverter.cxx198 DateTime aDateTime( 0, 0, 0, 0, 1, 1, 0 ); in calcDateTimeFromSerial() local
205 if( nDays >= 366 ) { ++aDateTime.Year; nDays -= 366; } in calcDateTimeFromSerial()
208 lclSkipYearBlock( nDays, aDateTime.Year, 100 * 365 + 24, 100, 3 ); in calcDateTimeFromSerial()
209 lclSkipYearBlock( nDays, aDateTime.Year, 4 * 365 + 1, 4, 24 ); in calcDateTimeFromSerial()
210 lclSkipYearBlock( nDays, aDateTime.Year, 365, 1, 3 ); in calcDateTimeFromSerial()
213 if( (nDays >= 59) && !lclIsLeapYear( aDateTime.Year ) ) ++nDays; in calcDateTimeFromSerial()
216 aDateTime.Day = static_cast< sal_uInt16 >( nDays + 1 ); in calcDateTimeFromSerial()
220 aDateTime.Seconds = static_cast< sal_uInt16 >( nTime % 60 ); in calcDateTimeFromSerial()
222 aDateTime.Minutes = static_cast< sal_uInt16 >( nTime % 60 ); in calcDateTimeFromSerial()
223 aDateTime.Hours = static_cast< sal_uInt16 >( nTime / 60 ); in calcDateTimeFromSerial()
[all …]
/trunk/main/extensions/source/logging/
H A Dlogrecord.cxx72 oslDateTime aDateTime; in createLogRecord() local
73 OSL_VERIFY( osl_getDateTimeFromTimeValue( &aTimeValue, &aDateTime ) ); in createLogRecord()
76 aTimeStamp.Year = aDateTime.Year; in createLogRecord()
77 aTimeStamp.Month = aDateTime.Month; in createLogRecord()
78 aTimeStamp.Day = aDateTime.Day; in createLogRecord()
79 aTimeStamp.Hours = aDateTime.Hours; in createLogRecord()
80 aTimeStamp.Minutes = aDateTime.Minutes; in createLogRecord()
81 aTimeStamp.Seconds = aDateTime.Seconds; in createLogRecord()
82 …aTimeStamp.HundredthSeconds = ::sal::static_int_cast< sal_Int16 >( aDateTime.NanoSeconds / 1000000… in createLogRecord()
H A Dloggerconfig.cxx111 oslDateTime aDateTime; in lcl_substituteFileHandlerURLVariables_nothrow() local
113 OSL_VERIFY( osl_getDateTimeFromTimeValue( &aTimeValue, &aDateTime ) ); in lcl_substituteFileHandlerURLVariables_nothrow()
119 (int)aDateTime.Year, in lcl_substituteFileHandlerURLVariables_nothrow()
120 (int)aDateTime.Month, in lcl_substituteFileHandlerURLVariables_nothrow()
121 (int)aDateTime.Day ); in lcl_substituteFileHandlerURLVariables_nothrow()
125 (int)aDateTime.Hours, in lcl_substituteFileHandlerURLVariables_nothrow()
126 (int)aDateTime.Minutes, in lcl_substituteFileHandlerURLVariables_nothrow()
127 (int)aDateTime.Seconds, in lcl_substituteFileHandlerURLVariables_nothrow()
128 ::sal::static_int_cast< sal_Int16 >( aDateTime.NanoSeconds / 10000000 ) ); in lcl_substituteFileHandlerURLVariables_nothrow()
/trunk/main/desktop/source/migration/
H A Dwizard.cxx368 aDateTimeString.append((sal_Int32)aDateTime.GetYear()); in _makeDateTimeString()
370 if (aDateTime.GetMonth()<10) aDateTimeString.append("0"); in _makeDateTimeString()
371 aDateTimeString.append((sal_Int32)aDateTime.GetMonth()); in _makeDateTimeString()
373 if (aDateTime.GetDay()<10) aDateTimeString.append("0"); in _makeDateTimeString()
374 aDateTimeString.append((sal_Int32)aDateTime.GetDay()); in _makeDateTimeString()
376 if (aDateTime.GetHour()<10) aDateTimeString.append("0"); in _makeDateTimeString()
377 aDateTimeString.append((sal_Int32)aDateTime.GetHour()); in _makeDateTimeString()
379 if (aDateTime.GetMin()<10) aDateTimeString.append("0"); in _makeDateTimeString()
380 aDateTimeString.append((sal_Int32)aDateTime.GetMin()); in _makeDateTimeString()
382 if (aDateTime.GetSec()<10) aDateTimeString.append("0"); in _makeDateTimeString()
[all …]
/trunk/main/sc/source/ui/miscdlgs/
H A Dacredlin.cxx362 DateTime aDateTime=pScChangeAction->GetDateTime(); in IsValidAction() local
430 DateTime aDateTime=pScChangeAction->GetDateTime(); in InsertChangeAction() local
443 pNewData->aDateTime=aDateTime; in InsertChangeAction()
584 DateTime aDateTime=pScChangeAction->GetDateTime(); in InsertFilteredAction() local
625 pNewData->aDateTime=aDateTime; in InsertFilteredAction()
713 DateTime aDateTime=pScChangeAction->GetDateTime(); in InsertChangeActionContent() local
812 pNewData->aDateTime=aDateTime; in InsertChangeActionContent()
843 DateTime aDateTime; in UpdateView() local
1564 DateTime aDateTime; in AppendChanges() local
2065 if(pLeftData->aDateTime < pRightData->aDateTime) in IMPL_LINK()
[all …]
/trunk/main/xmloff/source/xforms/
H A DSchemaRestrictionContext.cxx208 DateTime aDateTime; in lcl_dateTime() local
209 bool bSuccess = SvXMLUnitConverter::convertDateTime( aDateTime, rValue ); in lcl_dateTime()
210 return bSuccess ? makeAny( aDateTime ) : Any(); in lcl_dateTime()
216 DateTime aDateTime; in lcl_time() local
217 if( SvXMLUnitConverter::convertTime( aDateTime, rValue ) ) in lcl_time()
220 aTime.Hours = aDateTime.Hours; in lcl_time()
221 aTime.Minutes = aDateTime.Minutes; in lcl_time()
222 aTime.Seconds = aDateTime.Seconds; in lcl_time()
223 aTime.HundredthSeconds = aDateTime.HundredthSeconds; in lcl_time()
/trunk/main/desktop/source/app/
H A Dappfirststart.cxx148 static DateTime impl_oslDateTimeToDateTime(const oslDateTime& aDateTime) in impl_oslDateTimeToDateTime() argument
151 Date(aDateTime.Day, aDateTime.Month, aDateTime.Year), in impl_oslDateTimeToDateTime()
152 Time(aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds)); in impl_oslDateTimeToDateTime()
156 static sal_Bool impl_parseDateTime(const OUString& aString, DateTime& aDateTime) in impl_parseDateTime() argument
193 aDateTime = tmpDateTime; in impl_parseDateTime()
/trunk/main/forms/source/xforms/
H A Dconvert.cxx461 UNODateTime aDateTime; in lcl_toXSD_UNODateTime() local
462 OSL_VERIFY( rAny >>= aDateTime ); in lcl_toXSD_UNODateTime()
464 UNODate aDate( aDateTime.Day, aDateTime.Month, aDateTime.Year ); in lcl_toXSD_UNODateTime()
467 …UNOTime aTime( aDateTime.HundredthSeconds, aDateTime.Seconds, aDateTime.Minutes, aDateTime.Hours ); in lcl_toXSD_UNODateTime()
497 UNODateTime aDateTime( in lcl_toAny_UNODateTime() local
501 return makeAny( aDateTime ); in lcl_toAny_UNODateTime()
/trunk/main/reportdesign/source/filter/xml/
H A DxmlControlProperty.cxx303 ::com::sun::star::util::DateTime aDateTime; in convertString()
304 aDateTime.HundredthSeconds = aTime.HundredthSeconds; in convertString()
305 aDateTime.Seconds = aTime.Seconds; in convertString()
306 aDateTime.Minutes = aTime.Minutes; in convertString()
307 aDateTime.Hours = aTime.Hours; in convertString()
308 aDateTime.Day = aDate.Day; in convertString()
309 aDateTime.Month = aDate.Month; in convertString()
310 aDateTime.Year = aDate.Year; in convertString()
311 aReturn <<= aDateTime; in convertString()
/trunk/main/sw/source/filter/xml/
H A DXMLRedlineImportHelper.cxx226 util::DateTime aDateTime; /// change DateTime member in RedlineInfo
251 aDateTime(), in RedlineInfo()
443 pInfo->aDateTime = rDateTime; in Add()
729 aDT.SetYear( pRedlineInfo->aDateTime.Year ); in ConvertRedline()
730 aDT.SetMonth( pRedlineInfo->aDateTime.Month ); in ConvertRedline()
731 aDT.SetDay( pRedlineInfo->aDateTime.Day ); in ConvertRedline()
732 aDT.SetHour( pRedlineInfo->aDateTime.Hours ); in ConvertRedline()
733 aDT.SetMin( pRedlineInfo->aDateTime.Minutes ); in ConvertRedline()
734 aDT.SetSec( pRedlineInfo->aDateTime.Seconds ); in ConvertRedline()
735 aDT.Set100Sec( pRedlineInfo->aDateTime.HundredthSeconds ); in ConvertRedline()
/trunk/main/sdext/source/presenter/
H A DPresenterTimer.cxx579 oslDateTime aDateTime; in GetCurrentTime() local
580 osl_getDateTimeFromTimeValue(&aCurrentTime, &aDateTime); in GetCurrentTime()
581 return aDateTime; in GetCurrentTime()
613 oslDateTime aDateTime; in CheckCurrentTime() local
614 if (osl_getDateTimeFromTimeValue(&aCurrentTime, &aDateTime)) in CheckCurrentTime()
616 if (aDateTime.Seconds != maDateTime.Seconds in CheckCurrentTime()
617 || aDateTime.Minutes != maDateTime.Minutes in CheckCurrentTime()
618 || aDateTime.Seconds != maDateTime.Seconds) in CheckCurrentTime()
622 maDateTime = aDateTime; in CheckCurrentTime()
/trunk/main/svl/source/misc/
H A Dlockfilecommon.cxx234 oslDateTime aDateTime; in GetCurrentLocalTime() local
235 if ( osl_getDateTimeFromTimeValue( &aLocTime, &aDateTime ) ) in GetCurrentLocalTime()
238 … pDateTime, "%02d.%02d.%4d %02d:%02d", aDateTime.Day, aDateTime.Month, aDateTime.Year, aDateTime.H… in GetCurrentLocalTime()

Completed in 123 milliseconds

1234