org.apache.myfaces.dateformat
Class DateFormatSymbols

java.lang.Object
  extended by org.apache.myfaces.dateformat.DateFormatSymbols

public class DateFormatSymbols
extends Object

A simple class that contains locale-specific constants used for date parsing and formatting.

An instance of this can be created, and the symbols modified before passing it to a SimpleDateFormatter. This allows date formatting and parsing to be localised.

The standard Java DateFormatSymbols class could be used directly by SimpleDateFormatter, making this class unnecessary. However javascript does not have an equivalent class built-in, so to keep symmetry between the java and javascript versions we have one here too.

Since:
1.1.7

Constructor Summary
DateFormatSymbols()
           
DateFormatSymbols(Locale l)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormatSymbols

public DateFormatSymbols()

DateFormatSymbols

public DateFormatSymbols(Locale l)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.