| 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 ); 
- extern "C"
 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(); 
- extern "C"
 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 ); 
- extern "C"
 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
 - 
 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 ); 
- extern "C"
 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 ); 
- extern "C"
 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
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.

