笨笨
独学而无友,则孤陋而寡闻
摘要: 1 TimeZone gmt = TimeZone.getTimeZone("GMT");2 3 Calendar epoch1900 = Calendar.getInstance(gmt);可以解决我们的环境中各个服务器之间的时区不同步的问题。 1 /** 2 * Gets the TimeZone for the given ID. 3 * 4 ... 阅读全文
posted @ 2005-12-23 10:48 笨笨 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2005-12-23 09:58 笨笨 阅读(411) 评论(0) 推荐(0) 编辑
摘要: http://jcp.org/en/jsr/detail?id=220 阅读全文
posted @ 2005-12-23 08:34 笨笨 阅读(165) 评论(0) 推荐(0) 编辑