Bug 1885489 - Part 9: Add SnapshotIterator::readObject(). r=iain
[gecko.git] / docs / nspr / reference / pr_localtimeparameters.rst
blob976db05547edd3576a3ea69df04b2aa99b140d04
1 PR_LocalTimeParameters
2 ======================
4 Returns the time zone offset information that maps the specified
5 :ref:`PRExplodedTime` to local time.
8 Syntax
9 ------
11 .. code::
13    #include <prtime.h>
15    PRTimeParameters PR_LocalTimeParameters (
16       const PRExplodedTime *gmt);
19 Parameter
20 ~~~~~~~~~
22 ``gmt``
23    A pointer to the clock/calendar time whose offsets are to be
24    determined. This time should be specified in GMT.
27 Returns
28 ~~~~~~~
30 A time parameters structure that expresses the time zone offsets at the
31 specified time.
34 Description
35 -----------
37 This is a frequently-used time parameter callback function. You don't
38 normally call it directly; instead, you pass it as a parameter to
39 ``PR_ExplodeTime()`` or ``PR_NormalizeTime()``.