JDK DST Compliance Checking

[b]The following is an case for checking of Jdk 1.5.0_10:[/b]
The JDK 1.5.0_10 is USDDST 2007(See 2 for detail) data compliant. But there is a new data change(tzdata2007g, See 1 for detail) for America/Indiana that is not included in this version. If we don't need this new data change, it's OK for us to use JDK 1.5.0_10 in PROD. My suggestion is to run tzupdater to get the latest tz information after JDK installation whichever JDK version we use.

The following is the detail TimeZone Data Version in the JRE Software(http://java.sun.com/javase/timezones/tzdata_versions.html):

Olson Tzdata Version
Introduced in JRE Update Release
TZupdater Version
Main Changes in This Olson Release

tzdata2007g
5.0u13
6u3
1.2.2
New data for Australia (2008) and for America/Indiana

tzdata2006k
5.0u10
6
n/a
New data for Honduras, Bermuda, Moncton, Blanc-Sablon, Gaza, and Cuba


tzdata2005m
5.0_u6

n/a
Includes the USDST 2007 data

Note: Olson timezone data is cumulative. For example, if you have installed tzdata2007g, then you do not need to install any previous release to get all the data for New Zealand.

1. With tzdata2007g, the timezones of "America/Indiana/Vincenes" and "America/Indiana/Petersburg" include a future change in their GMT offset value. Both these timezones move from CST to EST on Nov 4 2007.(http://java.sun.com/javase/tzupdater_README.html)
2. The U.S. Energy Policy Act of 2005 mandates that, effective as of 2007, Daylight Saving Time (DST) in the United States will begin on the second Sunday of March and end on the first Sunday of November. Before, DST started on the first Sunday of April and ended on the last Sunday of October.


Some reference docs:
http://developers.sun.com/webtier/reference/techart/dst.html
http://java.sun.com/javase/timezones/index.html
http://java.sun.com/javase/timezones/index.html#olson
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值