magoffin.matt.ma2.util
Class BizContextSimpleThreadSafeDateFormat

java.lang.Object
  extended by magoffin.matt.util.SimpleThreadSafeDateFormat
      extended by magoffin.matt.ma2.util.BizContextSimpleThreadSafeDateFormat
All Implemented Interfaces:
magoffin.matt.util.ThreadSafeDateFormat

public class BizContextSimpleThreadSafeDateFormat
extends magoffin.matt.util.SimpleThreadSafeDateFormat

Extension of SimpleThreadSafeDateFormat which uses BizContext instances to determine which TimeZone to format dates as.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Field Summary
 
Fields inherited from class magoffin.matt.util.SimpleThreadSafeDateFormat
DEFAULT_DATE_PATTERN
 
Constructor Summary
BizContextSimpleThreadSafeDateFormat(java.lang.String datePattern)
           
 
Method Summary
 java.lang.String format(java.util.Calendar date)
           
 
Methods inherited from class magoffin.matt.util.SimpleThreadSafeDateFormat
format, format, format, getCalendarInstance, getDatePattern, getPattern, getTimeZone, parseCalendar, parseCalendar, parseDate, setDatePattern, setTimeZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BizContextSimpleThreadSafeDateFormat

public BizContextSimpleThreadSafeDateFormat(java.lang.String datePattern)
Parameters:
datePattern -
Method Detail

format

public java.lang.String format(java.util.Calendar date)
Specified by:
format in interface magoffin.matt.util.ThreadSafeDateFormat
Overrides:
format in class magoffin.matt.util.SimpleThreadSafeDateFormat