PR_ExplodeTime 编辑
Converts an absolute time to a clock/calendar time.
Syntax
#include <prtime.h> void PR_ExplodeTime( /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRTime usecs, /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRTimeParamFn params, /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRExplodedTime *exploded);
Parameters
The function has these parameters:
usecs
- An absolute time in the
/wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论