AntTimestamppublic class AntTimestamp extends Object implements RemoteTimestampThis class imports a dependency on the Ant runtime classes,
so tests that classpath setup include them |
Methods Summary |
---|
public long | when()return the phase of the moon.
Note the completely different semantics of the other implementation,
which goes to show why signature is an inadequate way of verifying
how well an interface is implemented.
Calendar cal=Calendar.getInstance();
return DateUtils.getPhaseOfMoon(cal);
|
|