Home
last modified time | relevance | path

Searched refs:aTime (Results 1 – 25 of 111) sorted by relevance

12345

/trunk/main/tools/source/datetime/
H A Ddatetime.cxx183 Time aTime = *this; in operator +=() local
184 aTime += rTime; in operator +=()
186 if ( aTime.GetTime() > 0 ) in operator +=()
203 aTime = Time( 24, 0, 0 )+aTime; in operator +=()
205 Time::operator=( aTime ); in operator +=()
222 Time aTime = *this; in operator -=() local
223 aTime -= rTime; in operator -=()
242 aTime = Time( 24, 0, 0 )+aTime; in operator -=()
244 Time::operator=( aTime ); in operator -=()
342 operator+=( aTime ); in operator +=()
[all …]
H A Dttime.cxx89 Time aTime( 0, 0, 0, nSec100 ); in Sec100ToTime() local
90 aTime.SetTime( aTime.GetTime() * nSign ); in Sec100ToTime()
91 return aTime; in Sec100ToTime()
118 struct tm aTime; in Time()
245 Time aTime( 0, 0, 0, nMS/10 ); in MakeTimeFromMS() local
328 aTime = -aTime; in GetUTCOffset()
329 return aTime; in GetUTCOffset()
344 aTime = -aTime; in GetUTCOffset()
345 return aTime; in GetUTCOffset()
383 aTime = -aTime; in GetUTCOffset()
[all …]
/trunk/main/forms/source/xforms/
H A Dconvert.cxx358 UNOTime aTime; in lcl_toXSD_UNOTime() local
359 OSL_VERIFY( rAny >>= aTime ); in lcl_toXSD_UNOTime()
368 UNOTime aTime( 0, 0, 0, 0 ); in lcl_toUNOTime() local
430 if ( ( aTime.Hours > 24 ) in lcl_toUNOTime()
431 || ( aTime.Minutes > 59 ) in lcl_toUNOTime()
432 || ( aTime.Seconds > 60 ) in lcl_toUNOTime()
437 && ( aTime.Hours == 24 ) in lcl_toUNOTime()
438 && ( ( aTime.Minutes != 0 ) in lcl_toUNOTime()
449 return aTime; in lcl_toUNOTime()
486 UNOTime aTime; in lcl_toAny_UNODateTime() local
[all …]
/trunk/main/sal/osl/os2/
H A Dtime.c96 struct tm aTime; in osl_getTimeValueFromDateTime() local
100 aTime.tm_sec = pDateTime->Seconds; in osl_getTimeValueFromDateTime()
101 aTime.tm_min = pDateTime->Minutes; in osl_getTimeValueFromDateTime()
102 aTime.tm_hour = pDateTime->Hours; in osl_getTimeValueFromDateTime()
103 aTime.tm_mday = pDateTime->Day; in osl_getTimeValueFromDateTime()
104 aTime.tm_wday = pDateTime->DayOfWeek; in osl_getTimeValueFromDateTime()
116 aTime.tm_isdst = -1; in osl_getTimeValueFromDateTime()
117 aTime.tm_wday = 0; in osl_getTimeValueFromDateTime()
118 aTime.tm_yday = 0; in osl_getTimeValueFromDateTime()
121 nSeconds = mktime( &aTime ); in osl_getTimeValueFromDateTime()
[all …]
/trunk/main/sal/osl/unx/
H A Dtime.c95 struct tm aTime; in osl_getTimeValueFromDateTime() local
99 aTime.tm_sec = pDateTime->Seconds; in osl_getTimeValueFromDateTime()
100 aTime.tm_min = pDateTime->Minutes; in osl_getTimeValueFromDateTime()
101 aTime.tm_hour = pDateTime->Hours; in osl_getTimeValueFromDateTime()
102 aTime.tm_mday = pDateTime->Day; in osl_getTimeValueFromDateTime()
103 aTime.tm_wday = pDateTime->DayOfWeek; in osl_getTimeValueFromDateTime()
115 aTime.tm_isdst = -1; in osl_getTimeValueFromDateTime()
116 aTime.tm_wday = 0; in osl_getTimeValueFromDateTime()
117 aTime.tm_yday = 0; in osl_getTimeValueFromDateTime()
120 nSeconds = mktime( &aTime ); in osl_getTimeValueFromDateTime()
[all …]
/trunk/main/forms/source/component/
H A DTime.cxx251 util::Time aTime; in commitControlValueToDbColumn() local
252 if ( !( aControlValue >>= aTime ) ) in commitControlValueToDbColumn()
256 aTime = DBTypeConversion::toTime(nAsInt); in commitControlValueToDbColumn()
260 m_xColumnUpdate->updateTime(aTime); in commitControlValueToDbColumn()
265 aDateTime.Seconds = aTime.Seconds; in commitControlValueToDbColumn()
266 aDateTime.Minutes = aTime.Minutes; in commitControlValueToDbColumn()
267 aDateTime.Hours = aTime.Hours; in commitControlValueToDbColumn()
311 util::Time aTime; in translateExternalValueToControlValue() local
312 OSL_VERIFY( _rExternalValue >>= aTime ); in translateExternalValueToControlValue()
329 util::Time aTime = m_xColumn->getTime(); in translateDbColumnToControlValue() local
[all …]
/trunk/main/vcl/source/control/
H A Dfield2.cxx2636 aTime = -aTime; in ImplTimeGetValue()
2639 rTime = aTime; in ImplTimeGetValue()
2648 Time aTime( 0, 0, 0 ); in ImplTimeReformat() local
3020 Time aTime( 0, 0, 0 ); in GetTime() local
3041 return aTime; in GetTime()
3048 Time aTime( 0, 0, 0 ); in GetRealTime() local
3058 return aTime; in GetRealTime()
3414 Time aTime = rTime; in InsertTime() local
3416 aTime = GetMax(); in InsertTime()
3418 aTime = GetMin(); in InsertTime()
[all …]
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx94 Time aTime(0,_rDateTime.Seconds,_rDateTime.Minutes,_rDateTime.Hours); in toDateTimeString() local
95 aTemp.append( toTimeString(aTime) ); in toDateTimeString()
396 Time aTime = toTime(dVal); in toDateTime() local
404 xRet.HundredthSeconds = aTime.HundredthSeconds; in toDateTime()
405 xRet.Minutes = aTime.Minutes; in toDateTime()
406 xRet.Seconds = aTime.Seconds; in toDateTime()
407 xRet.Hours = aTime.Hours; in toDateTime()
442 Time aTime; in toDateTime() local
445 aTime = toTime( _sSQLString.copy( nSeparation ) ); in toDateTime()
447 …return DateTime(aTime.HundredthSeconds,aTime.Seconds,aTime.Minutes,aTime.Hours,aDate.Day,aDate.Mon… in toDateTime()
/trunk/main/xmloff/source/style/
H A Ddurationhdl.cxx46 DateTime aTime; in importXML() local
47 if( !SvXMLUnitConverter::convertTime( aTime, rStrImpValue ) ) in importXML()
50 …const sal_Int16 nMS = ( ( aTime.Hours * 60 + aTime.Minutes ) * 60 + aTime.Seconds ) * 100 + aTime.… in importXML()
66 DateTime aTime( nMS, 0, 0, 0, 0, 0, 0 ); in exportXML() local
67 SvXMLUnitConverter::convertTime( aOut, aTime ); in exportXML()
/trunk/main/connectivity/qa/complex/connectivity/dbase/
H A DDBaseDateFunctions.java168 final com.sun.star.util.Time aTime = row.getTime(1); in curtime() local
169 …System.out.println("CURTIME() is '" + aTime.Hours + ":" + aTime.Minutes + ":" + aTime.Seconds + "'… in curtime()
175 final com.sun.star.util.DateTime aTime = row.getTimestamp(1); in now() local
176 System.out.println("NOW() is '" + aTime.Year + "-" + aTime.Month + "-" + aTime.Day + "'"); in now()
177 System.out.println("'" + aTime.Hours + ":" + aTime.Minutes + ":" + aTime.Seconds + "'"); in now()
/trunk/main/reportdesign/source/filter/xml/
H A DxmlControlProperty.cxx300 ::com::sun::star::util::Time aTime = implGetTime(nValue); 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()
331 ::com::sun::star::util::Time aTime; in implGetTime()
334 aTime.HundredthSeconds = (sal_uInt16)( nIntValue % 100 ); in implGetTime()
336 aTime.Seconds = (sal_uInt16)( nIntValue % 60 ); in implGetTime()
338 aTime.Minutes = (sal_uInt16)( nIntValue % 60 ); in implGetTime()
341 aTime.Hours = static_cast< sal_uInt16 >( nIntValue ); in implGetTime()
[all …]
/trunk/main/tools/source/fsys/
H A Dfstat.cxx340 SYSTEMTIME aTime; in SetDateTime() local
341 aTime.wYear = aNewDate.GetYear(); in SetDateTime()
342 aTime.wMonth = aNewDate.GetMonth(); in SetDateTime()
343 aTime.wDayOfWeek = 0; in SetDateTime()
344 aTime.wDay = aNewDate.GetDay(); in SetDateTime()
345 aTime.wHour = aNewTime.GetHour(); in SetDateTime()
346 aTime.wMinute = aNewTime.GetMin(); in SetDateTime()
347 aTime.wSecond = aNewTime.GetSec(); in SetDateTime()
348 aTime.wMilliseconds = 0; in SetDateTime()
350 SystemTimeToFileTime( &aTime, &aFileTime ); in SetDateTime()
H A Dos2.hxx72 inline Time MsDos2Time( FTIME* aTime ) in MsDos2Time() argument
74 return Time( aTime->hours, aTime->minutes, 2*aTime->twosecs ); in MsDos2Time()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java307 Time aTime = toTime(dVal); in toDateTime() local
315 xRet.HundredthSeconds = aTime.HundredthSeconds; in toDateTime()
316 xRet.Minutes = aTime.Minutes; in toDateTime()
317 xRet.Seconds = aTime.Seconds; in toDateTime()
318 xRet.Hours = aTime.Hours; in toDateTime()
336 Time aTime = new Time(); in toDateTime() local
339 aTime = toTime( timeString ); in toDateTime()
341 …return new DateTime(aTime.HundredthSeconds,aTime.Seconds,aTime.Minutes,aTime.Hours,aDate.Day,aDate… in toDateTime()
/trunk/main/svx/source/dialog/
H A Dctredlin.cxx874 Time aTime; in SvxTPFilter() local
876 aTfDate.SetTime(aTime); in SvxTPFilter()
878 aTfDate2.SetTime(aTime); in SvxTPFilter()
1008 aTfDate.SetTime(aTime); in SetFirstTime()
1029 aTfDate2.SetTime(aTime); in SetLastTime()
1254 Time aTime; in IMPL_LINK() local
1258 aTfDate.SetTime(aTime); in IMPL_LINK()
1263 aTfDate2.SetTime(aTime); in IMPL_LINK()
1373 Time aTime(0); in IMPL_LINK() local
1393 aTfDate.SetTime(aTime); in IMPL_LINK()
[all …]
/trunk/main/xmloff/source/forms/
H A Dpropertyimport.cxx73 ::com::sun::star::util::Time aTime; in lcl_getTime()
76 aTime.HundredthSeconds = (sal_uInt16)( nIntValue % 100 ); in lcl_getTime()
78 aTime.Seconds = (sal_uInt16)( nIntValue % 60 ); in lcl_getTime()
80 aTime.Minutes = (sal_uInt16)( nIntValue % 60 ); in lcl_getTime()
83 aTime.Hours = static_cast< sal_uInt16 >( nIntValue ); in lcl_getTime()
85 return aTime; in lcl_getTime()
222 ::com::sun::star::util::Time aTime = lcl_getTime(nValue); in convertString()
226 aDateTime.HundredthSeconds = aTime.HundredthSeconds; in convertString()
227 aDateTime.Seconds = aTime.Seconds; in convertString()
228 aDateTime.Minutes = aTime.Minutes; in convertString()
[all …]
/trunk/main/xmloff/source/draw/
H A Dpropimp0.cxx60 util::DateTime aTime; in importXML() local
61 SvXMLUnitConverter::convertTime( aTime, rStrImpValue ); in importXML()
63 const sal_Int32 nSeconds = ( aTime.Hours * 60 + aTime.Minutes ) * 60 + aTime.Seconds; in importXML()
78 util::DateTime aTime( 0, (sal_uInt16)nVal, 0, 0, 0, 0, 0 ); in exportXML() local
81 SvXMLUnitConverter::convertTime( aOut, aTime ); in exportXML()
/trunk/main/cui/source/options/
H A Doptmemory.cxx192 const Time aTime( aTfGraphicObjectTime.GetTime() ); in FillItemSet() local
193 …aCacheOptions.SetGraphicManagerObjectReleaseTime( aTime.GetSec() + aTime.GetMin() * 60 + aTime.Get… in FillItemSet()
233 …Time aTime( (sal_uInt16)( nTime / 3600 ), (sal_uInt16)( ( nTime % 3600 ) / 60 ), (sal_uInt16)( ( n… in Reset() local
234 aTfGraphicObjectTime.SetTime( aTime ); in Reset()
/trunk/main/connectivity/source/drivers/odbcbase/
H A DODatabaseMetaDataResultSet.cxx448 TIME_STRUCT aTime={0,0,0}; in getTime() local
450 …nnection->useOldDateFormat() ? SQL_C_TIME : SQL_C_TYPE_TIME,m_bWasNull,**this,&aTime,sizeof aTime); in getTime()
453 return Time(0,aTime.second,aTime.minute,aTime.hour); in getTime()
466 TIMESTAMP_STRUCT aTime={0,0,0,0,0,0,0}; in getTimestamp() local
468 …useOldDateFormat() ? SQL_C_TIMESTAMP : SQL_C_TYPE_TIMESTAMP,m_bWasNull,**this,&aTime,sizeof aTime); in getTimestamp()
471 …return DateTime((sal_uInt16)aTime.fraction*1000,aTime.second,aTime.minute,aTime.hour,aTime.day,aTi… in getTimestamp()
H A DOResultSet.cxx631 TIME_STRUCT aTime={0,0,0}; in getTime() local
634 &aTime,sizeof aTime); in getTime()
635 return (&aValue == &m_aEmptyValue) ? Time(0,aTime.second,aTime.minute,aTime.hour) : (Time)aValue; in getTime()
643 TIMESTAMP_STRUCT aTime={0,0,0,0,0,0,0}; in getTimestamp() local
646 &aTime,sizeof aTime); in getTimestamp()
649 …DateTime(static_cast<sal_uInt16>(aTime.fraction*1000),aTime.second,aTime.minute,aTime.hour,aTime.d… in getTimestamp()
/trunk/main/xmloff/source/xforms/
H A DSchemaRestrictionContext.cxx219 com::sun::star::util::Time aTime; in lcl_time() local
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()
224 aAny <<= aTime; in lcl_time()
/trunk/main/svtools/source/control/
H A Dtaskstat.cxx243 Time aTime; in ImplUpdateClock() local
244 maTimer.SetTimeout( ((long)60000)-((aTime.GetSec()*1000)+(aTime.Get100Sec()*10)) ); in ImplUpdateClock()
245 if ( (aTime.GetMin() != maTime.GetMin()) || in ImplUpdateClock()
246 (aTime.GetHour() != maTime.GetHour()) ) in ImplUpdateClock()
248 maTime = aTime; in ImplUpdateClock()
249 maTimeText = SvtSysLocale().GetLocaleData().getTime( aTime, sal_False, sal_False ); in ImplUpdateClock()
/trunk/main/editeng/source/uno/
H A Dunofield.cxx236 util::DateTime aTime; in getTime() local
237 memset( &aTime, 0, sizeof( util::DateTime ) ); in getTime()
241 aTime.HundredthSeconds = aTempTime.Get100Sec(); in getTime()
242 aTime.Seconds = aTempTime.GetSec(); in getTime()
243 aTime.Minutes = aTempTime.GetMin(); in getTime()
244 aTime.Hours = aTempTime.GetHour(); in getTime()
246 return aTime; in getTime()
421 Time aTime( setTime( mpImpl->maDateTime ) ); in CreateFieldData() local
422 pData = new SvxExtTimeField( aTime, mpImpl->mbBoolean1?SVXTIMETYPE_FIX:SVXTIMETYPE_VAR ); in CreateFieldData()
/trunk/main/sc/source/core/data/
H A Ddbdocutl.cxx117 util::Time aTime = xRow->getTime(nRowPos); in PutData() local
118 nVal = ( aTime.Hours * 3600 + aTime.Minutes * 60 + in PutData()
119 aTime.Seconds + aTime.HundredthSeconds / 100.0 ) / D_TIMEFACTOR; in PutData()
/trunk/main/framework/source/helper/
H A Dwakeupthread.cxx53 TimeValue aTime; in run() local
54 aTime.Seconds = 0; in run()
55 aTime.Nanosec = 25000000; // 25 msec in run()
60 aSleeper.wait(&aTime); in run()

Completed in 356 milliseconds

12345