• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TimeZone DST support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TimeZone DST support


  • Subject: Re: TimeZone DST support
  • From: Roland King <email@hidden>
  • Date: Fri, 24 Jun 2011 23:22:16 +0800

I don't see an API which will do this. Can I ask you why do you need to know? DST changes from place to place and from year to year, it's not inconceivable that a location which never had DST before suddenly decides as of year XXXX that it will start doing so. I would expect the current APIs which tell you if a certain date has DST is about the best you can really do. If you like, every location potentially has DST, only if you give a certain date, or time, can you say if DST applies to that particular date or time. Observing DST is not really a property of the location.


On 24-Jun-2011, at 6:20 PM, Appa Rao Mulpuri wrote:

> Is there any way to get particular time Zone supports Day Light saving(DST)
> or not. For example, if you take Asia/Kolkata, no DST in any year and for
> America/Chicago, DST is YES.
>
> I saw following APIs in NSTimeZone, but it is considering the Date and
> returns that date is in DST or not.
>
> – isDaylightSavingTime
> – isDaylightSavingTimeForDate:
>
> Apparao
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >TimeZone DST support (From: Appa Rao Mulpuri <email@hidden>)

  • Prev by Date: Custom NSCell and Bindings
  • Next by Date: Re: tooltips not firing on first try
  • Previous by thread: TimeZone DST support
  • Next by thread: Custom NSCell and Bindings
  • Index(es):
    • Date
    • Thread