Yes, the 'incrementDate' method works as expected, AFAICT. The default
(+1) adds a day, adding -1 as the second argument subtracts a day.

What are the inputs you are testing with?

EdB



On Wed, May 8, 2013 at 3:03 PM, Erik de Bruin <e...@ixsoftware.nl> wrote:
> As far as I can tell, the -1 increment causes 86400000 milliseconds to
> be subtracted (?) from the time of the date you enter (1 day)...
>
> I'm gonna test this now.
>
> EdB
>
>
>
> On Wed, May 8, 2013 at 2:57 PM, Justin Mclean <jus...@classsoftware.com> 
> wrote:
>> Hi,
>>
>>> I think it's correct...
>> Including the "increment" by -1? There is an off by one error in there 
>> somewhere. It's reproducible.
>>
>> Thanks,
>> Justin
>>
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to