public static String getGmtTimeZone() {
int _t= TimeZone.getDefault().getOffset(System.currentTimeMillis()) / (3600 * 1000);
return String.valueOf(_t);
}
public static String getGmtTimeZone() {
int _t= TimeZone.getDefault().getOffset(System.currentTimeMillis()) / (3600 * 1000);
return String.valueOf(_t);
}
本文标题:Android获取gmt时区
本文链接:https://www.haomeiwen.com/subject/jyrfbltx.html
网友评论