Class DateFormatUtils
java.lang.Object
org.apache.myfaces.tobago.internal.util.DateFormatUtils
This code is taken from myfaces core.
TODO: Should be sharable (e.g. myfaces-commons).
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
findPattern
(javax.faces.convert.DateTimeConverter converter) Find a pattern for the converter.
-
Method Details
-
findPattern
Find a pattern for the converter. Returns the pattern inside the converter, if any. Otherwise compute the pattern.- Returns:
- the patter or null, if DateFormat.getDateInstance() returns no SimpleDateFormat.
-