Adjusts the fields of a clock/calendar time to their proper ranges, using a callback function.

Syntax

#include <prtime.h>

void PR_NormalizeTime (
  PRExplodedTime *time,
  PRTimeParamFn params);

Parameters

The function has these parameters:

time
A pointer to a clock/calendar time in the PRExplodedTime format.
params
A time parameter callback function.

Returns

Nothing; the time parameter is altered by the callback function.

Description

This function adjusts the fields of the specified time structure using the specified time parameter callback function, so that they are in the proper range.

Call this function in these situations: