1
0
Fork 0
firefox/docs/nspr/reference/pr_explodetime.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

46 lines
872 B
ReStructuredText

PR_ExplodeTime
==============
Converts an absolute time to a clock/calendar time.
Syntax
------
.. code::
#include <prtime.h>
void PR_ExplodeTime(
PRTime usecs,
PRTimeParamFn params,
PRExplodedTime *exploded);
Parameters
~~~~~~~~~~
The function has these parameters:
``usecs``
An absolute time in the :ref:`PRTime` format.
``params``
A time parameter callback function.
``exploded``
A pointer to a location where the converted time can be stored. This
location must be preallocated by the caller.
Returns
~~~~~~~
Nothing; the buffer pointed to by ``exploded`` is filled with the
exploded time.
Description
-----------
This function converts the specified absolute time to a clock/calendar
time in the specified time zone. Upon return, the location pointed to by
the exploded parameter contains the converted time value.