根据经纬度计算时区

给定经纬度,返回时区编号: /** * 根据经度获取时区 * @param currentLon * @return */ public static int caculateTimeZone(double currentLon) { int timeZone ; int shangValue = (int)(currentLon / 15);
相关文章
相关标签/搜索