SE450: Methods of the Date class [4/57] |
boolean after(Date other) |
Tests if this date is after the specified date |
boolean before(Date other) | Tests if this date is before the specified date |
int compareTo(Date other) |
TellsĀ which date came before the other |
long getTime() |
Returns milliseconds since the epoch (1970-01-01 00:00:00 GMT) |
void setTime(long n) |
Sets the date to the given number of
milliseconds since the epoch |