Package org.openxava.formatters
Class DateTimeBaseFormatter
- java.lang.Object
-
- org.openxava.formatters.DateTimeBaseFormatter
-
- Direct Known Subclasses:
DateTimeCombinedFormatter
,DateTimeSeparatedFormatter
,LocalDateTimeFormatter
public abstract class DateTimeBaseFormatter extends java.lang.Object
Common code for DateTime formatters.- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description DateTimeBaseFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getDateTimeSeparator()
protected java.text.DateFormat[]
getExtendedDateTimeFormats()
protected boolean
isDashFormat()
protected boolean
isDotFormat()
protected boolean
isExtendedFormat()
protected boolean
isZhFormat()
protected boolean
isZhFormatAndJavaIs21orBetter()
protected boolean
isZhFormatAndJavaLessThan9()
-
-
-
Method Detail
-
getExtendedDateTimeFormats
protected java.text.DateFormat[] getExtendedDateTimeFormats()
-
isExtendedFormat
protected boolean isExtendedFormat()
-
isDashFormat
protected boolean isDashFormat()
-
isZhFormatAndJavaLessThan9
protected boolean isZhFormatAndJavaLessThan9()
-
isZhFormatAndJavaIs21orBetter
protected boolean isZhFormatAndJavaIs21orBetter()
-
isZhFormat
protected boolean isZhFormat()
-
isDotFormat
protected boolean isDotFormat()
-
getDateTimeSeparator
protected java.lang.String getDateTimeSeparator()
-
-