/aoo41x/main/tools/source/datetime/ |
H A D | datetime.cxx | 183 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 D | ttime.cxx | 89 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 …]
|
/aoo41x/main/forms/source/xforms/ |
H A D | convert.cxx | 358 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 …]
|
/aoo41x/main/sal/osl/unx/ |
H A D | time.c | 96 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 …]
|
/aoo41x/main/sal/osl/os2/ |
H A D | time.c | 96 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 …]
|
/aoo41x/main/forms/source/component/ |
H A D | Time.cxx | 251 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 …]
|
/aoo41x/main/xmloff/source/style/ |
H A D | durationhdl.cxx | 46 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()
|
/aoo41x/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 94 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()
|
/aoo41x/main/vcl/source/control/ |
H A D | field2.cxx | 2636 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 …]
|
/aoo41x/main/reportdesign/source/filter/xml/ |
H A D | xmlControlProperty.cxx | 300 ::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 …]
|
/aoo41x/main/connectivity/qa/complex/connectivity/dbase/ |
H A D | DBaseDateFunctions.java | 290 final com.sun.star.util.Time aTime = row.getTime(1); in curtime() local 291 …getLog().println("CURTIME() is '" + aTime.Hours + ":" + aTime.Minutes + ":" + aTime.Seconds + "'"); in curtime() 297 final com.sun.star.util.DateTime aTime = row.getTimestamp(1); in now() local 298 getLog().println("NOW() is '" + aTime.Year + "-" + aTime.Month + "-" + aTime.Day + "'"); in now() 299 getLog().println("'" + aTime.Hours + ":" + aTime.Minutes + ":" + aTime.Seconds + "'"); in now()
|
/aoo41x/main/tools/source/fsys/ |
H A D | fstat.cxx | 340 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 D | os2.hxx | 72 inline Time MsDos2Time( FTIME* aTime ) in MsDos2Time() argument 74 return Time( aTime->hours, aTime->minutes, 2*aTime->twosecs ); in MsDos2Time()
|
/aoo41x/main/svx/source/dialog/ |
H A D | ctredlin.cxx | 874 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 …]
|
/aoo41x/main/xmloff/source/draw/ |
H A D | propimp0.cxx | 60 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()
|
/aoo41x/main/xmloff/source/forms/ |
H A D | propertyimport.cxx | 73 ::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 …]
|
/aoo41x/main/cui/source/options/ |
H A D | optmemory.cxx | 192 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()
|
/aoo41x/main/connectivity/source/drivers/odbcbase/ |
H A D | ODatabaseMetaDataResultSet.cxx | 448 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 D | OResultSet.cxx | 631 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()
|
/aoo41x/main/xmloff/source/xforms/ |
H A D | SchemaRestrictionContext.cxx | 219 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()
|
/aoo41x/main/framework/source/helper/ |
H A D | wakeupthread.cxx | 53 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()
|
/aoo41x/main/sc/source/core/data/ |
H A D | dbdocutl.cxx | 117 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()
|
/aoo41x/main/svtools/source/control/ |
H A D | taskstat.cxx | 243 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()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofield.cxx | 236 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()
|
/aoo41x/main/salhelper/source/ |
H A D | condition.cxx | 112 TimeValue aTime; in ConditionWaiter() local 113 aTime.Seconds = milliSec / 1000; in ConditionWaiter() 114 aTime.Nanosec = 1000000 * ( milliSec % 1000 ); in ConditionWaiter() 117 if( osl_waitCondition(m_aCond.m_aCondition,&aTime) == in ConditionWaiter()
|