com.liferay.portal.util
Class FastDateFormatFactoryImpl

java.lang.Object
  extended by com.liferay.portal.util.FastDateFormatFactoryImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.FastDateFormatFactory

public class FastDateFormatFactoryImpl
extends java.lang.Object
implements com.liferay.portal.kernel.util.FastDateFormatFactory

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
FastDateFormatFactoryImpl()
           
 
Method Summary
 java.text.Format getDate(java.util.Locale locale)
           
 java.text.Format getDate(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.Format getDate(java.util.TimeZone timeZone)
           
 java.text.Format getDateTime(java.util.Locale locale)
           
 java.text.Format getDateTime(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.Format getDateTime(java.util.TimeZone timeZone)
           
protected  java.lang.String getKey(java.util.Locale locale, java.util.TimeZone timeZone)
           
protected  java.lang.String getKey(java.lang.String pattern, java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.Format getSimpleDateFormat(java.lang.String pattern)
           
 java.text.Format getSimpleDateFormat(java.lang.String pattern, java.util.Locale locale)
           
 java.text.Format getSimpleDateFormat(java.lang.String pattern, java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.Format getSimpleDateFormat(java.lang.String pattern, java.util.TimeZone timeZone)
           
 java.text.Format getTime(java.util.Locale locale)
           
 java.text.Format getTime(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.Format getTime(java.util.TimeZone timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastDateFormatFactoryImpl

public FastDateFormatFactoryImpl()
Method Detail

getDate

public java.text.Format getDate(java.util.Locale locale)
Specified by:
getDate in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getDate

public java.text.Format getDate(java.util.Locale locale,
                                java.util.TimeZone timeZone)
Specified by:
getDate in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getDate

public java.text.Format getDate(java.util.TimeZone timeZone)
Specified by:
getDate in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getDateTime

public java.text.Format getDateTime(java.util.Locale locale)
Specified by:
getDateTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getDateTime

public java.text.Format getDateTime(java.util.Locale locale,
                                    java.util.TimeZone timeZone)
Specified by:
getDateTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getDateTime

public java.text.Format getDateTime(java.util.TimeZone timeZone)
Specified by:
getDateTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getSimpleDateFormat

public java.text.Format getSimpleDateFormat(java.lang.String pattern)
Specified by:
getSimpleDateFormat in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getSimpleDateFormat

public java.text.Format getSimpleDateFormat(java.lang.String pattern,
                                            java.util.Locale locale)
Specified by:
getSimpleDateFormat in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getSimpleDateFormat

public java.text.Format getSimpleDateFormat(java.lang.String pattern,
                                            java.util.Locale locale,
                                            java.util.TimeZone timeZone)
Specified by:
getSimpleDateFormat in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getSimpleDateFormat

public java.text.Format getSimpleDateFormat(java.lang.String pattern,
                                            java.util.TimeZone timeZone)
Specified by:
getSimpleDateFormat in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getTime

public java.text.Format getTime(java.util.Locale locale)
Specified by:
getTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getTime

public java.text.Format getTime(java.util.Locale locale,
                                java.util.TimeZone timeZone)
Specified by:
getTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getTime

public java.text.Format getTime(java.util.TimeZone timeZone)
Specified by:
getTime in interface com.liferay.portal.kernel.util.FastDateFormatFactory

getKey

protected java.lang.String getKey(java.util.Locale locale,
                                  java.util.TimeZone timeZone)

getKey

protected java.lang.String getKey(java.lang.String pattern,
                                  java.util.Locale locale,
                                  java.util.TimeZone timeZone)