public abstract class RFC3339Date extends Object
Provides parsing and formatting of dates according to RFC 3339 (ISO 8601) and RFC 4287 Atom specifications. Supports multiple date formats including timezone handling and millisecond precision.
Adapted from RFC822Date with enhanced support for modern date formats and timezone specifications. Handles both numeric and named timezone offsets with proper validation.
Thread-safe implementation with synchronized methods for concurrent access. Includes comprehensive format support for various date representations encountered in news feeds.
| Constructor and Description |
|---|
RFC3339Date() |
| Modifier and Type | Method and Description |
|---|---|
static long |
parse3339Date(String s)
Parse the date
|
static String |
to3339Date(long t)
Format is "yyyy-MM-ddTHH:mm:ssZ"
|