< prev index next >

src/java.desktop/share/classes/javax/swing/text/DateFormatter.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing.text;
  26 
  27 import java.awt.event.*;
  28 import java.text.*;
  29 import java.util.*;
  30 import javax.swing.*;
  31 import javax.swing.text.*;
  32 
  33 /**
  34  * DateFormatter is an <code>InternationalFormatter</code> that does its
  35  * formatting by way of an instance of <code>java.text.DateFormat</code>.
  36  * <p>
  37  * <strong>Warning:</strong>
  38  * Serialized objects of this class will not be compatible with
  39  * future Swing releases. The current serialization support is
  40  * appropriate for short term storage or RMI between applications running
  41  * the same version of Swing.  As of 1.4, support for long term storage
  42  * of all JavaBeans&trade;
  43  * has been added to the <code>java.beans</code> package.
  44  * Please see {@link java.beans.XMLEncoder}.
  45  *
  46  * @see java.text.DateFormat
  47  *
  48  * @since 1.4
  49  */
  50 @SuppressWarnings("serial") // Same-version serialization only
  51 public class DateFormatter extends InternationalFormatter {
  52     /**
  53      * This is shorthand for
  54      * <code>new DateFormatter(DateFormat.getDateInstance())</code>.
  55      */
  56     public DateFormatter() {
  57         this(DateFormat.getDateInstance());
  58     }
  59 
  60     /**
  61      * Returns a DateFormatter configured with the specified
  62      * <code>Format</code> instance.




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing.text;
  26 
  27 import java.awt.event.*;
  28 import java.text.*;
  29 import java.util.*;
  30 import javax.swing.*;
  31 import javax.swing.text.*;
  32 
  33 /**
  34  * DateFormatter is an <code>InternationalFormatter</code> that does its
  35  * formatting by way of an instance of <code>java.text.DateFormat</code>.
  36  * <p>
  37  * <strong>Warning:</strong>
  38  * Serialized objects of this class will not be compatible with
  39  * future Swing releases. The current serialization support is
  40  * appropriate for short term storage or RMI between applications running
  41  * the same version of Swing.  As of 1.4, support for long term storage
  42  * of all JavaBeans
  43  * has been added to the <code>java.beans</code> package.
  44  * Please see {@link java.beans.XMLEncoder}.
  45  *
  46  * @see java.text.DateFormat
  47  *
  48  * @since 1.4
  49  */
  50 @SuppressWarnings("serial") // Same-version serialization only
  51 public class DateFormatter extends InternationalFormatter {
  52     /**
  53      * This is shorthand for
  54      * <code>new DateFormatter(DateFormat.getDateInstance())</code>.
  55      */
  56     public DateFormatter() {
  57         this(DateFormat.getDateInstance());
  58     }
  59 
  60     /**
  61      * Returns a DateFormatter configured with the specified
  62      * <code>Format</code> instance.


< prev index next >