public final class RFC3339DateUtils
extends Object
Utility class for parsing RFC 3339 dates and times formats.
-
Method Summary
Parses a IETF RFC 3339 date String
Parses a IETF RFC 3339 date-time String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getDate
Parses a IETF RFC 3339 date String
- Parameters:
dateString
- String
in the RFC 3339 format to parse
- Returns:
Date
-
getDateTime
public static Date getDateTime(String dateTimeString)
Parses a IETF RFC 3339 date-time String
- Parameters:
dateTimeString
- String
in the RFC 3339 format to parse
- Returns:
Date