org.sonatype.sisu.jacksbee.runtime
Class Iso8601Date

java.lang.Object
  extended by org.sonatype.sisu.jacksbee.runtime.Iso8601Date

public class Iso8601Date
extends Object

Helper for working with ISO 8601 dates.

Since:
1.0

Field Summary
static SimpleDateFormat 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 SimpleDateFormat 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 © 2008-2012 Sonatype, Inc.. All Rights Reserved.