摘要:
1 TimeZone gmt = TimeZone.getTimeZone("GMT");2 3 Calendar epoch1900 = Calendar.getInstance(gmt);可以解决我们的环境中各个服务器之间的时区不同步的问题。 1 /** 2 * Gets the TimeZone for the given ID. 3 * 4 ... 阅读全文
摘要:
1.什么时候在Socket Client端指定connect from参数:public Socket(String host, int port, InetAddress interface, int localPort) throws IOException, UnknownHostException This constructor creates a socket to the spec... 阅读全文
摘要:
http://jcp.org/en/jsr/detail?id=220 阅读全文