This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
You can create a DateFormat object with a pattern that matches your string and use that to parse the two date strings into two Date objects, then use compareTo or equals on the two Dates. See if the JavaDoc for those classes is enough to get you going.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi