Oops.. stupid mistake in the previous note..
> public void getOffset(long date, int[] offsets) {
> if (offsets == null || offsets.length < 2) {
> offsets = new int[2];
> }
> if (inDaylightTime(new Date(date)) {
> offsets[1] = getDSTSavings();
> offsets[0] = get
Hi Umaoka-san,
Thank you for your proposal. Yes, the TimeZone class has some built-in
assumptions which cause many problems. I had been planning to introduce
some methods, one of which is very similar to your proposal, mainly for
fixing the disambiguation problem during the standard-daylight t
I agree that the revised one is reasonable.
Thanks,
Masayoshi
On 8/14/2008 4:14 AM, Yoshito Umaoka wrote:
Oops.. stupid mistake in the previous note..
> public void getOffset(long date, int[] offsets) {
> if (offsets == null || offsets.length < 2) {
> offsets = new int[2];
> }