Re: NSCalendarDate, NSTimer - Daylight Saving Time (DST) problem is tricky...
Re: NSCalendarDate, NSTimer - Daylight Saving Time (DST) problem is tricky...
- Subject: Re: NSCalendarDate, NSTimer - Daylight Saving Time (DST) problem is tricky...
- From: Simon Liu <email@hidden>
- Date: Thu, 7 Apr 2005 11:03:40 +0100
Sean,
> Now I'm home so I checked my code, the thing I'm talking about is
> "kEventSystemTimeDateChanged". Here is a snipit of my code:
Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h
kEventSystemTimeDateChanged only works on 10.3. The Date/Time format
change notification does work on 10.2.8.
Thanks for the assistance.
Cheers,
Simon
> Mind you I'm not sure this Carbon event is sent in the case of DST
> change... it is certainly sent if the user manually changes the clock.
> You might ask on the carbon list or check its archives.
>
> >> NSCalendarDate also has a time zone component, so it should be able to
> >> represent both 01:30s.
> >
> >You're sort of right in that you can 'represent' the 01:30, but only
> >in timeInterval form.
> >The NSCalendarDate docs for +dateWithYear:... state the second 01:30
> >can't be created:
>
> Oh. :( Weird, considering the time zone can be specified. Sorry, I
> dunno what to suggest.
>
> --
> "I object to violence because when it appears to do good, the good is
> only temporary; the evil it does is permanent." - Gandhi
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden