• 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: Week of month confusion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Week of month confusion?


  • Subject: Re: Week of month confusion?
  • From: Izak van Langevelde <email@hidden>
  • Date: Tue, 19 Mar 2013 16:06:58 +0100

On 2013-03-19, at 3:59 PM, Kyle Sluder wrote:

> On Mar 19, 2013, at 6:21 AM, Izak van Langevelde <email@hidden> wrote:
>
>> I'm working on a small week-based calendar, but for some reason, the week number within the month of the first day of the month is either 0 or 1, while I would expect it to be 1.
>
> Haven't confirmed it for all the values you've shown, but I believe it is returning 0 in instances where the week in which the date falls has fewer than the calendar's minimumDaysInFirstWeek in the specified month.
>

Hmmm, I thought this was only relevant around the start of the year.
I will play a little more with this...

Thanks,
Izak

---
Grinnikend door het leven...


_______________________________________________

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: 
 >Week of month confusion? (From: Izak van Langevelde <email@hidden>)
 >Re: Week of month confusion? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Week of month confusion?
  • Next by Date: Re: Week of month confusion?
  • Previous by thread: Re: Week of month confusion?
  • Next by thread: Re: Week of month confusion?
  • Index(es):
    • Date
    • Thread