org.sakaiproject.tool.assessment.qti.util
Class Iso8601DateFormat

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.qti.util.Iso8601DateFormat

public class Iso8601DateFormat
extends Object

Based on ISO8601 Specification.

Version:
$Id: Iso8601DateFormat.java 1714 2005-09-14 22:19:11Z esmiley@stanford.edu $
Author:
Lance Speelmon

Field Summary
static String BASIC_FORMAT
           
 
Constructor Summary
Iso8601DateFormat()
          Creates a new Iso8601DateFormat object.
Iso8601DateFormat(String simpleDateFormatPattern)
          DOCUMENT ME!
 
Method Summary
 String format(Date date)
          DOCUMENTATION PENDING
 Calendar parse(String iso8601String)
          DOCUMENTATION PENDING
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASIC_FORMAT

public static final String BASIC_FORMAT
See Also:
Constant Field Values
Constructor Detail

Iso8601DateFormat

public Iso8601DateFormat()
Creates a new Iso8601DateFormat object.


Iso8601DateFormat

public Iso8601DateFormat(String simpleDateFormatPattern)
DOCUMENT ME!

Parameters:
simpleDateFormatPattern -
See Also:
SimpleDateFormat
Method Detail

format

public String format(Date date)
DOCUMENTATION PENDING

Parameters:
date - DOCUMENTATION PENDING
Returns:
DOCUMENTATION PENDING

parse

public Calendar parse(String iso8601String)
               throws Iso8601FormatException
DOCUMENTATION PENDING

Parameters:
iso8601String - DOCUMENTATION PENDING
Returns:
DOCUMENTATION PENDING
Throws:
Iso8601FormatException - DOCUMENTATION PENDING