1. 0919AM
* A *
显示时间的方法 Calendar GregorianCalendar的例子
中国时区
// get the supported ids for GMT-08:00 (Pacific Standard Time)
String[] ids = TimeZone.getAvailableIDs(+8 * 60 * 60 * 1000);
美国: -8
用到了util中的SimpleTimeZone来构造指定的时区,制定规则等,最后得到相应于此SimpleTimeZone的GregorianCalendar
new GC de 的时候,是用Calendar s = new GC();(人 张三 = new 男人(),这样比较好)
* A *
显示时间的方法 Calendar GregorianCalendar的例子
中国时区
// get the supported ids for GMT-08:00 (Pacific Standard Time)
String[] ids = TimeZone.getAvailableIDs(+8 * 60 * 60 * 1000);
美国: -8
用到了util中的SimpleTimeZone来构造指定的时区,制定规则等,最后得到相应于此SimpleTimeZone的GregorianCalendar
new GC de 的时候,是用Calendar s = new GC();(人 张三 = new 男人(),这样比较好)