< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/DateTimeAtProcessing.java

Print this page

        

@@ -43,11 +43,11 @@
  * java.util.Calendar Calendar} object and set it to the {@link java.util.Date
  * Date} from the DateTimeAtProcessing attribute.
  * <P>
  * <B>IPP Compatibility:</B> The information needed to construct an IPP
  * "date-time-at-processing" attribute can be obtained as described above. The
- * category name returned by <CODE>getName()</CODE> gives the IPP attribute
+ * category name returned by {@code getName()} gives the IPP attribute
  * name.
  *
  * @author  Alan Kaminsky
  */
 public final class DateTimeAtProcessing extends DateTimeSyntax

@@ -60,11 +60,11 @@
      * java.util.Date Date} value.
      *
      * @param  dateTime  {@link java.util.Date Date} value.
      *
      * @exception  NullPointerException
-     *     (unchecked exception) Thrown if <CODE>dateTime</CODE> is null.
+     *     (unchecked exception) Thrown if {@code dateTime} is null.
      */
     public DateTimeAtProcessing(Date dateTime) {
         super (dateTime);
     }
 

@@ -72,22 +72,22 @@
      * Returns whether this date-time at processing attribute is equivalent to
      * the passed in object. To be equivalent, all of the following conditions
      * must be true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class DateTimeAtProcessing.
+     * {@code object} is an instance of class DateTimeAtProcessing.
      * <LI>
      * This date-time at processing attribute's {@link java.util.Date Date}
-     * value and <CODE>object</CODE>'s {@link java.util.Date Date} value
+     * value and {@code object}'s {@link java.util.Date Date} value
      * are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this date-time
+     * @return  True if {@code object} is equivalent to this date-time
      *          at processing attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return(super.equals (object) &&
                object instanceof DateTimeAtProcessing);

@@ -110,11 +110,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class DateTimeAtProcessing, the category name is
-     * <CODE>"date-time-at-processing"</CODE>.
+     * {@code "date-time-at-processing"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "date-time-at-processing";
< prev index next >