Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Global Functions in Global Namespace C++
in Sourcefile time.h


osl_getDateTimeFromTimeValue
extern "C"
sal_Bool osl_getDateTimeFromTimeValue(
TimeValue * pTimeVal,
oslDateTime * pDateTime );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get the GMT from a TimeValue and fill a struct oslDateTime
Parameters
pTimeVal[in]
TimeValue
pDateTime[out]
On success it receives a struct oslDateTime

Return
sal_False if any error occurs else sal_True.

osl_getGlobalTimer
extern "C"
sal_uInt32 osl_getGlobalTimer();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get the value of the global timer
Return
current timer value in milli seconds

osl_getLocalTimeFromSystemTime
extern "C"
sal_Bool osl_getLocalTimeFromSystemTime(
TimeValue * pSystemTimeVal,
TimeValue * pLocalTimeVal );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Convert GMT to local time 
Parameters
pSystemTimeVal[in]
system time to convert
pLocalTimeVal[out]
On success it receives the local time

Return
sal_False if any error occurs else sal_True.

osl_getSystemTime
extern "C"
sal_Bool osl_getSystemTime(
TimeValue * pTimeVal );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get the current system time as TimeValue.
Return
false if any error occurs.

osl_getSystemTimeFromLocalTime
extern "C"
sal_Bool osl_getSystemTimeFromLocalTime(
TimeValue * pLocalTimeVal,
TimeValue * pSystemTimeVal );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Convert local time to GMT
Parameters
pLocalTimeVal[in]
local time to convert
pSystemTimeVal[out]
On success it receives the system time

Return
sal_False if any error occurs else sal_True.

osl_getTimeValueFromDateTime
extern "C"
sal_Bool osl_getTimeValueFromDateTime(
oslDateTime * pDateTime,
TimeValue * pTimeVal );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Get the GMT from a oslDateTime and fill a TimeValue
Parameters
pDateTime[in]
oslDateTime
pTimeVal[out]
On success it receives a TimeValue

Return
sal_False if any error occurs else sal_True.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.