|
Java™ by example!
|
|
|
How do I compare whether a date comes before or after a certain other date?
The Date class has two useful methods for this: before and after. Main.java:
outputs:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|