Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITime::adjust ( P6TIMEINFO pExpandedTime,
P6INT32  tzOffset 
)
pure virtual

This method provides the ability to easily modify times and adjust for diferent timezone offsets etc.

For example, you could add 3600 seconds to the seconds member of the P6TIMEINFO structure, then pass the structure into this method and it will adijust the other members accordingly and ensure the results are all within appropriate ranges.

Parameters
pExpandedTime[ in ] A pointer to the P6TIMEINFO structure to adjust.
tzOffset[ in ] A P6INT32 containing the timezone offset in seconds to adjust to.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpTime was NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
Any valid P6ERR.