Kat*_*hir 5 java timezone datetime calendar
有人可以详细解释以下内容:
我有一个long代表a 的值date.
long
date
什么将在timezone与相关的long价值?
timezone
如何将long值转换为适当的日期time zone?
time zone
有没有办法识别timezone与long date价值相关联?
long date
use*_*300 6
自格林威治标准时间1970年1月以来的很长一段时间.所以,就此而言,它是GMT.
kos*_*osa 2
当时间为长格式时,TimeZone不会与之关联。
TimeZone
您需要使用任一SimpleDateFormat(或)CalendarAPI 来应用时区以获得长值。
SimpleDateFormat
Calendar
归档时间:
13 年,2 月 前
查看次数:
3741 次
最近记录: