org.productivity.java.syslog4j.util
Class RFC3339TimestampUtility
java.lang.Object
org.productivity.java.syslog4j.util.RFC3339TimestampUtility
public final class RFC3339TimestampUtility
- extends java.lang.Object
ISO3339TimestampUtility is adapted from code provided at:
http://hatori42.com/RFC3339Date.txt
As requested, the developers notes are provided as a comment at
the end of this class.
Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy
of the LGPL license is available in the META-INF folder in all
distributions of Syslog4j and in the base directory of the "doc" ZIP.
- Version:
- $Id: RFC3339TimestampUtility.java,v 1.2 2010/02/04 03:52:06 cvs Exp $
- Author:
- <syslog4j@productivity.org>
Method Summary |
static java.util.Date |
parse(java.lang.String _datestring)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIMPLEDATE_FORMAT_1
protected static final java.lang.String SIMPLEDATE_FORMAT_1
- See Also:
- Constant Field Values
SIMPLEDATE_FORMAT_2
protected static final java.lang.String SIMPLEDATE_FORMAT_2
- See Also:
- Constant Field Values
SIMPLEDATE_FORMAT_3
protected static final java.lang.String SIMPLEDATE_FORMAT_3
- See Also:
- Constant Field Values
SIMPLEDATE_FORMAT_4
protected static final java.lang.String SIMPLEDATE_FORMAT_4
- See Also:
- Constant Field Values
RFC3339TimestampUtility
public RFC3339TimestampUtility()
parse
public static java.util.Date parse(java.lang.String _datestring)
throws java.text.ParseException,
java.lang.IndexOutOfBoundsException
- Throws:
java.text.ParseException
java.lang.IndexOutOfBoundsException