Global Functions in Global Namespace C++
in Sourcefile time.h
- osl_getDateTimeFromTimeValue
- extern "C"
sal_Bool osl_getDateTimeFromTimeValue(
-
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(
-
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(
-
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(
-
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(
-
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 © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.