> ((Calendar.dwim_day("20090501")+1)+1);
(1) Result: Day(Sat 2 May 2009)
> object ob=Calendar.dwim_day("20090501")+1;
> ob;
(2) Result: Day(Sat 2 May 2009)
> ob+1;
(3) Result: Day(Sun 3 May 2009)
Pike v7.8 release 316 Copyright © 1994-2008 Linköping University
Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are
welcome to redistribute it under certain conditions; read the files
COPYING and COPYRIGHT in the Pike distribution for more details.
Linux dblog 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30 EST 2008 x86_64 x86_64
x86_64 GNU/Linux
Xuesong Guo
|