ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <stephane.baill...@haht.com>
Subject RE: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/ut il DateUtilsTest.java
Date Tue, 19 Feb 2002 08:52:45 GMT
> -----Original Message-----
> From: bodewig@apache.org [mailto:bodewig@apache.org]
[...]
>   +        log("Be aware that the effect of using the file 
> attribute depends on",
>                Project.MSG_ERR);
>   +        log("the phase of the moon.", Project.MSG_WARN);
>   +        int phase = 
> DateUtils.getPhaseOfMoon(Calendar.getInstance());
>   +        if (phase == 4) {
>   +            log("You are lucky!  Full moon tonight.");
>   +        } else if (phase == 0) {
>   +            log("Be careful!  New moon tonight.", 
> Project.MSG_WARN);
>   +        }
>   +        

LOL ! :)
I looked first at DateUtils (in all my guiltiness I thought that once again
I let you the honor of fixing my bugs) and thought 'what the hell is he
using this method for ?' :)

Stephane

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message