> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] [...] > + 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
