Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITime::expand ( const P6TIME pTime,
P6TIMEINFO pExpandedTime,
P6BOOL  bLocalTime 
)
pure virtual

Expands the provided P6TIME value into an P6TIMEINFO structure.

The time can be represented in UTC or local time. To convert to another timezone, pass the P6TIMEINFO structure to p6ITime::adjust() and specify the timezone offset from UTC that you would like to apply.

Parameters
pTime[ in ] A pointer to the P6TIME value to expand.
pExpandedTime[ in out ] A pointer to the P6TIMEINFO structure that will receive the expanded time information.
bLocalTime[ in ] A P6BOOL that if set to P6TRUE will render the expaneded time in local time. If set to P6FALSE, the rendered time will be in GMT.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpTime was NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
Any valid P6ERR.