Operating System - HP-UX
1748028 Members
4906 Online
108757 Solutions
New Discussion юеВ

New Zealand Daylight Saving Time changes for September 2007

 
SOLVED
Go to solution
Alex Jenner
Advisor

New Zealand Daylight Saving Time changes for September 2007

Beginning 30 September this year, New Zealand will have three weeks more daylight saving. Clocks will go forward an hour a week earlier than usual - on the last Sunday in September- and back an hour on the first Sunday in April, instead of the third Sunday in March.

Refer following links for details.

http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Daylight-Saving-Daylight-saving-to-be-extended
http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Daylight-Saving-Index

In HP-UX 11.0 and 11.11, the rules for daylight saving are defined in /usr/lib/tztab, so I believe the following definitions are needed for New Zealand.

# New Zealand Standard Time, New Zealand Daylight Time
#
NZST-12NZDT
0 3 25-31 10 1985-1988 0 NZDT-13
0 3 8 10 1989 0-6 NZDT-13
0 3 1-7 10 1990-2006 0 NZDT-13
0 3 24-30 9 2007-2038 0 NZDT-13
0 2 1-7 3 1985-1989 0 NZST-12
0 2 15-21 3 1990-2007 0 NZST-12
0 2 1-7 4 2008-2038 0 NZST-12

---

My questions:

1. Has anyone in New Zealand made these modifications and verified them by rolling the clock forward to 30 September, 2007 (and April 2008)?

2. Based on experience with Daylight Saving changes in other parts of the world, are there any other things on HP-UX systems that need changing - e.g. Timezone definitions in Java, Oracle and other products?
32 REPLIES 32
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>2. ... are there any other things on HP-UX systems that need changing - e.g. Timezone definitions in Java,

Yes, these needed changing for Y2K7.

I don't see any notes about your change on HP's official DST page:
http://www.hp.com/go/dst/

If/when you talk to HP, tell them it should have info there.
Alex Jenner
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks Dennis, I've contacted HP about an official patch for HP-UX and it appears that they are aware of the situation.

Regarding:
http://www.hp.com/go/dst/

That one really only seems to be for North America, as Australia has also changed and there is no mention of Australia or New Zealand on that page.

Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>That one really only seems to be for North America

Hmm, I thought it was for all DST related issues. You could suggest HP add your New Zealand issue there.

At least it points off to Java, etc.

> 1. Has anyone in New Zealand made these modifications and verified them by rolling the clock

You don't need to move your clock if you use Clay's perl script in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1095131
Srimalik
Valued Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

In addition to the tztab patch of HPUX and java patches the following may also need be patched

- oracle ( applicable only in certain scenarios)
- aCC runtime libs ( I know that the rogue wave libs do custom handling of timezones, they need to be updated)
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>Srikrishan: aC++ runtime libs (I know that the rogue wave ...

No, they don't support any country outside of the US and a few European countries.

So don't use RWZone. Use libc's ctime(3).
Srimalik
Valued Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks, I am learning a lot from these forums :)
abandon all hope, ye who enter here..
Jim Walls
Trusted Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

I believe HP are releasing the following updated timezone patches on 17 August 2007.

PATCHNAME: PHCO_36823: 11.11
PATCHNAME: PHCO_36824: 11.23
PATCHNAME: PHCO_36825: 11.31

Regards
Jim
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>Jim: I believe HP are releasing the following updated timezone patches

These are the patches I mentioned in another thread about New Zealand:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1146967
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007


Hi Alex,

I have checked the JaG info, this patch should be released by Sept 30. 2007.

The defect will be fixed by patches
PATCHNAME: PHCO_36823: 11.11
PATCHNAME: PHCO_36824: 11.23
PATCHNAME: PHCO_36825: 11.31

in the respective versions.

Fix: tztab(4) has been modified to support New Zealand DST changes.
Problem never ends, you must know how to fix it