org.hudsonci.utils.common
Class Iso8601Date

java.lang.Object
  extended by org.hudsonci.utils.common.Iso8601Date

public class Iso8601Date
extends Object

Helper for working with ISO 8601 dates.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
static org.apache.commons.lang3.time.FastDateFormat FORMAT
           
static String PATTERN
           
 
Constructor Summary
Iso8601Date()
           
 
Method Summary
static String format(Date date)
           
static Date parse(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATTERN

public static final String PATTERN
See Also:
Constant Field Values

FORMAT

public static final org.apache.commons.lang3.time.FastDateFormat FORMAT
Constructor Detail

Iso8601Date

public Iso8601Date()
Method Detail

parse

public static Date parse(String value)
                  throws ParseException
Throws:
ParseException

format

public static String format(Date date)


Copyright © 2004-2011 Hudson. All Rights Reserved.