LibreOffice
LibreOffice 5.2 SDK C/C++ API Reference
|
Go to the source code of this file.
Classes | |
struct | TimeValue |
struct | _oslDateTime |
Typedefs | |
typedef struct _oslDateTime | oslDateTime |
Functions | |
SAL_DLLPUBLIC sal_Bool | osl_getSystemTime (TimeValue *pTimeVal) |
Get the current system time as TimeValue. More... | |
SAL_DLLPUBLIC sal_Bool | osl_getDateTimeFromTimeValue (const TimeValue *pTimeVal, oslDateTime *pDateTime) |
Get the GMT from a TimeValue and fill a struct oslDateTime. More... | |
SAL_DLLPUBLIC sal_Bool | osl_getTimeValueFromDateTime (const oslDateTime *pDateTime, TimeValue *pTimeVal) |
Get the GMT from a oslDateTime and fill a TimeValue. More... | |
SAL_DLLPUBLIC sal_Bool | osl_getLocalTimeFromSystemTime (const TimeValue *pSystemTimeVal, TimeValue *pLocalTimeVal) |
Convert GMT to local time. More... | |
SAL_DLLPUBLIC sal_Bool | osl_getSystemTimeFromLocalTime (const TimeValue *pLocalTimeVal, TimeValue *pSystemTimeVal) |
Convert local time to GMT. More... | |
SAL_DLLPUBLIC sal_uInt32 | osl_getGlobalTimer (void) |
Get the value of the global timer. More... | |
typedef struct _oslDateTime oslDateTime |
SAL_DLLPUBLIC sal_Bool osl_getDateTimeFromTimeValue | ( | const TimeValue * | pTimeVal, |
oslDateTime * | pDateTime | ||
) |
SAL_DLLPUBLIC sal_uInt32 osl_getGlobalTimer | ( | void | ) |
Get the value of the global timer.
SAL_DLLPUBLIC sal_Bool osl_getLocalTimeFromSystemTime | ( | const TimeValue * | pSystemTimeVal, |
TimeValue * | pLocalTimeVal | ||
) |
Convert GMT to local time.
[in] | pSystemTimeVal | system time to convert |
[out] | pLocalTimeVal | On success it receives the local time |
SAL_DLLPUBLIC sal_Bool osl_getSystemTime | ( | TimeValue * | pTimeVal | ) |
Get the current system time as TimeValue.
SAL_DLLPUBLIC sal_Bool osl_getSystemTimeFromLocalTime | ( | const TimeValue * | pLocalTimeVal, |
TimeValue * | pSystemTimeVal | ||
) |
Convert local time to GMT.
[in] | pLocalTimeVal | local time to convert |
[out] | pSystemTimeVal | On success it receives the system time |
SAL_DLLPUBLIC sal_Bool osl_getTimeValueFromDateTime | ( | const oslDateTime * | pDateTime, |
TimeValue * | pTimeVal | ||
) |