com.liferay.portal.util
Class DateFormatFactoryImpl

java.lang.Object
  extended by com.liferay.portal.util.DateFormatFactoryImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.DateFormatFactory

public class DateFormatFactoryImpl
extends java.lang.Object
implements com.liferay.portal.kernel.util.DateFormatFactory

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
DateFormatFactoryImpl()
           
 
Method Summary
 java.text.DateFormat getDate(java.util.Locale locale)
           
 java.text.DateFormat getDate(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.DateFormat getDate(java.util.TimeZone timeZone)
           
 java.text.DateFormat getDateTime(java.util.Locale locale)
           
 java.text.DateFormat getDateTime(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.DateFormat getDateTime(java.util.TimeZone timeZone)
           
 java.text.DateFormat getSimpleDateFormat(java.lang.String pattern)
           
 java.text.DateFormat getSimpleDateFormat(java.lang.String pattern, java.util.Locale locale)
           
 java.text.DateFormat getSimpleDateFormat(java.lang.String pattern, java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.DateFormat getSimpleDateFormat(java.lang.String pattern, java.util.TimeZone timeZone)
           
 java.text.DateFormat getTime(java.util.Locale locale)
           
 java.text.DateFormat getTime(java.util.Locale locale, java.util.TimeZone timeZone)
           
 java.text.DateFormat 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

DateFormatFactoryImpl

public DateFormatFactoryImpl()
Method Detail

getDate

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

getDate

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

getDate

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

getDateTime

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

getDateTime

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

getDateTime

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

getSimpleDateFormat

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

getSimpleDateFormat

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

getSimpleDateFormat

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

getSimpleDateFormat

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

getTime

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

getTime

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

getTime

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