PR_GMTParameters 编辑
Returns the time zone offset information that maps the specified PRExplodedTime
to GMT.
Syntax
#include <prtime.h> /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRTimeParameters PR_GMTParameters ( const PRExplodedTime *gmt);
Parameter
gmt
- A pointer to the clock/calendar time whose offsets are to be determined. This time should be specified in GMT.
Returns
A time parameters structure that expresses the time zone offsets at the specified time.
Description
This is a frequently-used time parameter callback function. You don't normally call it directly; instead, you pass it as a parameter to /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PR_ExplodeTime()
or /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PR_NormalizeTime()
.
This is a trivial function; for any input, it returns a /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRTimeParameters
structure with both fields set to zero.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论