[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] NSDateComponents 10.7 update
From: |
Luboš Doležel |
Subject: |
Re: [PATCH] NSDateComponents 10.7 update |
Date: |
Wed, 20 Mar 2013 16:08:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
On 03/20/2013 08:18 AM, Richard Frith-Macdonald wrote:
Thanks ... I'll update the version macros in the header.
Please could you resubmit the patch for the new methods with
regression tests to demonstrate their function (and comments in the
header to document what they should do).
Here's an updated patch. I think the documentation is now even slightly
better than what Apple has :-)
I've also created a test file. It checks for a corner case (2012-12-31
is special when it comes to week and year numbers).
It also helped me find a pre-existing bug in NSCalendar in month number
handling.
--
Luboš Doležel
NSCalendar_10.7.patch
Description: Text Data
features-10-7.m
Description: Text document