facebook4j.internal.util.z_F4JInternalParseUtil.getTimeZoneOffset()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中facebook4j.internal.util.z_F4JInternalParseUtil.getTimeZoneOffset()方法的一些代码示例,展示了z_F4JInternalParseUtil.getTimeZoneOffset()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。z_F4JInternalParseUtil.getTimeZoneOffset()方法的具体详情如下:
包路径:facebook4j.internal.util.z_F4JInternalParseUtil
类名称:z_F4JInternalParseUtil
方法名:getTimeZoneOffset

z_F4JInternalParseUtil.getTimeZoneOffset介绍

[英]Parses the value of a field as a timezone offset in hours. A timezone offset is the value added to UTC time to get the user's local time. A date/time reference point must be provided because the offset may differ based on the date/time for which it is to be computed, for example because of daylight savings.
[中]将字段值解析为时区偏移量(以小时为单位)。时区偏移是添加到UTC时间以获取用户本地时间的值。必须提供日期/时间参考点,因为偏移量可能会根据要计算的日期/时间而不同,例如,由于夏令时。

代码示例

代码示例来源:origin: roundrop/facebook4j

timezone = getTimeZoneOffset("timezone", json, currentTime);
updatedTime = getISO8601Datetime("updated_time", json);
verified = getBoolean("verified", json);

代码示例来源:origin: org.facebook4j/facebook4j-core

timezone = getTimeZoneOffset("timezone", json, currentTime);
updatedTime = getISO8601Datetime("updated_time", json);
verified = getBoolean("verified", json);

代码示例来源:origin: apache/servicemix-bundles

timezone = getTimeZoneOffset("timezone", json, currentTime);
updatedTime = getISO8601Datetime("updated_time", json);
verified = getBoolean("verified", json);

相关文章